Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New to the CF scene
    Join Date
    Nov 2011
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    h2 tag not left aligned

    I am having problem getting my h2 tag left aligned like the paragraph text. I am trying to get this lined up for a meeting tomorrow and am completely stuck. Is it a css conflict? It looks perfect in firefox but not in IE.

    Can anyone help me and see where my conflict is?
    Thanks!

    http://site.habc.tenmast.com/PublicH...4/Default.aspx

  • #2
    Senior Coder Rowsdower!'s Avatar
    Join Date
    Oct 2008
    Location
    Some say it's everything.
    Posts
    2,027
    Thanks
    5
    Thanked 397 Times in 390 Posts
    There isn't an <h2> element anywhere in that document so far as I can see.

    What are you talking about?
    The object of opening the mind, as of opening the mouth, is to shut it again on something solid. –G.K. Chesterton
    See Mediocrity in its Infancy
    It's usually a good idea to start out with this at the VERY TOP of your CSS: * {border:0;margin:0;padding:0;}
    Seek and you shall find... basically:
    validate your markup | view your page cross-browser/cross-platform | free web tutorials | free hosting

  • #3
    Senior Coder
    Join Date
    Aug 2010
    Location
    High Point, NC
    Posts
    3,338
    Thanks
    5
    Thanked 363 Times in 360 Posts
    Quote Originally Posted by hobbyhtml View Post
    I am having problem getting my h2 tag left aligned like the paragraph text. I am trying to get this lined up for a meeting tomorrow and am completely stuck. Is it a css conflict? It looks perfect in firefox but not in IE.

    Can anyone help me and see where my conflict is?
    Thanks!

    http://site.habc.tenmast.com/PublicH...4/Default.aspx
    Nope as Rows said, there is no heading tags. What you do have though are quite a few coding validation errors which can be seen here.

    You should also know why tables for layouts are bad.
    Teed

  • #4
    Master Coder Excavator's Avatar
    Join Date
    Dec 2006
    Location
    Alaska
    Posts
    9,737
    Thanks
    22
    Thanked 1,835 Times in 1,819 Posts
    Rows, Teed, there is an H2 there now. Must have been working on it when you guys looked.


    Good morning hobbyhtml,
    You have quite a few errors that could be affecting your h2 in particular. Run the validator on your site and just start at the top of the list fixing whatever you can.
    See the links about validation in my signature line below. Post back if you have trouble with something.
    Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
    Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad

  • #5
    Senior Coder
    Join Date
    Aug 2010
    Location
    High Point, NC
    Posts
    3,338
    Thanks
    5
    Thanked 363 Times in 360 Posts
    Quote Originally Posted by Excavator View Post
    Rows, Teed, there is an H2 there now. Must have been working on it when you guys looked.


    Good morning hobbyhtml,
    You have quite a few errors that could be affecting your h2 in particular. Run the validator on your site and just start at the top of the list fixing whatever you can.
    See the links about validation in my signature line below. Post back if you have trouble with something.
    lol yeah he must have been. I looked through his entire page and didn't see one.

    And yes I found 74, I think, code errors. So yes that could be part of your problem.
    Teed


  •  

    Tags for this Thread

    Posting Permissions

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