Advertising - Flights - Mortgage Loans - HP Color LaserJet Printers - Car Credit

PDA

View Full Version : Valid css text


mauroed79
Feb 28th 2005, 1:27 am
Hi everybody!
Could someone validate me this css code? It works brilliantly on browsers I.E. and Opera, while Firefox doesn't read the link style.
Thanks for help in advance,
Mauro


body, table, tr, td {
letter-spacing:0; font-size:9pt;
font-family:arial, Helvetica;

scrollbar {
scrollbar-arrow-color:000000;
scrollbar-track-color:e9e9e9;
scrollbar-shadow-color:000000;
scrollbar-face-color:ffffff;
scrollbar-highlight-color:000000;
scrollbar-darkshadow-color:ffffff;
scrollbar-3dlight-color:e9e9e9; }
div {
margin-top:0;
}
H2 {
FONT-SIZE: 12pt; COLOR: #000000; font-family: Arial, Helvetica; letter-spacing:0
}

a:link, a:active, a:visited
{ font-weight: normal; color:#800000}
A:link {
COLOR: #1B5791; text-decoration: none }
A:visited {
COLOR: #1B5791; text-decoration: none }
A:active {
COLOR: #800000; text-decoration: none } A:hover { COLOR:
#800000; text-decoration: none }

input, textarea, option, select {
background-color: transparent;
font: 8pt verdana, arial, helvetica;
color: #000000;
letter-spacing: 0px;
border: solid #000000;
border-width: 0px;
padding:1px;
{
scrollbar-arrow-color:000000;
scrollbar-track-color:e9e9e9;
scrollbar-shadow-color:000000;
scrollbar-face-color:ffffff;
scrollbar-highlight-color:000000;
scrollbar-darkshadow-color:ffffff;
scrollbar-3dlight-color:e9e9e9;
}

nullbit
Feb 28th 2005, 6:17 am
You have a lot of unclosed parenthesis. Is this intentional, for browser forking?

I'd just forget the scrollbar stuff, and close the parenthesis properly. Hacks should be avoided when possible.

mauroed79
Feb 28th 2005, 12:54 pm
Hi nullbit,
thanks a lot!!!!! Works fine now with all the parenthesis closed. What do you mean about the scrollbar style and hacking?
Thanks again,
Mauro

nullbit
Feb 28th 2005, 6:40 pm
Hi nullbit,
thanks a lot!!!!! Works fine now with all the parenthesis closed. What do you mean about the scrollbar style and hacking?
Thanks again,
Mauro
No problem.

People often use CSS "hacks" to resolve different browser bugs, I thought maybe you were doing this. Google "css hacks".

Agent47
Mar 5th 2005, 4:55 pm
You should try validating your CSS file here: http://jigsaw.w3.org/css-validator/