Pescador:
I think I understand relevance of ... "I already use w3c and some problems appears" so I can offer a comment on that: Mozilla and IE (at least pending the next vers of IE) and <insert almost any other browser name here> STILL don't use the same Document Object Model (DOM)
AND probably even more relevant to your variant renderings question, support CSS differently.
These are a few among many ways to deal with this:
- acquire an exhaustive understanding the cross browser quirks
- accept (for a base testbed) some version of some browser, validate the html and css, and then tweak code for other target browsers until you can live with the results across the board
- code a 'browser check' into each page, and create a mechanism to output code suited to each browser based on the check.
While the first might be admirable, in some fashion or another, it might require commiting 100% of your time and thus would fail as a goals-oriented approach. However, a less-than-exhaustive understanding can save you a lot of trouble.
So too can the second, though it can also spiral into "never-finished-hell"
And three is fine, presuming the restrictions on your work don't do battle with browser-checking (for ex: the site of one of my clients has to conform to rules that interpret US and w3c Accessibility Standards as banning javascript and is also restricted by host-imposed limits on alternate approaches) and so long as you can deal with browser quirks by using .css -- ie, without creating redundant pages for each browser.
And if the rest of your post means you're working on a project of which you fear the Monks will disapprove -- sobeit, but the editorial content isn't the issue; it's the code. Feel free to compress, redact, <snip> anything not relevant to the question at hand.
ww, ex-schodckwm | [reply] |
Thanks for your reply. Real thanks.
One problem that i don't know how to resolve is in first lines of the HTML.
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-U
+S"><head> ...
The lang and xml:lang attribute of the HTLM tag is not supported.Netscape Navigator 4.0,6.0, IE 5.0 ...
This HTML Part is gerated by perl... How can i resolve this??One More time, Thanks. | [reply] [d/l] |
| [reply] |