Go Back   CodingForums.com > :: Server side development > PHP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 03-09-2009, 05:54 PM   PM User | #1
a4udi
Regular Coder

 
Join Date: Jan 2005
Posts: 181
Thanks: 5
Thanked 0 Times in 0 Posts
a4udi is an unknown quantity at this point
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???
a4udi is offline   Reply With Quote
Old 03-09-2009, 05:59 PM   PM User | #2
oesxyl
Master Coder


 
Join Date: Dec 2007
Posts: 6,682
Thanks: 436
Thanked 890 Times in 879 Posts
oesxyl is a jewel in the roughoesxyl is a jewel in the roughoesxyl is a jewel in the rough
check your html, this is not a php problem. I suggest to validate html markup first.

best regards
oesxyl is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:37 AM.


Advertisement
Log in to turn off these ads.