Give help. Get help.

  • # September 25, 2009 at 9:46 am

    i always got struck in one part in css
    suppose i have a div for which i have specified width…as a width is specifeid so any text should not overshoot that specified matter how long it get..but whenever i type a long text which is over the size of div it overshoot the div…….i want that it should come in next line in the same div without overshooting.and i dont wnt to use overflow:auto or to achieve this..if u explain with example it will b great

    # September 25, 2009 at 11:30 am

    The text should wrap automatically. (Unless you have no spaces at all in your text) Can you provide a sample of the code you’re using – including html doctype, or better still, a live page to look at.

    # September 25, 2009 at 12:21 pm

    yes box i was testing out with text having no space..after i tested with text having spaces in it is fine..but how to deal with text having no space (i dont think there exist a valid word having no space in it which is so long for my div )…but if there is any or someone make out of his own while submitting a comment how to deal with that then…

    # September 25, 2009 at 12:42 pm

    If no single word exists that is longer than your box you are fine. If you are really worried about people typing in a zillion characters without spacing into that area and having it ruin the design, then bust out overflow: hidden; to prevent it.

    # September 25, 2009 at 12:57 pm

    ok chris and box..thanks for helping out

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.