Css in Teaser Thumbnail ?

Discussion in 'Drupal' started by ghostape, Jan 8, 2010.

  1. #1
    I use Teaser Thumbnail success but when i align=left in articles,the character so nearly with images.Now i want they have margin about 5px but don't known how to.Anyone can help me ?
    [​IMG]
    Thanks!
     
    ghostape, Jan 8, 2010 IP
  2. ghostape

    ghostape Well-Known Member

    Messages:
    119
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    101
    #2
    Images in the teaser have a "teaserthumbnail" class () that you can use to theme your thumbnails. Just add you code in the style.css spreadsheet of your theme, for example:
     
    ghostape, Jan 8, 2010 IP
  3. Mehrpadin

    Mehrpadin Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Hey there,


    I personally prefer

     .node img { margin: 10px; } 
    Code (markup):
     
    Mehrpadin, Jan 12, 2010 IP