headings & nav

Discussion in 'CSS' started by Ruriko, Jun 22, 2008.

  1. #1
    This is my layout http://tinyurl.com/67s4dz
    In IE the left side headings are centered I want to make it align on left. I tried putting text-align:left but that didn't work. How can I fix this?

    In IE6 the navigation bar is bigger than the original height I set to. How to fix this?
     
    Ruriko, Jun 22, 2008 IP
  2. modern_mozart101

    modern_mozart101 Peon

    Messages:
    105
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    If the alignment isn't working then try altering the css styles of different tags. If the worst comes to the worst you could always edit the html.
     
    modern_mozart101, Jun 25, 2008 IP
  3. sitehost

    sitehost Peon

    Messages:
    12
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    The heading (h2) tags in the sidebar are wrapped inside <li> and</li> tags. If there isn't some reason you need an individual heading wrapped in a list tag, the easiest fix would be to remove them.

    Change from
    <li><h2>whatever sidebar heading</h2></li>
    to
    <h2>whatever sidebar heading </h2>
    and the left align will work
     
    sitehost, Jun 26, 2008 IP