Posted by Martin Jay on 06/20/06 14:01
In message <v_CdnZ8n7_7xBwjZ4p2dnA@telenor.com>, Jeff
<it_consultant1@hotmail.com.NOSPAM> writes
>I'm creating a web page. I created the web page using a table ( the left
>column is for a menu, right column is for ad, the centre column is for site
>content)... The left and right column's width is set to be 200px... Before I
>added the <ul> block into the web page this really worked -> the left and
>right column's width was 200px when I tested it.. so far everything works...
>
>But my problem starts after I added the <ul> block. Now the left and right
>column take up almost the entire width of the table, the centre column
>becomes a little block in the centre of the table.
>
>I want to use this <ul> block and the width of left/right column to be
>200px...
>
>What am I doing wrong here?
>
>Here is my code (the files are separated with "***************"):
>index.php
><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
>"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
><html xmlns="http://www.w3.org/1999/xhtml">
><head>
><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
It works with an HTML 4.01 strict doctype, such as:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
But it would probably break in IE versions prior to 6.
I wouldn't bother with XHTML. Stick with HTML 4.01.
--
Martin Jay
Phone/SMS: +44 7740 191877
Fax: +44 870 915 2124
[Back to original message]
|