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 3 of 3
  1. #1
    Senior Coder
    Join Date
    May 2006
    Posts
    1,673
    Thanks
    28
    Thanked 4 Times in 4 Posts

    A rogue line break has appeared ??

    Hi,

    I have looked and looked and can not see where this extra
    line insertion is coming from

    There is a gap between the top of the page and the header image.

    http://mobi6.net/chrisgaynor/

    Now as far as I can see I am using exactly the same code to generate the
    other pages on the menu bar, but they don't have this space between the
    top of the page and the header image, eg

    http://mobi6.net/chrisgaynor/about.php


    Can anyone see where this spurious gap is coming from ?


    thanks.


    .
    If you want to attract and keep more clients, then offer great customer support.

    Support-Focus.com. automates the process and gives you a trust seal to place on your website.
    I recommend that you at least take the 30 day free trial.

  • #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
    Quote Originally Posted by jeddi View Post
    Hi,

    I have looked and looked and can not see where this extra
    line insertion is coming from

    There is a gap between the top of the page and the header image.

    http://mobi6.net/chrisgaynor/

    Now as far as I can see I am using exactly the same code to generate the
    other pages on the menu bar, but they don't have this space between the
    top of the page and the header image, eg

    http://mobi6.net/chrisgaynor/about.php


    Can anyone see where this spurious gap is coming from ?


    thanks.


    .
    This seems a likely culprit to me:

    Code:
    <br><br><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    Sometimes it just takes another set of eyes!
    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
    May 2006
    Posts
    1,673
    Thanks
    28
    Thanked 4 Times in 4 Posts


    Don't know how I missed that

    Thanks



    .
    If you want to attract and keep more clients, then offer great customer support.

    Support-Focus.com. automates the process and gives you a trust seal to place on your website.
    I recommend that you at least take the 30 day free trial.


  •  

    Posting Permissions

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