Kathryn Bassett RE: CSS & table row height Never mind
Nov 11, 2002; 19:39
Kathryn Bassett
RE: CSS & table row height Never mind
I figured it out - it was the <h3> that was left over before I made the table style. I've deleted those and it now works. -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn@bassett.net http://bassett.net
> -----Original Message----- > From: Kathryn Bassett [mailto:kathryn@bassett.net] > Sent: 11 Nov 2002 7:36:PM > To: Dreamweaver Talk > Subject: RE: CSS & table row height > > > Al Sparber- PVII replied: > > Tables do not accept margin properties... they do accept padding > > properties. Row heights adapt based on the height of adjacent cells vis > > a vis their content. > > But that doesn't answer the question of why, in this case, the height is so much? > There's only one row in the table, one line of text, so one cell isn't any higher > than another. My understanding of "vertical-align: middle;" is that the line of text > should be vertically in the center of the cell, and even that isn't happening. > *Something* is making the cells the equivalent of two lines of text high, but what? > > -- > Kathryn Rhinehart Bassett (Pasadena CA) > "Genealogy is my bag" "GH is my soap" > kathryn@bassett.net > http://bassett.net > > > -----Original Message----- > > From: dreamweaver@blueworld.com [mailto:dreamweaver@blueworld.com]On > > Behalf Of Al Sparber > > Sent: 11 Nov 2002 7:08:PM > > To: Dreamweaver Talk > > Subject: Re: CSS & table row height > > > > > > Kathryn Bassett wrote: > > > I've got a one row table and it's too thick. > > > Here's my css code for the table at http://lincav.net/header.htm: > > > table { > > > background-image: url(images/wood512x90.jpg); > > > font-family: Verdana, Arial, Helvetica, sans-serif; > > > font-size: 12px; > > > font-style: normal; > > > font-weight: bold; > > > border: none; > > > vertical-align: middle; > > > margin: 1px; > > > } > > > > > > I've left a 1 pixel margin just so it's easy to see where the header > > > image stops and the table begins. I want the row height of the table > > > to "fit" the text height. IOW, why is their so much space under the > > > text? There should be the same amount of space *below* the word Home > > > as there is *above* the word Home. >
------------------------------------------------------------------------ List Administrator: <mailto:dreamweaver-admin@blueworld.com> To Unsubscribe: <mailto:dreamweaver-off@blueworld.com> Archives: <http://www.listsearch.com/dreamweavertalk.lasso>
Search
Lasso Programming
This site manages and broadcasts several email lists pertaining to Lasso Programming and technologies related and used by Lasso developers. Sign up today!