|
Posted by benz on October 5, 2004, 7:17 am
Please log in for more thread options
the table in my short section of code has the attribute width="100%".
In the definition of xHTML Basic exist the attribute width.
How can i solv this problem or is this a bug in the validator ???
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.0//EN"
"http://www.w3.org/TR/xhtml-basic/xhtml-basic10.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head>
<title>Imprint</title>
<link rel="stylesheet" type="text/css" href="scripts/css/for_all.css" />
</head>
<body>
<table width="100%">
<tr>
<td class="logo"><img src="blablabla.jpg" alt="sunrise" /></td>
</tr>
<tr>
<td class="logo">blablabla</td>
</tr>
</table>
|
|
Posted by Martin Honnen on October 5, 2004, 4:49 pm
Please log in for more thread options
benz@silverwire.com wrote:
> the table in my short section of code has the attribute width="100%".
> In the definition of xHTML Basic exist the attribute width.
> How can i solv this problem or is this a bug in the validator ???
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.0//EN"
> "http://www.w3.org/TR/xhtml-basic/xhtml-basic10.dtd"> > <html xmlns="http://www.w3.org/1999/xhtml">
> <table width="100%">
You already got a lot of answers to that, one explaining that the formal
definition for the <table> element in XHTML Basic doesn't define an
attribute named width. As the validator uses the formal definition (the
DTD) there is nothing wrong with the validator.
--
Martin Honnen
http://JavaScript.FAQTs.com/
|
|
Posted by Edwin van der Vaart on October 5, 2004, 5:10 pm
Please log in for more thread options benz@silverwire.com schreef:
> the table in my short section of code has the attribute width="100%".
> In the definition of xHTML Basic exist the attribute width.
> How can i solv this problem or is this a bug in the validator ???
Did you also tried to specify the table width in your style sheet,
instead of the xhtml page?
--
Edwin van der Vaart
http://www.semi-conductor.nl/ Links to Semiconductors sites
http://www.evandervaart.nl/ Under construction
|
|
Posted by Arne on October 5, 2004, 4:40 pm
Please log in for more thread options *Edwin van der Vaart* skrev 2004-10-05 16:10:
> benz@silverwire.com schreef:
>> the table in my short section of code has the attribute width="100%".
>> In the definition of xHTML Basic exist the attribute width.
>> How can i solv this problem or is this a bug in the validator ???
>
> Did you also tried to specify the table width in your style sheet,
> instead of the xhtml page?
Yes, add
table
in your *external* and the page will validate. Not that in Basic all CSS
*must* be in a external file.
--
/Arne
|
|
Posted by Steve Pugh on October 5, 2004, 7:21 pm
Please log in for more thread options On 5 Oct 2004 06:17:01 -0700, benz@silverwire.com wrote:
>the table in my short section of code has the attribute width="100%".
>In the definition of xHTML Basic exist the attribute width.
>How can i solv this problem or is this a bug in the validator ???
Already answered in the first thread you started on thsi subject. Go
and read that post:
http://groups.google.com/groups?selm=1096551212.228493.37650%40k17g2000odb.googlegroups.com
Steve
|
| Similar Threads | Posted | | Problem with xhtml Validator at http://validator.w3.org/ | July 27, 2005, 5:06 am |
| w3.org validator problem | September 30, 2004, 5:20 am |
| Validator problem | February 5, 2005, 10:12 pm |
| Validator Problem | May 9, 2006, 11:17 pm |
| Problem with Validator: Form spanning accross table rows does notvalidate | August 4, 2004, 5:48 pm |
| wdg validator | August 12, 2004, 1:59 pm |
| SP2 IE and W3 validator | October 8, 2004, 5:27 pm |
| W3C validator | December 3, 2004, 12:04 am |
| Bug in validator.w3.org? | June 21, 2005, 11:41 am |
| http://validator.w3.org/ -bug? | March 4, 2005, 3:00 pm |
|