Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

textarea problems in NN 4.7

Status
Not open for further replies.

wuah

Programmer
Mar 15, 2001
42
DK
Hello
When I write my stylesheet for my form elements I get into trouble in NN. I can define font size/type for the "input" elements. That works fine in both IE and NN.
But when I want to define fonts for "textarea" it wont work in NN (works fine in IE - of course...).

The two definitions look as follows:
INPUT{
font-family: Arial, Helvetica, sans-serif;
font-size: 8pt;
font-weight: normal;
color: Black;
}
TEXTAREA { font-style: normal}INPUT { }TEXTAREA {
font-family: Arial, Helvetica, sans-serif;
font-size: 8pt;
font-weight: normal;
color: Black;
}

- and as I explained - it's only the "textarea" bit that won't work.

Any ways to fix this!?

Greetings
Rasmus
 
sorry... - let me rewrite that:

INPUT {
font-family: Arial, Helvetica, sans-serif;
font-size: 8pt;
font-weight: normal;
color: Black;
}
TEXTAREA {
font-family: Arial, Helvetica, sans-serif;
font-size: 8pt;
font-weight: normal;
color: Black;
}
 
Instead of doing:

textarea {
font-family: Arial, Helvetica, sans-serif;
font-size: 8pt;
font-weight: normal;
color: Black;
}

Do:

[red]body[/red] {
font-family: Arial, Helvetica, sans-serif;
font-size: 8pt;
font-weight: normal;
color: Black;
}

That's the only way I know of to define styles in textareas and select boxes in Netscape 4...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top