Thread / Post width (css)
VonSzarvas
Posts: 3,523
This little thing has been nagging me for a while. No big deal, but it is nice to keep things tidy, and maybe this has not been noticed by anyone else...???
For example, a recent post at: http://forums.parallax.com/showthread.php?t=127166
Viewing the page with FF on my netbook (ie. small screen device if that matters), the width of the post with the code in is MUCH wider than the other posts on the page. It causes the scroll bar to appear, and painful scrolling to be required.
It is almost as if the word-wrap does not work with stuff in tags; at least in this case within code tags.
It might more likely be a simple css/styling issue, that the code tag area is set to (or inherits) a different (much wider or 100% perhaps) width than the rest of the post.
If this is something that could be fixed, that would be very nice !
If it would help Parallax for me to analyse the issue, I would be happy - just shout. Of course it would take "some" time; whilst I would VERY gladly do it, it would only be sensible if needed!
For example, a recent post at: http://forums.parallax.com/showthread.php?t=127166
Viewing the page with FF on my netbook (ie. small screen device if that matters), the width of the post with the code in is MUCH wider than the other posts on the page. It causes the scroll bar to appear, and painful scrolling to be required.
It is almost as if the word-wrap does not work with stuff in tags; at least in this case within code tags.
It might more likely be a simple css/styling issue, that the code tag area is set to (or inherits) a different (much wider or 100% perhaps) width than the rest of the post.
If this is something that could be fixed, that would be very nice !
If it would help Parallax for me to analyse the issue, I would be happy - just shout. Of course it would take "some" time; whilst I would VERY gladly do it, it would only be sensible if needed!
Comments
See how the above code section stretches beyond the bounds of the normal post width!
-Phil
I did just sneak a very quick look. I can indeed see the width hard-coded to 750px at the relevant html block. Maybe usefully though, the block also has a class assigned "alt2".
As the site css is inserted to each page, I suspect it must be in one file somewhere... "vbulletin_css.css" perhaps?
In that case, maybe "width:80% ! important" could be added to the alt2 style definition?
Just a quick thought. Might give the old FF dev. tools a spin when I am back in the office to prove if that would work or be nonsense!
-Phil
We're preparing an upgrade to vBulletin 4.x. I'll take a look this issue in the new software and find out if it's been implemented differently.