SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Addict Php_penguin's Avatar
    Join Date
    Aug 2004
    Location
    Colwyn Bay, Wales, UK
    Posts
    287
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    overflow (eg: Ut sagittis fringilla est. Integer dapi...)

    How do you get the effect with CSS where if something overflows he content of a box (such as a div) it doesnt scroll or hide it, it puts the (...) there instead?

  2. #2
    ☆★☆★ silver trophy vgarcia's Avatar
    Join Date
    Jan 2002
    Location
    in transition
    Posts
    21,236
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by Php_penguin
    How do you get the effect with CSS where if something overflows he content of a box (such as a div) it doesnt scroll or hide it, it puts the (...) there instead?
    That's probably not done with CSS...

  3. #3
    SitePoint Addict Php_penguin's Avatar
    Join Date
    Aug 2004
    Location
    Colwyn Bay, Wales, UK
    Posts
    287
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    im sure i saw it somewhere... how annoying... the reason i want it is cause i have a 120px X 120px box with text in it and i want the overflow to work properly. I think it involved the "overflow:hidden" attribute but im not sure how...

  4. #4
    SitePoint Addict Php_penguin's Avatar
    Join Date
    Aug 2004
    Location
    Colwyn Bay, Wales, UK
    Posts
    287
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    never mind! solution i decided on was to set the overflow to hidden and make the entire paragraph a link (with CSS styling). works well enough for me! thankyou anyway


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •