"Gary Finnigan" <gj********@talk21.com> wrote:
I have made a style sheet that determines which div's display and which not
for use in a website.
However when I click on the link the invokes the sheet it still prints
everything on the page, but not how it is laid out on the page.
To see it not work go to www.clickatdepaul.org/test/tester.htm
Your style sheets are all marked as being for media="screen,
projection" therefore they should not be used when printing.
You also have a syntax error in your main stylesheet.
http://www.clickatdepaul.org/test/test.css
It starts:
@media screen
a:link {
To use @media you should enclose all the styles for that media inside
{}.
@media screen {
a:link {styles}
selecter {styles}
} /* end of screen media styles */
Why are you putting an @media screen section inside a stylesheet that
is marked as being media="screen projection"? Are you trying to mark
some styles as being only for screen and not for projection?
There are other syntax errors as well:
http://jigsaw.w3.org/css-validator/v...1&profile=css2
Steve
--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor
Steve Pugh <st***@pugh.net> <http://steve.pugh.net/>