newbie html question

jinduy

Diamond Member
Jan 24, 2002
4,781
1
81
<td width= "180" > zoooooooooooooooooooooooooooooooooooooooooooooooooooooooooooom </td>


my goal here is to keep the size of the cell at 180 so that the data would look like:

zooooo
oooooo
oooooo
ooooo
oo...m

something like this... is that possible using tables? i know it's probably useless but it bugs me. thanks
 

paruhd0x

Diamond Member
Apr 2, 2000
3,100
0
0
Frontpage won't let you do what you want to do... Only got what you wanted by using < b r > tags.
 

Stratum9

Senior member
Apr 13, 2002
602
0
0
Originally posted by: paruhd0x
Originally posted by: KahunaHube
that should do it..

It doesn't.

Well, when you set the width of a cell you are only setting its minimum width. The maximum width will always adjust to fit the longest line of data in the cell. So without break tags your 180px wide cell will continue to stretch the more o's you add to the word zoom in your example. If break tags aren't giving you the results you were looking for, perhaps there's another approach to whatever it is you are trying to accompolish?
 

jinduy

Diamond Member
Jan 24, 2002
4,781
1
81
so basically i gotta do something like

<td width= "180" > zooooooooooooooooooooooooooo[br]ooooooooooooooo[br]oooooooooooooooooom </td>


do i understand correctly?
replaced with [br]
 

Cerb

Elite Member
Aug 26, 2000
17,484
33
86
Yes. It will only break automatically if there is white space.
 

Stratum9

Senior member
Apr 13, 2002
602
0
0
Originally posted by: jinduy
so basically i gotta do something like

<td width= "180" > zooooooooooooooooooooooooooo[br]ooooooooooooooo[br]oooooooooooooooooom </td>


do i understand correctly?
replaced with [br]

Yes pretty much. But that doesn't sound like what you wanted to hear. It all depends upon what you are trying to do, but there may be other ways. For example, if you are trying to do the traditional three column layout with the center column being your content but don't want the content to push the column's width to the right when you have a long, unbroken line of text, then try controlling the width of the center column by setting widths on the left and right columns.

 

jinduy

Diamond Member
Jan 24, 2002
4,781
1
81
Originally posted by: Stratum9
Originally posted by: jinduy
so basically i gotta do something like

<td width= "180" > zooooooooooooooooooooooooooo[br]ooooooooooooooo[br]oooooooooooooooooom </td>


do i understand correctly?
replaced with [br]

Yes pretty much. But that doesn't sound like what you wanted to hear. It all depends upon what you are trying to do, but there may be other ways. For example, if you are trying to do the traditional three column layout with the center column being your content but don't want the content to push the column's width to the right when you have a long, unbroken line of text, then try controlling the width of the center column by setting widths on the left and right columns.

ah great idea, i must try that out,

thanks all, thought i would get burned like the other dood asking for math help ~_~


and yes a 3 column layout is pretty much wat i had been trying to do :).
 

jinduy

Diamond Member
Jan 24, 2002
4,781
1
81
can any html expert tell me if my 3 column layout looks decent to them...

www.jinduy.net

yes the site is very ugly, just workin on tryin to get my layout setup.
 

ProviaFan

Lifer
Mar 17, 2001
14,993
1
0
Originally posted by: jinduy
can any html expert tell me if my 3 column layout looks decent to them...

www.jinduy.net

yes the site is very ugly, just workin on tryin to get my layout setup.
It's a good start. Have you considered doing your table column widths in percentages? IMHO, your right column is too wide, and when the page is made smaller (on a smaller screen or resized browser window) the middle column is "squished" too much.

BTW, if you learn CSS (please do, it's awesome), you will have the min-width and max-width properties to play with, which would help a lot in this situation (check out this to see what can be done with CSS).

Edit: for more fancy CSS that is probably much better done than mine could ever be, check out Eric Meyer's examples.
 

jinduy

Diamond Member
Jan 24, 2002
4,781
1
81
Originally posted by: jliechty
Originally posted by: jinduy
can any html expert tell me if my 3 column layout looks decent to them...

www.jinduy.net

yes the site is very ugly, just workin on tryin to get my layout setup.
It's a good start. Have you considered doing your table column widths in percentages? IMHO, your right column is too wide, and when the page is made smaller (on a smaller screen or resized browser window) the middle column is "squished" too much.

BTW, if you learn CSS (please do, it's awesome), you will have the min-width and max-width properties to play with, which would help a lot in this situation (check out this to see what can be done with CSS).

Edit: for more fancy CSS that is probably much better done than mine could ever be, check out Eric Meyer's examples.

yeah to my understanding, using css is better than using tables. but right now i want to make sure i know html very well before i tackle css.

thanks for the input! i'll keep the right column in mind. need sleep now :(.