Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

what is the attribute for 'nowrap' in a table?

0 views
Skip to first unread message

Scott Townsend

unread,
Mar 10, 2003, 5:52:21 PM3/10/03
to
I'm new to CSS (as you may have figured from the Subject ;-)

I'm trying to replace all of the hard coded formatting in my pages with CSS
classes.

The one I cant seem to get right is the 'nowrap' for the text in a table.

what attribute do I use so my text in my tables do not wrap?

Thanks,
Scott<-


Kiran Math

unread,
Mar 12, 2003, 9:30:21 AM3/12/03
to
Scott ,


Try this .......

---------------- start of Code -------------------

<HTML>
<HEAD>
<style>
.got
{
white-space:nowrap;
}
</style>
</HEAD>
<body style="margin:0px;background-color:cyan;">
<table width= 10><tr><td class=got>Please do not wrap me </td></tr></table>
</body>

</HTML>

------------------- end of code ---------------

Hope that helps.

Kiran Math


0 new messages