Ah! The power of CSS

admin

Administrator
Staff member
<!-- m --><a class="postlink" href="http://www.mezzoblue.com/zengarden/">http://www.mezzoblue.com/zengarden/</a><!-- m -->
"A demonstration of what can be accomplished visually through CSS鏈綼sed design. Select any style sheet from the list to load it into this page."Originally posted by DaveSW in HTML forum
Just out of interest...
Will anybody want to change the layout of the site? Is it a desirable feature? Is it a must have/should have? Or just a super gimmick?
Its an experiment. The (X)HTML is made with a whole lot of superfluous tags to make it flexible enough for a wide variety of displays.

In general, if you need to change the layout of entire site, you will need to change the HTML too. You can usually do "minor" layout changes with just CSS - changing fonts/backgrounds, changing position of navigation bar etc.

The idea of Zen Garden is to promote creativity. Something like this can be done for a few pages, not for a site of the size of amazon.com, for example.

I also created my own experiment. Uses the same XHTML but different CSS for layout. <!-- m --><a class="postlink" href="http://www.prism.gatech.edu/~gte207x/experiment/page1.htmlI">http://www.prism.gatech.edu/~gte207x/ex ... age1.htmlI</a><!-- m --> am now famous; thanks for the mention Nicket, normally I renown for eating seasoned webmasters.

Lately I have been hanging around websites where Eric Meyer himself visits and posts comments on a monthly basis, but I wasn't to know that until today and that is why I haven been around for a while...

Recently I have found there are a lot of people promoting CSS-P and are reasonably competent at design but ignore, or are not aware of some of the underlying fundamentals of markup and browser interaction.

For example why is it normally preferable to use SGML 'comment delimiters' for surrounding embedded style rule blocks, which may appear within an HTML source document, for example:

<style type="text/css">
<!--
I am Stylesheet Character Data.
-->
</style>

If we were being purest and thinking along the lines of XML and XHTML then would could consider CDATA sections commenting, for example:

...
<![CDATA[
I am Character Data.
]]>
...

Both are often over looked, and it typically those who are networking within 'live journals' and using flashy designs that are getting heard rather than some of those like Stefan that keeps low-key.

So basically I am on a small crusade at the moment getting people like you yourself recognised. It has had some success, but it is a uphill struggle...Originally posted by Robert Wellock
<style type="text/css">
<!--
I am Stylesheet Character Data.
-->
</style>


hmmm... are you? seriously though... what does it mean? what difference does it make? Does that apply to all css?Yes I was dead serious and it does make a difference; ask yourself is CSS typically applied to affect HTML element styles and if your answer is yes, then my point was fundamentally valid.

To have an understanding of when are why you'd use <!-- --> to surround CSS blocks you have to have a clear understanding of HTML 4.01 or XHTML 1.0 and realise that that M$ Explorer 6.0 and Mozilla Firebird are not the only user-agents being used by people.

The following is just basic explanation: <!-- m --><a class="postlink" href="http://www.w3.org/TR/2002/WD-CSS21-20020802/syndata.html#comments">http://www.w3.org/TR/2002/WD-CSS21-2002 ... l#comments</a><!-- m --> there are further consequences of not following the method, which I won't bother explaining at the moment - but not using them will cause some modern browsers to crash if you don't use them were appropriate.not sure I fully understand why... but it has made a difference. ThanksSome very beautiful work here nkaisare.

Glad you posted this.

~mgb
 
Back
Top