xdeltax
05-03-2003, 08:54 PM
ok im having some trouble with tables i want the text to be alignd across the top of the cell instead of the centre.or atleast be list left to right top down
|
Click to See Complete Forum and Search --> : tables xdeltax 05-03-2003, 08:54 PM ok im having some trouble with tables i want the text to be alignd across the top of the cell instead of the centre.or atleast be list left to right top down gil davis 05-03-2003, 09:06 PM Table cells can be defined as align="center" align="left" align="right" valign="top" valign="center" valign="bottom"The default for a TD is top left. The default for a TH is top center. xdeltax 05-03-2003, 09:11 PM that didnt work if i can make any more specific i want to align the text INSIDE of the cell to the top center here a sample of my current code <html> <head><title></title></head> <TABLE> <CAPTION></CAPTION> <TR> <Td><u>Links</u></Td> <Td><IFRAME SRC="index3.html" FRAMEBORDER="0"></IFRAME> </Td> </TR> </html> gil davis 05-04-2003, 10:13 AM <td align="center" valign="top"><u>Links</u></td>You did not indicate which cell you wanted to adjust, so I assumed it was the only one with text in it. You will not see any benefit to the centering since the TD is sized to the content. xdeltax 05-04-2003, 10:16 AM that work ty khaki 05-04-2003, 11:09 AM ummm... i learned it as: align="center" align="left" align="right" valign="top" valign="middle" valign="bottom" are both ok :confused: ;) k gil davis 05-04-2003, 05:41 PM Good catch, Khaki! According to W3C recommendations (http://www.w3.org/TR/html4/struct/tables.html#alignment ), valign can be any of the following:top|middle|bottom|baselineand align can be:left|center|right|justify|char khaki 05-04-2003, 08:20 PM Good catch, Khaki! well... as I've said on a number of occassions here in these forums... With 2 older brothers... I can catch pretty well... but I do throw like a girl :rolleyes: (I just can't help that. lol) not center... not middle... not even all the way to the right.. but just to the left of that... just a bit... but not too much... ;) k webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |