Hey.
I was making this gallery page (<!-- m --><a class="postlink" href="http://cheers-sendai.com/gallery.php">http://cheers-sendai.com/gallery.php</a><!-- m -->) and I put text in paragraphs under the images. I gave the paragraphs a width, but the text seems to ignore it and overflows the box. I just want it to wrap. I'm kinda baffled...
The relevant CSS is at the end of the stylesheet (http//cheers-sendai.com/cheers8.css).
I hope someone can help me out here.
Thanks.use this property in style attribute or stylesheet
overflow: scroll;
or
overflow: hidden;Thanks, but I don't want the text scrolling or hidden. I want it wrapped, which is the normal behaviour of text in a paragraph - mine just isn't... playing the game.#gallery #photos li p {
width:160px;
white-space:normal;
}Thanks Fang,
I thought it was something like that, but I couldn't find where I'd set white space to not wrap. The problem was my spelling - I didn't put the hyphen in when I was searching the file.
erm... thanks again.use this property
white-space:nowrap;
I was making this gallery page (<!-- m --><a class="postlink" href="http://cheers-sendai.com/gallery.php">http://cheers-sendai.com/gallery.php</a><!-- m -->) and I put text in paragraphs under the images. I gave the paragraphs a width, but the text seems to ignore it and overflows the box. I just want it to wrap. I'm kinda baffled...
The relevant CSS is at the end of the stylesheet (http//cheers-sendai.com/cheers8.css).
I hope someone can help me out here.
Thanks.use this property in style attribute or stylesheet
overflow: scroll;
or
overflow: hidden;Thanks, but I don't want the text scrolling or hidden. I want it wrapped, which is the normal behaviour of text in a paragraph - mine just isn't... playing the game.#gallery #photos li p {
width:160px;
white-space:normal;
}Thanks Fang,
I thought it was something like that, but I couldn't find where I'd set white space to not wrap. The problem was my spelling - I didn't put the hyphen in when I was searching the file.
erm... thanks again.use this property
white-space:nowrap;