SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    Non-Member
    Join Date
    May 2006
    Posts
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Matter of life and death!

    Maybe not...

    But I can't seem to get THIS in the centre!

    It always seems to be about 100 pixels left of where it should be? For example if i select align 'centre' it will be 100 pixels to the left, if I select align right, again it will be 100 pixels left of 'completely right' wheras if I align left, it's fine... any suggestions? It's like there is an invisible cell preventing me from aligning

  2. #2
    SitePoint Addict CommanderZ's Avatar
    Join Date
    Apr 2006
    Location
    Czech Republic
    Posts
    236
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    In FF is it ok.

    For IE try to use this style:

    Code:
    margin-left:auto;
    margin-right:auto;
    instead of align=center

  3. #3
    SitePoint Zealot
    Join Date
    Jun 2006
    Location
    London, UK
    Posts
    154
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Just try;

    margin:auto


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
  •