Closed Thread Icon

Preserved Topic: word wrap in tables Pages that link to <a href="https://ozoneasylum.com/backlink?for=7980" title="Pages that link to Preserved Topic: word wrap in tables" rel="nofollow" >Preserved Topic: word wrap in tables\

 
Author Thread
Gix
Paranoid (IV) Inmate

From: delucia
Insane since: Jun 2001

posted posted 12-12-2001 07:15

The bulb finally lit up. I now know the basics of tables. For my little web sight, I'm going to set up a simple table like this;
<table>
<tr>
<td height="101" width="701" colspan=2> <img src="images/blah1.gif"> </td>
</tr>
<tr>
<td height="451" width="176"> <img src="images/blah2.gif"> </td>
<td valign=top> news, announcements or whatever </td>
</tr>
</table>
As you may be able to make out from my code, I'm going to have a title bar up top, a gif to the left with buttons for various pages on my sight, and the last cell will contain some news or what ever. I read that a cell will expand to the size of the largest content in the row. I have a top cell stretched out on top with the colspan attribute. when I put text in the last cell on the bottom right, it seems to stretch out the cell, and make the text go clear to the edge of my browser. I'm running my screen res at 1280x1024, so this puts the text way to the right of my top gif title bar. How can I make the content (words) in the bottom right cell wrap at a certain point? This is the best I can word this questions, I'm sorry in advance. If you simply can't make out my question from this mess, plz let me know and I'll reword it.

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 12-12-2001 07:47

You should specify table width, like this:

<table width="701" border=0 cellpadding=0 cellspacing=0>

BTW You can also see a few other parameters which you can change...


« BackwardsOnwards »

Show Forum Drop Down Menu