beni_luedi
asked on
CSS <td> nowrap? <img> border-color?
Hi,
I have a problem with 2 items.
The following code doesn't work properly:
td.copy {
text-align: right ;
text-valign: bottom ;
height: 1pt ;
white-space: nowrap ;
font-size: 8pt ;
font-weight: normal ;
}
The line "white-space: nowrap ;" seems to have no effect. How can I set the <td> tag, that it doesn't wrap?
The other problem is:
I would like to set the border-width to 1 without setting the border-color. Therefore the hover effect for links will be visible on images within anchor have the same effect like on text.
border-width: 1 ;
Netscape 7 => O.K.
Internet Explorer 6 => no border at all
border-width: 1 ; border-color: #FFFF00 ;
Netscape 7 and Internet Explorer 6 => yellow border, but no change on hover event.
Any suggestions how this could work?
Thanks ...
BL
I have a problem with 2 items.
The following code doesn't work properly:
td.copy {
text-align: right ;
text-valign: bottom ;
height: 1pt ;
white-space: nowrap ;
font-size: 8pt ;
font-weight: normal ;
}
The line "white-space: nowrap ;" seems to have no effect. How can I set the <td> tag, that it doesn't wrap?
The other problem is:
I would like to set the border-width to 1 without setting the border-color. Therefore the hover effect for links will be visible on images within anchor have the same effect like on text.
border-width: 1 ;
Netscape 7 => O.K.
Internet Explorer 6 => no border at all
border-width: 1 ; border-color: #FFFF00 ;
Netscape 7 and Internet Explorer 6 => yellow border, but no change on hover event.
Any suggestions how this could work?
Thanks ...
BL
if you would like the <td> tag not to wrap:
<td nowrap></td>
<td nowrap></td>
white-space: nowrap is supported in NS 6.
http://www.blooberry.com/indexdot/css/properties/text/whitespace.htm
http://www.blooberry.com/indexdot/css/properties/text/whitespace.htm
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
border-width: 1px;
white-space: nowrap is not supported in Netscape.
Good Luck
Kris