15 Dec 2006 at 00:18 #1 Chiz Chiz Soldato Joined 2 Nov 2002 Posts 3,304 Location Aberdeen my code is Code: <td class="one" rowspan="2" height="485" width="15">1</td> and for some reason it's not coming up as valid xhtml.. any ideas? I'm being told, the height and width isn't valid? Last edited: 15 Dec 2006
my code is Code: <td class="one" rowspan="2" height="485" width="15">1</td> and for some reason it's not coming up as valid xhtml.. any ideas? I'm being told, the height and width isn't valid?
15 Dec 2006 at 00:21 #2 Berserker Berserker Man of Honour Joined 4 Nov 2002 Posts 15,513 Location West Berkshire Which XHTML standard are you validating against? Transitional or Strict? For Strict you'll have to do that in CSS (as it should be).
Which XHTML standard are you validating against? Transitional or Strict? For Strict you'll have to do that in CSS (as it should be).
15 Dec 2006 at 00:44 #3 Chiz Chiz Soldato OP Joined 2 Nov 2002 Posts 3,304 Location Aberdeen i've created <!-- .one {background-color: #4b3c1c; height: 485; width:15 } --> Which works fine in ie6 but not in firefox?. grrr. Last edited: 15 Dec 2006
i've created <!-- .one {background-color: #4b3c1c; height: 485; width:15 } --> Which works fine in ie6 but not in firefox?. grrr.
15 Dec 2006 at 01:41 #4 toString toString Soldato Joined 18 Oct 2002 Posts 9,047 Location London try height:485px; etc
15 Dec 2006 at 23:04 #5 edwardcasbon1 edwardcasbon1 Associate Joined 29 Mar 2004 Posts 593 Location Cambs, UK yeh, it doesnt know what dimensions you want. you could mean 485% or 485px or even 485em. That might be the problem. Let us know how you get on, Edward
yeh, it doesnt know what dimensions you want. you could mean 485% or 485px or even 485em. That might be the problem. Let us know how you get on, Edward
16 Dec 2006 at 00:13 #6 Al Vallario Al Vallario Soldato Joined 3 Aug 2005 Posts 4,534 Location UK Just to reiterate and fix the code for you (assuming your measurements are in pixels): Code: .one { background-color: #4b3c1c; height: 485px; width: 15px; } Although those do seem to be some rather strange dimensions for a table cell – I hope you're going to be using this table for tabular data *av
Just to reiterate and fix the code for you (assuming your measurements are in pixels): Code: .one { background-color: #4b3c1c; height: 485px; width: 15px; } Although those do seem to be some rather strange dimensions for a table cell – I hope you're going to be using this table for tabular data *av