Ask a Question related to Macromedia Dynamic HTML, Design and Development.
-
Foo Foo Foo #1
Tables in strict XHTML
Is it me, or...
1. Dreamweaver (I'm using ver. 8 trial) does not appear to generate table
code that conforms to strict xhtml, even where I've defined the page as strict,
i.e., using strict dtd. For example, when I'm adjusting column widths, DW puts
the col width definition in each td tag, when it should put the width
definition in colspan and col tags. Then, it smacks you on validation for
having those width tags in there!
2. When I code the width in colspan and col tags by hand, the design view
doesn't render the table correctly in the design view, although it looks okay
in latest version of IE and Firefox.
For example, check out the following definitions in DW's design view, and also
in IE and Firefox.
Dreamweaver 8. Trying to break into XHTML 1.0 strict.
Dreamweaver's auto code for tables doesn't appear to facilitate coding tables
in strict dtd. For example, DW permits you to add column widths in the <td>
definition, rather than the col and colspan definitions.
Also, when I code the formal colspan and col widths in the code view by hand,
it appears to me the DW design view does not render the table image correctly
correctly. DW puts these weird little strips up at the top of the table.
For example: The two tables at the bottom of this form don't render correctly
in design view, although they look alright in IE and Firefox.
Suggestions, tips, or estimated time for patch appreciated.
Thanks,
Jim
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>
<body>
<table width="200" border="5">
<colgroup span="3">
<col width="40"></col>
<col width="100"></col>
<col width="160"></col>
</colgroup>
<tr>
<td>1</td>
<td>2</td>
<td>3</td>
</tr>
<tr>
<td>4</td>
<td>5</td>
<td>6</td>
</tr>
</table>
<table border="1">
<colgroup span="3">
<col width="20"></col>
<col width="50"></col>
<col width="80"></col>
</colgroup>
<tr>
<td>1</td>
<td>2</td>
<td>3</td>
<td>4</td>
</tr>
</table>
<p> </p>
</body>
</html>
Foo Foo Foo Guest
-
XHTML Strict Support and CSS
We are just starting to implement Contribute. Created a template with Dreamweaver with XHTML strict code as this is required for Contribute to... -
Problem with XHTML Strict
I am building a website in XHTML and having problems with spacing. Firefox is rendering my paragraphs with greater line-height than I need. I messed... -
Will DW write XHTML Strict code?
I would like to configure DW to write XHTML Strict code rather than transitional, is that possible? -
XHTML Strict support?
Contribute 3 creates XHTML compliant element code, but Contribute has trouble creating character entities that are XHTML compliant. For example... -
use strict and filehandles
Hi All, I'm having trouble understanding what use strict is trying to tell me. If I have run this program ...



Reply With Quote

