You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by ma...@websoft.fi on 2006/10/07 14:38:23 UTC

Couple small (yet nutty) bugs in html-tables.css?

Was trying to get tables to have 100% cell height, and just couldn't make
it working good. Buggy browsers sure don't help in finding the problems, but
finally I decided to recheck the jetspeed's own css-files, and seems there
were exactly the kind of mistakes I was by now expecting (even though they
shouldn't have caused problems, if I understand CSS stuff correctly (which
very well might not be the case)).

relevant entries in the original
../jetspeed/decorations/layout/css/html-tables.css:

.portlet th, td, input {
    font-family: Verdana, Helvetica, Arial, sans-serif;
    font-size: small;
}

.portlet table, th, td {
    vertical-align: top;
    font-size: small;
    border: none;
    /* action buttons shifts right a few millimeters by the following */
    /*white-space: nowrap;*/
}

...which, I think, should have following selectors instead:

.portlet th, .portlet td, .portlet input { ...

.portlet table, .portlet th, .portlet td { ...

This latter way solved my problems, and looks more like "it should be this
way", but reading CSS spec and thinking about it, they shouldn't have
caused me any problems in the first place, since my own css files define
more specific selectors (and thus should override the simple selectors of
"th" or "td"), and are also read in later. Go figure.



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


Re: Couple small (yet nutty) bugs in html-tables.css?

Posted by ma...@websoft.fi.
Stupid meh.. forgot some crucial info, like which version..

Don't remember exactly what version we're using, but we had to fetch a new
one from SVN repository and build it manually like few weeks ago (to be
able to use nested layouts properly), so something relatively recent.

Also, quick searches in bug database didn't seem to catch anything on
this. (or we're way too many pages down the list if there is).


  Markku Hassinen



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org