Thursday, November 16, 2006

Djia Performance 2010

Lucky for EBE06


A penalty can not be there, I hope you are fine and that we can not go, we become aware of everything that happens there.



Event Blog EspaƱa 06

Friday, November 3, 2006

What Color Shirt To Wear With A Dark Grey Suit

XHTML: presentation and content ... "Apart?

Today I'm going to get a little philosophical, or maybe I will not say nothing but nonsense, but hey, whatever, may serve for something.
label was the best thing ever because you allowed to change the font color.
That distant past, we have the fact that the complexity of the CSS are superior to HTML content, if we did before gimmicky tables to present the page as the designers who had developed, now HTML is most "simple", while CSS is what we can take more time (amazing examples can be seen in CSSplay
), all championed by the idea of \u200b\u200bseparating the presentation layer (CSS) and content (HTML). Thus, if we change the look of our website we only modify the CSS, as it does for example
Supposedly on his blog. far so perfect, the truth is a pleasure to work according to this philosophy, but ... Is this theory correct?. In my opinion, no. If you can be in most cases, or at least enough of them, but with all this Web 2.0, each time this theory fails more often. I mean, how many times have included a
div or span
when their only purpose is to help reconcile all the style?. At least I passed, for example when I created a menu tab, at the time that when it is selected is not a link, I needed a label whose usefulness in the content has been completely void. An example of what I can see CSSplay, this is one of the impressive examples A snazzy border
menu, if you look at the code of how it has (only seeing, touching, which is copyrighted) , we note that each option has the following tags:
\u0026lt;li> \u0026lt;a class = "xmenu2" href = "# nogo"> \u0026lt;b class="xsnazzy"> \u0026lt;b class="xtop"> \u0026lt;b class="xb1"> \u0026lt;/ b> \u0026lt; b class = "xb2"> \u0026lt;/ b> \u0026lt;b class="xb3"> \u0026lt;/ b> \u0026lt;b class="xb4"> \u0026lt;/ b> \u0026lt;/ b> \u0026lt; span class = "xboxcontent"> Paul Cezanne \u0026lt;br /> \u0026lt;/ span> \u0026lt;/ b> \u0026lt;/ a> \u0026lt;/ li>
I'm not sure, but I think there is too much
b
 cloud, and if we take the style to the page, it will not do anything, partly because these tags have no content. 
If the author did not use the number of labels, it would be impossible to do what he has done. Of course, this really is not separation of layers, even more, if fair use tags for content, we would save a few megs on the use of bandwidth a day.
Conclusion: I see many times some tips on this type of theory, but being purists, maybe people will only be fixed if the attribute appears

style and not whether it has really completely separate presentation layer content layer.
Conclusion 2: I do not care if there is no separation, it is clear that CSSplay work is impressive, and if I have to add a style to not complicate my life for 1 week to achieve the aforementioned separation of layers, not I cut the least and will include the label (indeed, write it in capitals so you do not validate the XTHML).