Forum Moderators: not2easy

Message Too Old, No Replies

css style on openBrWindow

where to attach css style on openBrWindow

         

yamoto

8:37 pm on Sep 23, 2003 (gmt 0)

10+ Year Member



hello

my css definition is:
A.maillink {
display: left;
width: 175px;
text-align: left;
text-decoration: none;
font-family:Arial, Helvetica, Verdana, sans-serif;
font-size:12px;
color: #005941;
BORDER: none;
}
A.maillink:hover {
background-color:#005941;
color:#f0f6e0;
}

and i'm trying to attach that style to this:

<strong onClick="MM_openBrWindow('izracun.htm','','scrollbars=yes,width=580,height=620')"Primeri
izracunov embalaznine</strong>

and i don't know where to put class="maillink". works everywhere else except on openBrWindow. any idea?

bitter

yamoto

9:00 pm on Sep 23, 2003 (gmt 0)

10+ Year Member



got it:

<a href="#" onClick="MM_openBrWindow('izracun.htm','','scrollbars=yes,width=580,height=620')" class="maillink">Primeri izracunov embalaznine</A>

so no need to reply

drbrain

10:55 pm on Sep 23, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



display: left and border: none are not valid values for these properties. See:

'display' property [w3.org]
'border' property [w3.org]

You should run your CSS through the CSS validator [jigsaw.w3.org]