Re: WebContentPortlet

Tue, 24 Nov 2009 13:36:25 -0800


On Nov 24, 2009, at 6:38 AM, Robert Walthall wrote:



My html has
<Table border=1>

but the border does not show up in the WebContentPortlet.

Any thoughts on how to get the borders to show up?


Ive been wondering about that myself. So I wrote a little table in my content:

<table border="1">
<tr><td>test</td><td>hkdslk</td></tr>

And of course the border doesn't show up


By pointing Firebug at the table, I discovered why, it inherits this setting:

.portlet table, .portlet th, .portlet td {
border:medium none;
font-size:small;
vertical-align:top;
}

as well as:

.jetspeed table, .jetspeed th, .jetspeed td {
border:medium none;
vertical-align:top;
white-space:normal;
}

By removing both, your borders should show up again. You can 'test' this in Firebug by pressing the red icon next to style leaving

.portlet table, .portlet th, .portlet td {
font-size:small;
vertical-align:top;
}

as well as:

.jetspeed table, .jetspeed th, .jetspeed td {
vertical-align:top;
white-space:normal;
}

I think this is a bug in Jetspeed: we should not be forcing cascading styles on the inner content by element type.



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to