Stupid cells
- Started
- Last post
- 22 Responses
- Atkinson
My brain has switched off. Can someone tell me why the middle row is higher than the bottom? Each cell is 88 wide, I need them all the smae height. PS I'm not a designer!
- Nairn0
b00b
- ********0
hey atkinson, is that a wordpress blog implementation you're running in your site?
- Atkinson0
I'll tell you if you tell me why the cells are too big!
Hmm, yes it is
- e-pill0
on which cells or links are the cells too big?
- Atkinson0
the menu row appears about 2px higher than the shop row in FF on winxp
- ********0
i would try
"tr" all in one line
and clear the  
thk for the credit.
- ********0
clear the space written is ascii
- ********0
"menu" has 81 width and the other 88
"shop" is missing width
and after "junk" there's an exceeding TR with 21 height
- Atkinson0
yea, the first column is 81, and there's an extra row, that's fine. I just don't get why the 2nd row is about 2px higher than the third
- Atkinson0
AAARGHHH
- ********0
smetimes there's a blank space after a tag closure. there's such in both of your "tr" lines. maybe clearing that space solves it. cells are picky.
- Atkinson0
no joy with that I'm afraid, thanks for suggestion though
- ********0
i just deleted every " " and it sorta fixed it ;)
- Nairn0
A very hastily and shoddily version done in css..
http://concep3.com/dump/nt_atkin…
play with the padding values to shunt your text around each cell.
- ********0
clear the & n b s p ;
- Nairn0
..any use..?
- Atkinson0
hmm, kind of, thanks. What I've done is delete that row [the big one] and copy and paste the small one, duplicating it - then changed the info in each cell!
Is it possible to assign css to a particular table or cell?
- Nairn0
Yes. You'll notice I've named two cells 'empty', which have their own specific class set to it.
The reason I elected to redo it in css is that you can change the overall structure by editing the TD declaration.
It also makes it a little bit lighter and easier to read the code ;)
- Nairn0
er.. also:
If you wish, you can set a css declaration for ALL tables on your page by adding a TABLE declaration. Otherwise, you can just set a new style and give it a name - eg.
.tableStyle
and use style="tableStyle" in the html Table tag.