Jump to content

[SOLVED] General Fire Fox Question


Ninjakreborn

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.