Link to home
Start Free TrialLog in
Avatar of beni_luedi
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
Avatar of kriskhoury
kriskhoury

Border-Width must be set in pixels:
border-width: 1px;

white-space: nowrap is not supported in Netscape.

Good Luck
Kris
if you would like the <td> tag not to wrap:
<td nowrap></td>
ASKER CERTIFIED SOLUTION
Avatar of chen_avinadav
chen_avinadav

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial