lin-club  

Re: [Haifux] Re: Syscalltrack Site

Nadav Har'El
Wed, 26 Jun 2002 01:35:24 -0700

On Wed, Jun 26, 2002, Tzafrir Cohen wrote about "Re: [Haifux] Re: Syscalltrack Site":
> Also, what happens if I add a link from my site to:
> 
> 
>http://syscalltrack.sourceforge.net/index.php?main.html&Name=Breaking%20News%3a%20syscalltrack%20was%20written%20by%20Tzafrir

Works like a charm ;)

> > 2. I'd rather not have a black background. Can it be the other way around?
> 
> A more practical consideration: what happens if someone tries to print
> this page? (and do you care?)

CSS allows you to specify a different color for printing than the default
for screen. See - CSS is not moot.

For example, the CSS file for my homepage contains:

        BODY {
                color: #555555;
                ...
        }
        ...
        @media print {
                BODY { color: black; .... }
                ...
        }

So that the default color for everything in the BODY (i.e., everything)
is gray, but when printing (@media is print) the color "black" is used
instead.


> > 3. Please switch the HTML to X/HTML + CSS.
> 
> And break older browsers?

Forget about "X/HTML", just use HTML 4 and CSS. The only browser that can
"break" is broswers like Netscape 4, which pretends to support CSS but does
so incorrectly. But *nobody* should be using Netscape 4, or some old versions
of IE, right?

> As for CSS: the main reason for using it is king of mute. See your next
> point ;-)

Note that CSS has nothing to do with dynamic pages, animation or other
bells-and-whistles. It is just a mechanism to separate the formatting from
the content, which as a side-benefit allows people who don't want to see
your design (because they're unable, like blind people, or because they
don't want to, like Lynx or cellphone users) to see only the content.
It is noot moot (and certainly not mute ;) )

By the way, the current HTML code in that page isn't half bad - it mostly
avoids formatting tricks, so it already should look good to Lynxers or
blind people as it is - it doesn't need CSS for that.

-- 
Nadav Har'El                        |   Wednesday, Jun 26 2002, 16 Tammuz 5762
[EMAIL PROTECTED]             |-----------------------------------------
Phone: +972-53-245868, ICQ 13349191 |A conscience does not prevent sin. It
http://nadav.harel.org.il           |only prevents you from enjoying it.

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