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 2 of 2
  1. #1
    Regular Coder
    Join Date
    Jan 2005
    Posts
    189
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Includes and line-break problem

    Hey folks... I've got three includes at the top of my pages

    Code:
    <?php require_once('../include_header.php'); ?>
    <?php require_once('../nav/include-nav.php'); ?>
    <?php require_once('../include_search.php'); ?>
    The first include is an image within a table
    Second is a menu within <div> tags
    Third is another row of images in a table

    {=======header========}
    {+++++++navigation+++++}
    {----------search---------}

    Everything looks good in IE 6 (amazingly) but when I go to Safari and Firefox, the 2nd & 3rd includes are on the same line and the bottom scrollbar seems to go on horizontally forever:

    {=======header========}
    {+++++++navigation+++++}{----------search---------}

    If I add <br/> tags it drops the search down, but then there is a big gap in IE.
    Any ideas???

  • #2
    Master Coder
    Join Date
    Dec 2007
    Posts
    6,682
    Thanks
    436
    Thanked 890 Times in 879 Posts
    check your html, this is not a php problem. I suggest to validate html markup first.

    best regards


  •  

    Posting Permissions

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