cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Derek Hohls" <DHo...@csir.co.za>
Subject RE: [OT] Abuse of div and span (was: Cocoon written in PHP)
Date Fri, 11 Aug 2006 06:26:16 GMT
"implement a toolbar as an <ul> and each button
as an <li>."
 
Not sure who originally thought up this idea; but I came
across it in "HTML Utopia: Designing without Tables using
CSS" - which is a book I can recommend if you are looking
for step-by-step examples of webpage design/layout with
CSS.

>>> "Martijn C. Vos" <m.vos@hippo.nl> 2006/08/10 04:36 PM >>>


Geert Josten [mailto:geert.josten@daidalos.nl] wrote:
> 
> > In my opinion you are underestimating the usefulness of the 
> > semantics associated with these structural HTML elements, and 
> > are throwing away *too
> > much* information in the pipeline.  Surely there's no 
> > advantage to throwing away that information, is there?
> 
> Just to add my 2 cents.. ;-)
> 
> By using headings, paragraphs, etc, instead of div and span for
> everything, you give search engines the opportunity to 
> distinguish them
> and give more importance to headings over paragraph text.

That, and it's more readable without CSS, and with older or
non-graphical browsers (like lynx). A great idea I recently
came across was to implement a toolbar as an <ul> and each button
as an <li>. Makes sense, becuase it's basically a list of similar
items. The only difference is in presentation, and that's what
CSS is for. Unfortunately the designs I get don't always work
this way.


mcv.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org 
For additional commands, e-mail: users-help@cocoon.apache.org 



-- 
This message is subject to the CSIR's copyright, terms and conditions and
e-mail legal notice. Views expressed herein do not necessarily represent the
views of the CSIR.
 
CSIR E-mail Legal Notice
http://mail.csir.co.za/CSIR_eMail_Legal_Notice.html 
 
CSIR Copyright, Terms and Conditions
http://mail.csir.co.za/CSIR_Copyright.html 
 
For electronic copies of the CSIR Copyright, Terms and Conditions and the CSIR
Legal Notice send a blank message with REQUEST LEGAL in the subject line to
CallCentre@csir.co.za.


This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message