Foamcow,
"The only instance of a problem has been with the inclusion of the XML declaration, which can be left out."
Sivonen's article does detail that an XHTML Strict Doctype with an XML declaration puts IE6 & Konquerer into quirks mode.
"To my mind the benefit of using XHTML over HTML is...
vragabond,
"For most browsers, I believe having a correct and valid doctype (be it html or xhtml, transitional or strict), shifts the browser in standards mode."
Sivonen's Activating the Right Layout Mode Using the Doctype Declaration article, last updated 05/05/05, seems to detail differences...
I'm a newbie at upgrading to XHTML (ie, been at it about 2 weeks), but have been a software professional for 38 years.
I seek both specific & general advice.
SPECIFIC.
Via use of Tidy, have upgraded a CSS-intensive Web page. W3C validates the page as HTML 4.01 strict.
Decided to upgrade the...
Thanks, ChrisHunt. I'll explore your suggestion. It has merit.
My original problem is resolved. Although the CSS validated both with W3C & WDG's CSSCheck, the HTML did not conform to HTML 4.01 strict or XHTML 1.0 Transitional; ie, no ending </p> tag.
Conclusion: At the minimum, all pages...
vragabond,
Sorry. After reconsidering my last response to you, I humbly offer the following correction. It should have been "hubristically presumptive".
"As far as being assumptive, I based that statement on the fact that Mike tested his simple code in IE and FF with same results, thus...
Vragabond,
Your statement that "As for the table font-size hiatus in FF, it must have been a problem with the CSS" is, at a minimum, hubristically assumptive.
As is the " ... are pretty minimal with proper doctype and correct coding techiques" statement.
Re 'doctype'. No comment.
Re 'correct...
Apersons, mkrausenick. OCD & A-R are synergistic symbiotes.
Am in process of ripping apart my Web site & implementing proper XHTML coding practices; eg, from HTMLSource:
http://www.yourhtmlsource.com/accessibility/xhtmlexplained.html#codingpractices
Still, browser rendering differences suck...
You're right, Mike. I made the simple change you suggested in the style sheet, assigning the font size to <table> rather than <td>. It worked, as it should.
If one can believe the W3C CSS syntax checker, there were no syntax errors in my external style sheets.
I could have sworn In true...
Many thanks, Vragabond. Your suggestion worked.
Still, it seems a bug in Firefox that it did not honor the 12px property to be assigned to the <table> type selector. It did OK with <body>, <div>, <p>, <td>, inline classes, etc., but not with <table>.
In any case, thanks for caring.
"Caring is...
Good suggestion, Baby Jeffy. However, I tried all 4 DTD's one scroll-down defined on this developer.mozilla.org page:
http://developer-test.mozilla.org/en/docs/Common_CSS_Questions
Unfortunately, none of these 4 DOCTYPE's had any effect.
Thanks for the reply.
livefree
The following code works fine in IE 6.
<code>
table
{font-size: 12px;}
.Tables
{text-align: center;}
<div class=Tables>
<table ....>
</div>
</code>
The table is centered, & uses 12 px font.
However, in FF 1.0.4, the following is necessary:
<code>
tr
{font-size: 12px;}...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.