Simple HTML question

  1. #1
    steadboy is offline Newbie

    Simple HTML question

    I have a website, (http://www.discount-web-pages.com) and if you open it you'll notice the title isn't in line with the text, even though they're both centered . I can't do anything about it .


  2. #2
    Jaynee is offline Senior Member
    It is centred when viewing with firefox but not with IE.

  3. #3
    brain_damage is offline D-A-L Team Member (UK)
    It may be because your using frames

  4. #4
    steadboy is offline Newbie
    Quote Originally Posted by Jaynee
    It is centred when viewing with firefox but not with IE.
    Firefox ehh... sounds fishy.

    Can I do anything to center it with IE??

  5. #5
    D-A-L is online now D-A-L Administrator
    Yep my guess is because your using frames also, any specific reason for using frames?

  6. #6
    steadboy is offline Newbie
    Quote Originally Posted by D-A-L
    Yep my guess is because your using frames also, any specific reason for using frames?
    I guess so that it doesn't have to load the title pic every time you click to a new section . But I guess if there's nothing I can do about it i'll just remove the frame...

  7. #7
    achorste is offline Valued Member
    To save the amount of coding you have to do when using tables for layout, create a seperate file with the code for the title and navigation bar and use the 'include' tag - that way you only have to write the code for the main body of the page.

    Just a little time saver,

    T

    p.s. Frames disrupt navigation & not all search engine's spiders see the individual frames - just the frameset page, also problems with bookmarking.

  8. #8
    steadboy is offline Newbie
    Quote Originally Posted by achorste
    To save the amount of coding you have to do when using tables for layout, create a seperate file with the code for the title and navigation bar and use the 'include' tag - that way you only have to write the code for the main body of the page.

    Just a little time saver,

    T

    p.s. Frames disrupt navigation & not all search engine's spiders see the individual frames - just the frameset page, also problems with bookmarking.
    Word...

    My title still isn't centered though

  9. #9
    achorste is offline Valued Member
    Looked at the code - nothing should be wrong, but if you're still having issues try using the <p> tag around your text with 'align="center" ' as an attribute. Some browsers render <div> tags differently.

    Before you upload a site run it through a variety of browsers just to make sure.

    T

  10. #10
    brain_damage is offline D-A-L Team Member (UK)
    Tackle the Web with $5.99 .COM's from Go Daddy!
    or run it through here and have it validated

+ Reply to Thread
Page 1 of 2 1 2 LastLast