|
Posted by Jukka K. Korpela on 05/29/07 14:45
Scripsit stereotyyppi:
> I have written in my css td cells height: 20px;
Wrong choice. For all that you can know, 20px might be far too small to
accommodate text in the smallest size legible to a user. Browsers may, and
actually will, often override your height and width settings, but that's no
excuse for using the px unit.
> but IE doesn t care about about it, instead it adjust
> its height in relation with neighbour td cell.
>
> the pages can be found in:
>
> http://www.helia.fi/~a0500249/paltamo/index.html
You have a far too complicated layout table, with confusing colspan and
rowspan attributes, which probably confuse IE, too. Moreover, you have
syntax errors in your markup (though they are probably unrelated to this
issue). Always use a validator before asking for help with a web page in
public.
You also confuse anyone who tries to read the code when you use class names
like "gray_navi" - for an element that is _not_ rendered in gray.
It's probably easiest to start from scratch. The layout idea as such is not
particularly bad (just too much navigation as usual), and using a table is
the most practical way to implement it, but you should use the simplest
possible table then. You only need one (1) rowspan attribute and no colspan
attribute. Don't use any width or height attributes in the table; handle
such issues in CSS.
--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/
Navigation:
[Reply to this message]
|