Hello,

sometimes a teaser contains just out of a few words. But the node-heigth seems to be only dependent from where the text ends, not from where a thumb/Only local images are allowed. ends. How can I change that? (I don't want to add
's to the teaser offcourse :D)

Thanks in advance, sorry if it's a stupidnewbee-question.

Nobifkie

CommentFileSizeAuthor
fout.jpg43.78 KBnobifkie

Comments

hunvreus’s picture

This is more of a design/layout you have here. I would need to see you actual page to solve the problem, but you basically have too approaches:

  • Solve this by using PHP, basically by making sure the output of your teaser is of the length of exactly X characters. Drupal uses a special function to build the teasers that intends to not cut words and take into account several things (like tags etc...)
  • Solve this by CSS, maybe using a "clear-block" class on one of the elements
nobifkie’s picture

Thanks for your reaction, I'll try to understand clear-blocks and add one of those animals/machines or whatever they be :-) to my css. Have a nice day!

nobifkie’s picture

Status: Active » Fixed
nobifkie’s picture

FYI: Adding "overflow:auto; " to the css of the node did the trick, thanks to http://www.sitepoint.com/blogs/2005/02/26/simple-clearing-of-floats/ this one.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.