2013-10-28, 06:33 PM
Check out the first picture, which is a forum from index.php
Now one from forumdisplay.php
So the CSS is a bother here for me. The lastpost_bit from index.php doesn't stretch to it's contents. The avatar is in a <span> before the text. I want them next to each other obviously, and the avatar should be floating to the left (so I use float:left;). But the smalltext span is being a blueberry, or maybe I should say, that it's the tablerow? Why doesn't this guy stretch it's borders to fit the two spans.
As you can see from forumdisplay.php, Mr. t_row does like to stretch it's borders here for the same two elements as in index.php (two spans). Oh and if I resize the browser window in forumdisplay.php, Mr. t_row likes to resize too and eventually displaying me this:
Why does it resize here? Because the last tablerow in index.php is always fixed.
Also the tablerow where the name of the forums are in:
..they do move along while resizing. What's up with that?
UPDATE:
I removed the style="white-space: nowrap" property from the tablerow. This fixed the overflow of the span.
Still I'm wondering. What is deciding the width of the tablerows?
Why is this tablerow very wide?
Whereas this one so small:
Now one from forumdisplay.php
So the CSS is a bother here for me. The lastpost_bit from index.php doesn't stretch to it's contents. The avatar is in a <span> before the text. I want them next to each other obviously, and the avatar should be floating to the left (so I use float:left;). But the smalltext span is being a blueberry, or maybe I should say, that it's the tablerow? Why doesn't this guy stretch it's borders to fit the two spans.
As you can see from forumdisplay.php, Mr. t_row does like to stretch it's borders here for the same two elements as in index.php (two spans). Oh and if I resize the browser window in forumdisplay.php, Mr. t_row likes to resize too and eventually displaying me this:
Why does it resize here? Because the last tablerow in index.php is always fixed.
Also the tablerow where the name of the forums are in:
..they do move along while resizing. What's up with that?
UPDATE:
I removed the style="white-space: nowrap" property from the tablerow. This fixed the overflow of the span.
Still I'm wondering. What is deciding the width of the tablerows?
Why is this tablerow very wide?
Whereas this one so small: