Results 1 to 2 of 2

Thread: Need Help Centering my Header

  1. #1
    Join Date
    Mar 2007
    Posts
    24
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Need Help Centering my Header

    having trouble centering my header heres my code

    heres my site also (www.dealsneaker.com/index1.html)

    Code:
    <div align="center">
    <img src="pics/headera.png" width="900" border="0" usemap="#imap_9">
    <map id="imap_9" name="imap_9" >
      <area shape="rect" coords="453,72,514,102" alt="Home" title="Home" href="http://www.dealsneaker.com">
      <area shape="rect" coords="519,72,573,104" alt="Deals" title="Deals" href="http://www.dealsneaker.com">
      <area shape="rect" coords="582,72,657,106" alt="Coupons" title="Coupons" href="http://www.dealsneaker.com/coupons.html">
      <area shape="rect" coords="664,74,737,106" alt="Forums" title="Forums" href="http://www.dealsneaker.com/forums.html">
      <area shape="rect" coords="742,74,804,106" alt="Stores" title="Stores" href="http://www.dealsneaker.com/stores.html">
    </map>
    </div>
    thanks in advance
    Last edited by seattle-west; 08-05-2007 at 03:16 AM.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Don't do:

    Code:
    <div align="center">
    Use a valid DOCTYPE and give your element a specific width via style and:

    Code:
    margin:0 auto;
    - 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
  •