lin-club  

Re: [Haifux] hifux site's design

Nadav Har'El
Sat, 15 Sep 2001 11:58:57 -0700

On Sat, Sep 15, 2001, Shlomi Loubaton wrote about "Re: [Haifux] hifux site's design":
> I think we should write "this site is best viewed using lynx" and add a W3C
> XHTML1.00 or HTML 4.01 Validation Service icon : http://validator.w3.org/

If you want to have site that look great and "designed" on graphical browsers
(such as Mozilla) and also great on a textual browser (such as lynx), I urge
you to look into CSS.

CSS, Cascading Style Sheets, is a standard (look at w3c's site for a complete
document on it) for defining how HTML elements should look like, e.g., you
can say that all H1 headings should be 1-inch tall and red, that all
paragraphs should be 500 pixels wide and indented, that lists should use
some gif image instead of the usual bullet, and much much more. This way,
the site looks exactly like you want it to look in all modern graphical
browsers (both Mozilla and IE have almost complete support for CSS 1, and
some of CSS 2; Netscape 4 supports CSS 1 but is somewhat buggy), but textual
browsers (such as lynx), and more importantly - browsers for the vision
impaired (blind, dyslexic, etc.) will know exactly what the author meant,
since the author uses H1, LIST, etc., rather than amorphous tables and
graphics.

You can see an example use of CSS in my homepage, nadav.harel.org.il.
and in particular my pets' homepage, at
        http://nadav.harel.org.il/homepage/doggie.html
Not a pinnacle of design, but a good example on how to create a site
that is not bad-looking (I'd like to think) on a graphical browser, and still
looks great with lynx. It's very hard to create a page that looks
this good in both Mozilla and lynx without using CSS - try it and you'll see
why.

-- 
Nadav Har'El                        |      Saturday, Sep 15 2001, 28 Elul 5761
[EMAIL PROTECTED]             |-----------------------------------------
Phone: +972-53-245868, ICQ 13349191 |Enjoy the new millennium; it might be
http://nadav.harel.org.il           |your last.

--------------------------------------------------------------------------
Haifa Linux Club Mailing List (http://linuxclub.il.eu.org)
To unsub send an empty message to [EMAIL PROTECTED]