Simple question about “overflow”
Posted: 06 February 2011 07:58 PM   [ Ignore ]
Newbie
Rank
Total Posts:  2
Joined  2011-02-06

Hello guys.

I have a simple question that I really don’t know if it is a non-sense or not, but I was developing a website that uses small sidebars and I noticed that the text wrapping was OK, except for long words.  If a word is long enough and doesn’t fit complete inside the sidebar, since it has no spaces, it won’t break to the next line and overlaps the border of the sidebar.

Since those are only excerpts of the main article, using overflow:hidden will fix it instead of using smaller fonts or any other solution.

My question is, will it work using the “*” in the CSS sheet, so the overflow is hidden in all the divisions (“DIV”) page wide?

I mean like;  * {overflow: hidden;}

I will do the tests, but since it will be in a couple of day, I am just asking in advance.

Thanks for any advice.

zilog

Profile
 
 
Posted: 13 February 2011 06:47 PM   [ Ignore ]   [ # 1 ]
Newbie
Rank
Total Posts:  2
Joined  2011-02-06

Does anyone now?  Thanks for your help.

Profile