|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
lock table cell size
Code:
<HTML> <HEAD> <TITLE>EXEMPLARS</TITLE> </HEAD> <BODY bgcolor="#000000"> <TABLE border=0 cellpadding=0 cellspacing=0> <TR><TD>[img]topimage.png[/img]</TD></TR> </TABLE> <TABLE border=0 cellpadding=0 cellspacing=0> <TR><TD> <TABLE border=0 cellpadding=0 cellspacing=0> <TR><TD>[img]foldbartop.gif[/img]</TD> <TD>[img]menu_01.gif[/img]</TD> <TD background="CONTENT_01.gif" repeat-x valign="top"></TD> <TD>[img]RIGHT_01.gif[/img]</TD> </TR> <TR><TD background="foldout.gif" repeat-y height="450"> <TABLE border=0 cellpadding=0 cellspacing=0> <TR><TD valign="top" align="center">[img]arrow.gif[/img]</TD></TR> </TABLE></TD> <TD background="menu_02.gif" repeat-y height="450" valign="top"> Menu links test Menu links test Menu links test Menu links test Menu links test Menu links test Menu links test Menu links test Menu links test Menu links test Menu links test Menu links test Menu links test Menu links test Menu links test Menu links test Menu links test Menu links test Menu links test Menu links test Menu links test Menu links test Menu links test Menu links test Menu links test Menu links test Menu links test </TD> <TD bgcolor="#9999FF" width="445" valign="top"> Content include file from $GET</TD> <TD background="RIGHT_02.gif" repeat-y height="450" valign="top"></TD> </TR> <TR><TD>[img]foldoutbottom.gif[/img]</TD> <TD>[img]menu_03.gif[/img]</TD> <TD background="CONTENT_03.gif" repeat-x valign="top"></TD> <TD>[img]RIGHT_03.gif[/img]</TD> </TR></TABLE> </BODY> </HTML> i did thi a long time ago but cant rember the trick now in the content area and menu area i want to make it so the cells width is ABSOLUTE ie if the content text goes beyond the width it will force a line break any help?
__________________
24y-CW, 8y-HTML, 5y-PS, 8m-PHP And I never knew Photoshop could do HTML! You learn something every day. http://lexxboard.lurkerlordx.com/listcatagories.php |
|
#2
|
|||
|
|||
|
I know that assigning a width to it stops it expanding for the text.
(width="500" or width="50%", whatever)
__________________
http://root32.com - General computing. (network links also) |
|
#3
|
|||
|
|||
|
perfect now i just have to recat how i set the cellpadding for a single cell and not a entire table i know setting cellpadding in the TD doesnt work...any thoughts?
|
|
#4
|
|||
|
|||
|
Put tables in the TD?
|
|
#5
|
|||
|
|||
|
ya that a idea i dont want to entertain if i can avoid it
|
|
#6
|
|||
|
|||
|
Am I right in thinking that you want a border around the TD? I dunno exactly what you want it to look like, otherwise I'd be able to suggest other shiz
|
|
#7
|
|||
|
|||
|
Wait. If you set a border for the table (cellspacing="1") it will put a border around the rest of the table (all TR, TD, etc) ... same for cellpadding, I think. I dunno
|
|
#8
|
|||
|
|||
|
no i simple want to have padding/space in that one cell so the text doesnt hug the border
|
|
#9
|
|||
|
|||
|
If you want it in ONLY that cell and want it for that sole purpose, try <blockquote> ...
|
|
#10
|
|||
|
|||
|
i used a mini table oh well takea look with some php implemented
http://coh.lurkerlordx.com/Exemplars/template.php |
|
#11
|
|||
|
|||
|
Giving up so quickly?
|
|
#12
|
|||
|
|||
|
give up, feh i got the effect i wanted, ill save block quote for if i need it in my content i just used a second table, now i have to fix these php bugs i postyed trhe full code in dynamic includes in the programing forum
|
|
#13
|
|||
|
|||
|
Aye, I saw ;) GL with everything, anyways.
|
|
#14
|
|||
|
|||
|
|
|
#15
|
|||
|
|||
|
I know I'm late to this discussion, but to get padding in a single cell, using CSS.
something like: Code:
<td width=100 style="margin: 25px"> Stuff here, and the cell with have a 25 pixel margin on all sides (i think) =) </td> |
![]() |
| Viewing: Tutorialized Forums > Web Design & Development > Ruby on Rails > lock table cell size |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|