Ninjakreborn Posted March 13, 2007 Share Posted March 13, 2007 I don't understand one thing. lately I take a page, I give it a background color (body). I then create a div, and center it. The full centering in all browsers is done with body { text-align:center; } #wrap { margin-left:auto; margin-right:auto; } ok, all of that is done. Awhile back I use to be able to get the upper part of the div, flush with the top of the browser. lately firefox hasn't been listening to me (I guess since I upgraded versions), is there a surefire way to get a center div, that is centered, to go flush with the top, a way that works effectively, and correctly in all browsers (I tried removing all padding, and margin from there. I want to do this "without" continuously having to use a border up there to get it to snap into place, any advice? Link to comment https://forums.phpfreaks.com/topic/42576-solved-general-fire-fox-question/ Share on other sites More sharing options...
Ninjakreborn Posted March 13, 2007 Author Share Posted March 13, 2007 Actually if I go to disable browser default styles, then it works fine. So there is some style firefox is applying to this, I am unsure of. If I can find out what that is, I can get it working properly. Any advice. Link to comment https://forums.phpfreaks.com/topic/42576-solved-general-fire-fox-question/#findComment-206609 Share on other sites More sharing options...
Ninjakreborn Posted March 13, 2007 Author Share Posted March 13, 2007 http://tantek.com/log/2004/undohtml.css nevermind, this fixed it. Link to comment https://forums.phpfreaks.com/topic/42576-solved-general-fire-fox-question/#findComment-206628 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.