Results 1 to 2 of 2

Thread: IE not centering...

  1. #1
    Join Date
    Jul 2006
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default IE not centering...

    IE sucks...
    Last edited by trs; 07-18-2006 at 10:27 PM.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    29,074
    Thanks
    44
    Thanked 3,216 Times in 3,178 Posts
    Blog Entries
    12

    Default

    IE is fine if you know how to code for it, even better if you know how to code for other browsers and have your code also work in IE. Often times, all that is required for IE to follow some of the same conventions as other browsers is to use a loose (or any) DTD. Where centering is at issue, there can be some odd behaviors. Best to apply centering as deep within the document as possible (just on the element needed, not on elements above it), use a width along with margin:0 auto; or resort to text-align:center; but, avoid redundant centering techniques.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •