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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Nowrap???

Status
Not open for further replies.

zishan619

Programmer
May 28, 2003
284
MX
Hi:
I have placed in nowrap in my html statement and it is not working. The statement is:
<TH class=HEAD nowrap align=left height=.5i width=2.75i>PEOPLE INFORMATION</TH>
Everything is in inches.
Also another thing that is not working is placing the text in the center of the cell of a table. My statement for that is:
<TH class=cback COLSPAN=&quot;2&quot; ALIGN=&quot;center&quot; height=.3125i width=1i>SUN</TH>
This is not working. Please help with any suggestions.
Thanks
Z
 
You have conflicting commands... you specify a width and also specify a &quot;nowrap&quot;

When in doubt, deny all terms and defnitions.
 
Ohh ok I didn't know I can't used to commands at once. Cool.
That solved that problem. Now how come my statements in the cells would not align to be in the center of the cell?
Thanks Z
PS I am new at this stuff
 
nowrap is a non-standard tag. It only works in IE. Meaning people using other browsers won't see your page the way intend.

As for centering, you also have a css class on that cell. Check the css class to ensure it isn't aligning things differantly. Easiest way is to take out the class tag and see if it then goes centered.
 
That didn't work. My class does not have anything that would specify it to center the text or not. How would I do that in the class?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top