HighDots Forums  

New layout issues...

Website Design comp.infosystems.www.authoring.site-design


Discuss New layout issues... in the Website Design forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
TomB
 
Posts: n/a

Default New layout issues... - 10-22-2005 , 09:29 AM






Hello,

Have been experimenting a bit with layout and stumbled upon the following:

I defined a box for my menu and positioned it absolutely. Then I defined
a box for the content which is positioned next to the menubox. It works
fine in Firefox, but IE places the menubox inside the contentbox for
some reason. Why is this?

Oh yeah: I know most pages look pretty screwed up. Just look at the bio
and news pages for now... Shows and guestbook should work too.

URL is still http://dusk-metal.kicks-ass.org/site/ (which is my testing
homeserver).

Reply With Quote
  #2  
Old   
Gus Richter
 
Posts: n/a

Default Re: New layout issues... - 10-22-2005 , 12:12 PM






TomB wrote:
Quote:
Hello,

Have been experimenting a bit with layout and stumbled upon the following:

I defined a box for my menu and positioned it absolutely. Then I defined
a box for the content which is positioned next to the menubox. It works
fine in Firefox, but IE places the menubox inside the contentbox for
some reason. Why is this?

Oh yeah: I know most pages look pretty screwed up. Just look at the bio
and news pages for now... Shows and guestbook should work too.

URL is still http://dusk-metal.kicks-ass.org/site/ (which is my testing
homeserver).
Firefox applies the Box Model according to the W3C Standards.
Box Width (W3C) = border+padding+width+padding+border
1px + 1% +175px+ 1% + 1px = (177px+2%)
box width

IE in Quirks Mode misinterprets the box model by placing border and
padding inside the specified width.
IE Box Width (Quirks) = width-border-padding-padding-border
175px- 1px - 1% - 1% - 1px = (173px-2%)
box width

You're asking IE to place an image width of 175px into (173px-2%)
available box width, which is causing havoc.

All new authored pages should be using the Strict Doctype. Change it to
Strict and the page should also be ok for IE6 regarding the position of
the menubox. (Not so for IE 5.5 which is always in Quirks Mode.)

--
Gus


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.