Previous Message
Next Message

Is it possible to create this type of a layout with CSS?

Sent by Holly Bergevin on 14 September 2005 21:09

From: Melissa Brands [EMAIL-REMOVED]>


>#logo {
>	float: left;
>	width: 112px;
>	height: 126px;
>   background-color: #0099FF; 
>	margin: 0px; 
>	margin-left: 32px;
>	padding: 0px;

I realize you have solved your problem with this by using padding instead of margin. But "for the
record" what you encountered is the IE doubled float-margin bug [1], which effects floats with a
margin in the direction that they are floating. It can be solved by adding {display: inline;} to
your property declarations, and doing this does not cause any difficulties for current browsers.

Hope that helps,


css-discuss [EMAIL-REMOVED]]
List wiki/FAQ --
Supported by --
Previous Message
Next Message

Possibly related: