Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 209
  • Last Modified:

div width vs content width

i have a website and the content of an entry length is bigger than the div's width.what should i do to don't show entry length which is more longer than the divs'width


hebele hebe|le
                    |
                    |
                    |

i want this to be


hebele hebe|
                    |
                    |
                    |
0
btocakci
Asked:
btocakci
  • 2
1 Solution
 
xberryCommented:
do you have a code sample ?

Actually you could limit the entries width to have same as the surrounding div

by giving the entry-elements a width, too, or setting
a max-width in the style-sheet.
0
 
xberryCommented:
Sorry, I reread and now seem to understand.
What to do is:

<div style="overflow: hidden;"> ... entries that are too long </div>
0
 
btocakciAuthor Commented:
thanks :)
0

Featured Post

Become an Android App Developer

Ready to kick start your career in 2018? Learn how to build an Android app in January’s Course of the Month and open the door to new opportunities.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now