Style for adjust content

Discussion in 'CSS' started by +:::Spider25:::+, May 26, 2006.

  1. #1
    I have several problems trying to adjust text, images and another divs to their containers, is there any style for this containers?

    for example; I have a text inpredictably large, but I have no space to show it complete, I would like to show only a number of characters in my div, is this possible?

    another example: I have an image and it can be larger or widther than its container, I would like it proportionally inside its container, is this also posible ?

    Thanks a lot

    :D
     
    +:::Spider25:::+, May 26, 2006 IP
  2. johneva

    johneva Well-Known Member

    Messages:
    1,480
    Likes Received:
    46
    Best Answers:
    1
    Trophy Points:
    170
    #2
    I am not sure what you asking and I would say the others are just as confused by your questions as nobody has replyed.

    Try explaining it again better and if possiable give us a link to the page in question.
     
    johneva, May 28, 2006 IP
  3. +:::Spider25:::+

    +:::Spider25:::+ Peon

    Messages:
    69
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Ok the first part.
    I want a div does not grow when the text contened inside be larger than the div's space.
    If my div is perfect for "bla bla bla", It woudn't groww if the text is bigger: "bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla "
    I do not care if the text is cutted, I mean the first words or letters(dependig) .

    Thanks a lot
     
    +:::Spider25:::+, Jun 2, 2006 IP
  4. kk5st

    kk5st Prominent Member

    Messages:
    3,497
    Likes Received:
    376
    Best Answers:
    29
    Trophy Points:
    335
    #4
    {overflow: hidden;}

    cheers,

    gary
     
    kk5st, Jun 2, 2006 IP
  5. +:::Spider25:::+

    +:::Spider25:::+ Peon

    Messages:
    69
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Thanks... kk5st
     
    +:::Spider25:::+, Jun 7, 2006 IP