Style sheets (CSS) are a compilation of style elements (font style & color, text size, background color, page layout parameters ..... and so on) to accompany HTML/XHTML documents in order to separate content from presentation. Style sheets can be embedded in Web pages or externally linked.
Why should content be separated from presentation? -- HTML was not designed to effect presentation -- document layout -- but rather it is...
User Profile
Collapse
-
-
Caution -- The Acid3 Test is still in development -- not quite ready for Prime Time yet.
JamesLeave a comment:
-
Have you ever checked "real" XHTML ..........
.......... just for curiosity?
"real" XHTML served as content (MIME) type application/xhtml+xml will display in MSIE 6.0 release 2900 and 7.0 but they will not render xml content. However, MSIE 6.0 release 2800 and earlier displays a download screen -- selecting OPEN presents a plain, text only, rendered page -- sans style sheet.
Here is an XHTML page served as content (MIME) type application/xhtml+xml for... -
HTML Tidy is the de-facto standard HTML syntax error checking and clean-up program. It is not only a Markup syntax error checker, it also checks for document well-formedness; can convert HTML to XHTML; convert Uppercase Markup to lowercase; effect code "Pretty Printing" (indentation and spacing), etc. Although Tidy is one of the most popular and useful Web authoring utilities, it is not a Validator -- it will not check Markup against specific...Leave a comment:
-
Of course, using XHTML is OK, just be aware you will (I am sure) be serving it as HTML (not as real XHTML) so you could just as well use HTML 4.01 -- just be sure to use a Strict Doctype to avoid deprecated Markup and structures -- see my Serving XHTML page
James...Leave a comment:
-
Not so, I am constantly changing the content of all three boxes -- you can see how the footer changes flexibly as the box lengths change by viewing the page in different graphical Browsers -- the subtle differences in rendering capabilities (especially IE) causes the changes -- additionally, if you view the page at different screen resolutions (easy if you have Firefox with the Developer extension installed) which you should always do anyway --...Leave a comment:
-
-
Please do not get too hung up on just divisions -- use good semantic Markup which will also require CSS designated headers, paragraphs and lists. View the source of my Home page to see this in effect. Also check the accompanying CSS for the flexible float-left three column layout constructs.
Edit: here is the Markup and CSS (via the Validators - scroll down):
Markup
CSS
James...Leave a comment:
-
-
Leave a comment:
-
Just about all XHTML is being served as HTML anyway so why not use well-formed HTML 4.01 (Strict to avoid deprecated elements/attributes)?
Refer to: Problems serving XHTML
JamesLeave a comment:
-
I much prefer to offer help and suggestions when a live URL is provided -- the Markup and CSS/Scripting code can then be displayed, examined and thoroughly analyzed (makes for much shorter posts too).
JamesLeave a comment:
-
-
Not really, Extant graphical Browsers (Firefox, Opera, Safari, MSIE, et al) are configured to render "tag soup" markup, albeit often erratically). Refer to Web page Interoperabilit y
James...Leave a comment:
-
Leave a comment:
-
Visit Float Box Layout overview then http://jp29.org/ for a HTML/CSS Validated three column exemplar that functions in all Browsers at different screen resolutions, including PDAs.
BTW, your use of H5 is not semantically correct -- use CSS to set the sizing parameters instead -- check the CSS of the above exemplars (via the W3C CSS Validator) for some ways to accomplish this.
JamesLeave a comment:
-
As a side issue, mobysurf, I notice that you specify Content-Type as application/xhtml+xml in a META tag -- that, in itself, will not determine how the content is served -- your page is actually being served as Content-Type text/html. Visit Serving XHTML Documents for an explanation.
JamesLeave a comment:
-
-
Yes, but then those offering help do not have access to a common document.
Has it really? I get the impression he still has fundamental problems with his document (page) functioning as intended.
James...Leave a comment:
No activity results to display
Show More
Leave a comment: