Re: [css-d] Problems with IE doing centered layout
I'm not sure if IE will allow you to set a width on the body element. It's best to just make a container div to create that fixed width box, and I would think that would fix the problem. -Jade Rauenzahn On 5/17/06, Deprived One [EMAIL PROTECTED] wrote: I am trying to use css to do the layout on http://www.centralmiss.com/accesscontrolgroup/index.html and most everything seems correct in firefox, but IE is not creating the box I desire at all. __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] Problems with IE doing centered layout
I am trying to use css to do the layout on http://www.centralmiss.com/accesscontrolgroup/index.html and most everything seems correct in firefox, but IE is not creating the box I desire at all. Agreed - use a container div with a fixed width. Also, try and keep your css file naming convention to ***.css rather than ***.txt - makes it easier for people to identify it in the future. -- http://www.web-buddha.co.uk dynamic web programming from Reigate, Surrey UK (php, mysql, xhtml, css) look out for project karma, our new venture, coming soon! __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] Problems with IE doing centered layout
Thank you for the input. Changing it up to use a containing div seems to have taken care of the problem. Now to go poke around at the other little issues. Jay Jade Rauenzahn wrote: I'm not sure if IE will allow you to set a width on the body element. It's best to just make a container div to create that fixed width box, and I would think that would fix the problem. -Jade Rauenzahn On 5/17/06, Deprived One [EMAIL PROTECTED] wrote: I am trying to use css to do the layout on http://www.centralmiss.com/accesscontrolgroup/index.html and most everything seems correct in firefox, but IE is not creating the box I desire at all. __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] Problems with IE doing centered layout
Deprived One wrote: I am trying to use css to do the layout on http://www.centralmiss.com/accesscontrolgroup/index.html and most everything seems correct in firefox, but IE is not creating the box I desire at all. CSS can be found at http://www.centralmiss.com/accesscontrolgroup/style.css.txt Any help is greatly appreciated. Jay Drake Jay, it is not exactly clear to me about exactly what you are after. If your goal is to make it the same in IE6.0. FF1.5.2, and Opera9beta, then: 1/ Delete the stuff above the doctype, that is putting it in quirks mode. 2/ div.content { padding-top: 1px; add this to this selector } 3/ Validate the CSS. 4/ Make a back-up copy of your html file. Run it through TidyOnlinehttp://infohound.net/tidy/ to clean up the markup. 5/ Validate the markup. Lucky strike extras: 6/ Trim the page width so it will not draw a scroll bar at 800. 7/ Set the text and side nav flush left(text-aligh: left; 8/ Reset the fonts so that IE can scale them. This one method of doing so: body { font: 100%/1.2 sans-serif;} Delete the font-families you currently have on the selectors; Set the both navs to font-size: 95%; Set no font-size on the content-text(it will inherit default from the body) HTH, ~davidLaakso -- http://www.dlaakso.com/gustave/ __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/