Click to See Complete Forum and Search --> : List wrapping and Long text wrapping


Dragonkai
04-26-2008, 04:39 AM
Hi,

Does anyone know a way that lists can be wrapped around an image? I've been trying but to no avail.

Also, I have noticed that if a text is very long, without spaces in between the words. In a column, the word actually doesn't wrap in the column. It goes over the column and just writes over the div box itself. Is this a result of display property problem or is it something else.

MSBSpectator
04-26-2008, 05:00 AM
Not sure on the list-wrap, but for your second problem, you can use

overflow: hidden;

on whatever html is making up the column to hide anything that goes beyond the border of your column.

Dragonkai
04-26-2008, 05:45 AM
Thanks for the quick reply, but the overflow feature is not an option.

I was hoping that just like in open office or microsoft word. When a word goes over, it simply just puts it down a line with a hyphen in between.

If that's not a possibility.

Can anyone figure put my problem than:

Basically, one of my pieces of information is the categories of a certain product.

For example: hats->small->brown.

So when I am outputting this information, it acts like:
Categories:
hats/small/brown. However this is too big for my column. And as I said I was hoping it would wrap down the line, with or without the hyphen. But it doesn't and instead just goes over the column.

BTW I found something on list items wrapping around.
http://www.webmasterworld.com/css/3515356.htm
Any comments?

Any help is appreciated.

ray326
04-26-2008, 06:35 PM
hats, small, brown

Dragonkai
04-26-2008, 09:17 PM
Interesting idea. I'll use it.