[thelist] Accessing table cell properties with CSS?

Tom Dell'Aringa pixelmech at yahoo.com
Fri Jun 28 12:08:01 CDT 2002


--- "Chris W. Parker" <cparker at swatgear.com> wrote:
> > --- "Chris W. Parker" <cparker at swatgear.com> wrote:
> > > > -----Original Message-----
> > > > From: Tom Dell'Aringa [mailto:pixelmech at yahoo.com]
> > > > Sent: Thursday, June 27, 2002 3:03 PM
> > > > To: thelist at lists.evolt.org
> > > > Subject: RE: [thelist] Accessing table cell properties with
> CSS?
> > > > Believe it or not, NONE of those suggestions worked! I think
> what
> > > > happens is the second TD has so little in it, it just shrinks
> up.
> > > I'm
> > > > either going to have to write the whole row and re-think this
> > > whole
> > > > thing.
> > >
> > > did you try making the first cell it's respective width (268?)
> and
> > > the
> > > other cell 100%? if that doesn't work it is most likely being
> > > screwed up
> > > because of another cell somewhere.
> >
> > Now that pushes the left cell smaller than 298. I would have
> thought
> > that would have worked too (I thought in fact it was already set
> to
> > that and it wasn't).
> >
> > For your perusal - the full code for the whole row. Bear in mind
> I
> > didn't write this, so please don't comment on the awful style.
> This
> > row is not a nested table, its the second of two rows and thats
> all
> > the table is.
>
> make another row with just a spacer gif in it like so...
> (0actually,
> unless it kills the design, make this the first row)
>
> <tr>
>   <td><img src="spacer.gif" width="268" height="1" alt=""></td>
>   <td width="100%"><img src="spacer.gif" alt=""></td>
> </tr>
>
> remove any and all other width designations on the other rows.
>
> if that doesn't work i'll kill myself. (no seriously, i will.)
>
>
> chris.
> --

Chris -- please put all sharp implements and firearms away from your
person... -- no seriously, It kind of worked putting it at the top.
Since there is a nested table in here which I didn't show you and
some table spanning going on, it was a bit off. I solved it however,
by nesting another table (unfortunately) in the cell and were golden.

As much as you want to move to CSS for layout at some point, you have
to marvel at how well and consistent tables are for layout! (duck)

Tom

=====
var me = tom.pixelmech.webDeveloper();
http://www.pixelmech.com/

__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com



More information about the thelist mailing list