PDA

View Full Version : php include


whl626
12-03-2005, 08:37/08:37AM
Can someone tell me why the outcome of my php include is different from the index page and all sub pages ?

www.medical-explorer.com

The illnesses link for the index page is on a single line whereas it is pushed to the second line before it ends on the right edge of the screen ?

chrishirst
12-03-2005, 09:02/09:02AM
could be this for a start

</head>

<body bgcolor="#FFFFFF">

<body bgcolor="#FFFFFF">

there is invalid tag nesting in the navigation code as well.

whl626
12-03-2005, 09:11/09:11AM
I have deleted one bgcolor, but it remains the same ???

chrishirst
12-03-2005, 09:49/09:49AM
looks ok for me. have you refreshed and/or cleared your cache?

whl626
12-03-2005, 23:56/11:56PM
Originally posted by chrishirst
looks ok for me. have you refreshed and/or cleared your cache?

I pressed Control F5 several times to clear the cache. But it remains the same.

This is viewed with Firefox.

whl626
13-03-2005, 00:01/12:01AM
This is viewed with IE6

Dave Hawley
13-03-2005, 00:53/12:53AM
FireFox=White and IE=White

chrishirst
13-03-2005, 04:24/04:24AM
somewhere in that collection of nested tables there is something messed up, because the navigation cell is only taking up half the width. If you put the borders to 1 on your tables will help with debugging.

Why you are using such a mass of nested tables for what would be a very simple layout in CSS is a little confusing.

whl626
13-03-2005, 09:43/09:43AM
I haven't done a single CSS so far. And afraid of doing my own coding.

I think table inside a table is a bit complicated to do. Any hint on how to go about it ?