fishhead32
07-09-2003, 07:19 PM
TWO PART QUESTION:
1)How would you go about specifying a specific width for an element in the CSS of an XHTML (strict) document?
Ex:
.something {
width: 75px;
}
This displays correct in regular old HTML (transitional)
but change the DTD to XHTML (strict or transitional) and no width is given and in this case all the words run together.
I have provided two test case examples:
HTML- http://www.32fish.com/test/case1.html
XHTML - http://www.32fish.com/test/case2.html
2) I am trying to leave tables behind forever, but I can't get my page to display correctly. Two paragraphs of text disapear when the page is loaded in IE 6 (works fine in Mozilla) but if I select the text it remains, or if I open a window in front of the page and close it the text on my problem page appears.
Check out the example:
http://www.32fish.com/testware/index2.html
(you may need to refresh if the page displays correctly)
1)How would you go about specifying a specific width for an element in the CSS of an XHTML (strict) document?
Ex:
.something {
width: 75px;
}
This displays correct in regular old HTML (transitional)
but change the DTD to XHTML (strict or transitional) and no width is given and in this case all the words run together.
I have provided two test case examples:
HTML- http://www.32fish.com/test/case1.html
XHTML - http://www.32fish.com/test/case2.html
2) I am trying to leave tables behind forever, but I can't get my page to display correctly. Two paragraphs of text disapear when the page is loaded in IE 6 (works fine in Mozilla) but if I select the text it remains, or if I open a window in front of the page and close it the text on my problem page appears.
Check out the example:
http://www.32fish.com/testware/index2.html
(you may need to refresh if the page displays correctly)