Scroll bar in post..

windsor

Up-and-Coming Sensation
Joined
Mar 16, 2008
Messages
309
Reaction score
0
FP$
333
Hey there. Im wondering if theres a way to add a a scroll bar to a post if they post author includes a very wide image in the post.
Right now if someone adds a image which is bigger than the width of my forum it will make the post wider so the whole image can fit in. This doesnt look very nice.

If a scroll bar was put at the bottom of the post then the width of my forum will not increase and you can still see the image.

Is there a way to do this?
My forum is http://advertise4free.org

Thanks in advance. I hope you understand.
 
Post div? I cant find that anywhere in the style css :S
 
windsor said:
Post div? I cant find that anywhere in the style css :S

In your case specifically, open:
/styles/polyethylene/theme/stylesheet.css


Find:
Code:
.postbody {
font-size: 1.2em;
line-height: 170%;
font-family: "Trebuchet MS", Helvetica, Arial, sans-serif;
}

Then apply Spyka's code. ~wink~
 
Ive put it there but no dice.
I just get a scroll bar which you cant move and the image still overflows.

Check it: http://advertise4free.org/viewtopic.php?f=28&p=669#p669

:S

This is my css code for postbody:
Code:
.postbody {
font-size: 1.2em;
line-height: 170%;
font-family: "Trebuchet MS", Helvetica, Arial, sans-serif;
overflow:scroll
}
 
What happens if you add a width to the postbody div?

For example:
Code:
.postbody {
font-size: 1.2em;
line-height: 170%;
font-family: "Trebuchet MS", Helvetica, Arial, sans-serif;
overflow:scroll;
width: 570px;
}
 
Its worked but now i got a scroll bar on every post which i dont really like the look of. Is there a way just to have the scroll bar on the posts which overflow the width of the forum?

Awesome 😀. I changed the "scroll" in the code to "auto" and it did it.
Thanks for the help everyone.
 
Back
Top Bottom