1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

How do I center my website?

Discussion in 'CSS' started by mark_s, Dec 19, 2008.

  1. katendarcy

    katendarcy Peon

    Messages:
    115
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #21
    The 5px difference is being caused by the borders on "#wrapper_parent" and "#banner". The border is adding another 10px to the width. You could either leave the fix as is, or re-arrange your widths/and or where the borders are placed. Hope that helps! : )

    Also, in all due respect to those that have suggested using the center tag, it really shouldn't be used. Check out this link:
    w3schools.com
     
    katendarcy, Dec 20, 2008 IP
  2. mark_s

    mark_s Peon

    Messages:
    497
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #22
    Thanks for the info, sounds to me like the hotfix is my only way if I want to keep my thick borders.

    I've now made the changes live on my website: http://www.murraysworld.com/ :)
     
    mark_s, Dec 20, 2008 IP