Previous Message
Next Message

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

Sent by Melissa Brands on 14 September 2005 16:04


Well, after some more tinkering and after ripping out #logo, I've
tried this and it now works under all browsers!

#logo {
 float: left;
 padding-left: 32px;
 width: 200px;
} 

Looks like IE6 prefers as little code as possible!

Thanks all for the help (and especially Rob!)

Melissa

On 9/14/05, Melissa Brands [EMAIL-REMOVED]> wrote:
> On 9/13/05, Rob Cochrane [EMAIL-REMOVED]> wrote:
> > Ok The IE 6 is box model issues. There are many descriptions of the IE 6
> > box model issues and work arounds.
> 
> Rob,
> 
> I've managed to get it to properly work under every browser out there
> (including IE5.2 Mac) with the exception of IE6. Here is the code
> fragment in question:
> 
> #logo {
>         float: left;
>         width: 112px;
>         \width: 344px;
>         w\idth: 112px;
>         height: 126px;
>         margin: 0px;
>         margin-left: 32px;
>         margin-right: 200px; /* hack for IE 5.2 Mac */
>         padding: 0px;
> }
> 
> Under IE6, left margin is actually 64px (2x32px). I've tried sooo many
> ways of getting it to work with no success. Any ideas? Anyone?
> 
> Thanks!
> 
> Melissa
>
______________________________________________________________________
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: