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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.