miniBB ® miniBB®
miniBB Support Forums
 | Forums | Register | Reply | Search | Statistics | Manual |
Master Class miniBB Support Forums / Master Class /   

css: % or px

Author cakeman
Registered
#1 | Posted: 21 Dec 2004 17:08 
Hello,

In minibb2.0, you choose te fix the forum width with the number of pixels (px). In fact it is 770px. Mychoice is different. Indeed I want that the forum width is adapted to the screeen width so The larger is set with %.
I found one problem is the css that concerns the last discussion cells (class tbtransparent ).
With that code, I have that:

.tbTransparent{
width: 95%;
font-family: Verdana,Arial,Helvetica,sans-serif;
background: transparent;
font-size: 11px;
line-height: 15px;
}


And with this code, I have that:

.tbTransparent{
width:770px;
font-family: Verdana,Arial,Helvetica,sans-serif;
background: transparent;
font-size: 11px;
line-height: 15px;
}


The html code is exactly the same. Use "<nobr>" is a solution that I found but it is not HTML valid. So it is a css problem but I don't find the solution.
Is anybody has an idea ?

Author Team
8-)
#2 | Posted: 21 Dec 2004 17:15 | Edited by: Admin 
I think, this is not CSS problem, but editing some language files variables this way will help:

$l_sortBy='Sort&nbsp;by:';
$l_newAnswers='Latest&nbsp;posts';
$l_newTopics='New&nbsp;topics';

$l_sortedBy='Sorted&nbsp;by:';

Another words, insert &nbsp; (non-breakable space) instead of ' ' and you are here...

Author cakeman
Registered
#3 | Posted: 21 Dec 2004 17:34 
Wouhh !
Thanks a lot ! It works.
Definitively, I don't like this kind of problem with special charactere like &nbsp; ... :p

Author Team
8-)
#4 | Posted: 21 Dec 2004 17:44 
I agree, it's not the best solution, but I really don't know why browser interprets 50% cells this way.

Master Class miniBB Support Forums / Master Class / css: % or px Top

Your Reply Click this icon to move up to the quoted message

 Short link for this topic:

 ?
Only registered users are allowed to post here. Please, enter your username/password details upon posting a message, or register first.


Before posting, make sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.
 
miniBB Support Forums Powered by Forum Software miniBB ® Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contacts
Try the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
Captcha Addon for miniBB