incubator-adffaces-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicolas Kalkhof <nkalk...@web.de>
Subject [Trinidad] setting panelBox header/content width
Date Wed, 24 Jan 2007 12:15:14 GMT
Hello folks,

I'm trying to set the with of the header and content inside a panelBox to the same width than
the panelBox body. 
In principal this works but only if I apply pixel values in the style css file. percentage
does not. 

the following example draws the panelBox body to maximum width:
<tr:panelBox inlineStyle="width:100%"  background="dark" text="header text">
<tr:outputText value="content text"/>
</tr:panelBox>

the following doesn't work (header/content width is determined by length of the text):

af|panelBox::header {
   width: 100%;  
}
af|panelBox::content {
   width: 100%;
}

the following does work:

af|panelBox::header {
   width: 210px;  
}
af|panelBox::content {
   width: 210px;
}

why doesn't the percentage work? what do i have to do to set the header/content always to
100% width?
can anyone give me a hint on this?

regards,
nicolas
_______________________________________________________________________
Viren-Scan für Ihren PC! Jetzt für jeden. Sofort, online und kostenlos.
Gleich testen! http://www.pc-sicherheit.web.de/freescan/?mc=022222


Mime
View raw message