Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] css attribute for <TD> width
- From: javascript@xxxxxxxxxx (Dan Costea)
- Subject: [Javascript] css attribute for <TD> width
- Date: Thu, 21 Feb 2002 16:42:23 +0100
This is a multi-part message in MIME format.
------=_NextPart_000_014C_01C1BAF6.BC986670
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi,=20
I have a table like this:
<table border cellpadding=3D0 cellspacing=3D0>
<tr>
<td><div style=3D"width:120pt; word-wrap: break-word; background: =
red;"> asldkjf alsdk jfalsk asldas afja a</div></td>
<td><div style=3D"width:60pt; word-wrap: break-word; background: =
red;"> asldkjf alsdk jfalsk aslsa as ddfja a</div></td>
<td><div style=3D"width:19pt; word-wrap: break-word; background: =
red;"> asldkjf alsdk jfalskasdf asdf asldfja a</div></td>
<td><div style=3D"width:150pt; word-wrap: break-word; background: =
red;"> asldkjf alsdk jfalsk aasdsldfja a</div></td>
<td><div style=3D"width:220pt; word-wrap: break-word; background: =
red;"> asldkjf alsk asldfja a</div></td>
</tr>
</table>
How can I set ALL columns (including the third) to be of the minimum =
width? (to not let empty space in the left)
Thanks, Dan.
------=_NextPart_000_014C_01C1BAF6.BC986670
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4807.2300" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2> Hi, </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I have a table like =
this:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><table border cellpadding=3D0=20
cellspacing=3D0><BR> <tr><BR> <td><div =
style=3D"width:120pt; word-wrap: break-word; background: red;"> =
asldkjf alsdk=20
jfalsk asldas afja =
a</div></td><BR> <td><div=20
style=3D"width:60pt; word-wrap: break-word; background: red;"> =
asldkjf alsdk=20
jfalsk aslsa as ddfja =
a</div></td><BR> <td><div=20
style=3D"width:19pt; word-wrap: break-word; background: red;"> =
asldkjf alsdk=20
jfalskasdf asdf asldfja=20
a</div></td><BR> <td><div =
style=3D"width:150pt;=20
word-wrap: break-word; background: red;"> asldkjf alsdk jfalsk =
aasdsldfja=20
a</div></td><BR> <td><div =
style=3D"width:220pt;=20
word-wrap: break-word; background: red;"> asldkjf alsk asldfja=20
a</div></td><BR> </tr><BR></table><BR></FONT=
></DIV>
<DIV><FONT face=3DArial size=3D2>How can I set ALL columns (including =
the third) to=20
be of the minimum width? (to not let empty space in the =
left)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Thanks, Dan.</DIV></FONT></BODY></HTML>
------=_NextPart_000_014C_01C1BAF6.BC986670--
- Prev by Date: [Javascript] including javascript from client
- Next by Date: [Javascript] Building menus
- Previous by thread: [Javascript] including javascript from client
- Next by thread: [Javascript] Hiding url in status bar
- Index(es):