Previous Message
Next Message

Problem with Round Corners CSS Layout

Sent by Jono on 31 January 2005 22:10


Isn't it true that not all browsers have the same default font size of 
16px?  I am pretty sure that IE/Win is 16px, but I think remember 
reading that Mac browsers have a smaller default font size, 14px maybe?

If that is true, how will it affect the style below?

img
	{	
	height: 14.9em;	/* to go from pixels to em's, simply divide by 16 */
	width: 21.6em;	/* eg., a 240 pixel image becomes 15 em */
	}

Seeking more info...

On Jan 31, 2005, at 11:16 AM, tedd wrote:

>    http://www.webbytedd.com/text-zoom/
>
> The technique is simply to use em's instead of pixels and to make the 
> presentation within css. The above link explains it.
>
> If you're talking about tieing your images to the browser window size, 
> you might want to review:
>
>    http://www.webbytedd.com/wnd-zoom/
>
> If you have any questions, please ask.

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread:

Possibly related: