miniBB Support Forums | 15 years on The Web
miniBB ®

miniBB

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

css: % or px

 
Author cakeman
Partaker
#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
Partaker
#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
 Share Topic's Link

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


 ?
You are welcome to post anonymously, by entering a nickname with no password (if the similar Username has not been taken yet), or by leaving both fields empty. If you have a forums account, you can also sign in from this page without posting a message, or sign in and post at once.


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  Contact Us
Get the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
↑ TOP