p2bc
08-14-2003, 03:58 AM
This is the whole code that is in my CSS file
p{font: Bold 14px sans-serif}
.left{margin-left: 1cm; filter:glow(color=red,strength=2)}
a.green:one:link
{
color: #00a26b;
font: Bold 12px sans-serif;
text-aline:left;
text-decoration:none;
margin-left: 0.25cm
}
a.green:one:visited
{
color: #00a26b;
font: Bold 12px sans-serif;
text-aline:left;
text-decoration:none;
margin-left: 0.25cm
}
a.green:one:hover
{
color: #ffffff;
background-color: #00a26b;
font: Bold 12px sans-serif;
text-aline:left;
text-decoration:none;
margin-left: 0.25cm
}
h2
{
font-family:sans-serif;
font-weight:Bold;
text-align:center
}
img.ab
{
position:absolute;
left:517px
}
BODY
{
scrollbar-face-color: #00a26b;
scrollbar-shadow-color: #4D3E1E;
scrollbar-highlight-color: black;
scrollbar-3dlight-color: black;
scrollbar-darkshadow-color: #4D3E1Eb;
scrollbar-track-color: default;
scrollbar-arrow-color: #536D87;
}
I know that the body-scrollbar commands, don't work on many things other than IE, but why would the action commands for the hyper link "a.green:one:link " would not work in Netscape, or MAC's IE or Netscape. Basically it only works on Windows IE. The other CSS tags work, the "p" and the ".left" on other plateforms just not the action links.
Which I find funny since I have seen site with CSS external scripts (odviously), and when I test them on MAC's or Netscape they work, except the body scrollbar, but in my case they don't.
Can anyone explain why this is.
Thanks
Also, can you explain why if I put a DocType at the beging of my page it wipes out all the CSS scripts, even the one that work otherwise.
And what I mean is:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
p{font: Bold 14px sans-serif}
.left{margin-left: 1cm; filter:glow(color=red,strength=2)}
a.green:one:link
{
color: #00a26b;
font: Bold 12px sans-serif;
text-aline:left;
text-decoration:none;
margin-left: 0.25cm
}
a.green:one:visited
{
color: #00a26b;
font: Bold 12px sans-serif;
text-aline:left;
text-decoration:none;
margin-left: 0.25cm
}
a.green:one:hover
{
color: #ffffff;
background-color: #00a26b;
font: Bold 12px sans-serif;
text-aline:left;
text-decoration:none;
margin-left: 0.25cm
}
h2
{
font-family:sans-serif;
font-weight:Bold;
text-align:center
}
img.ab
{
position:absolute;
left:517px
}
BODY
{
scrollbar-face-color: #00a26b;
scrollbar-shadow-color: #4D3E1E;
scrollbar-highlight-color: black;
scrollbar-3dlight-color: black;
scrollbar-darkshadow-color: #4D3E1Eb;
scrollbar-track-color: default;
scrollbar-arrow-color: #536D87;
}
I know that the body-scrollbar commands, don't work on many things other than IE, but why would the action commands for the hyper link "a.green:one:link " would not work in Netscape, or MAC's IE or Netscape. Basically it only works on Windows IE. The other CSS tags work, the "p" and the ".left" on other plateforms just not the action links.
Which I find funny since I have seen site with CSS external scripts (odviously), and when I test them on MAC's or Netscape they work, except the body scrollbar, but in my case they don't.
Can anyone explain why this is.
Thanks
Also, can you explain why if I put a DocType at the beging of my page it wipes out all the CSS scripts, even the one that work otherwise.
And what I mean is:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">