So i just installed version 4.7 beta6 and there seems to be a change to the way teasers are displayed, namely there is a new <br class="clear-both"> above the links. This leaves me with a lot of space between my content and links which i don't want.

I checked the drupal.css file in the misc folder and noted that the style for this break is specified with a height of 0px. This doesn't seem to work on explorer or firefox. If i add line-height: 0px instead it looks ok on explorer but still doesn't work on firefox.

Anyone know the correct way to make the break take up no space? If i knew where this br was in the code i would just take it out. It's obviously not in the theme files.

Thanks for any tips!

Comments

RobRoy’s picture

I threw this in my drupal.css around line 95 where br.clear was.

br.clear, br.clear-both {
  clear: both;
  height: 0px;
  margin: 0px;
  padding: 0px;
  line-height: 0px;
}

Probably over-kill but it works.

Rob
------------------
Some of my Drupal sites:
Quotes | MySpace Layouts

mariagwyn’s picture

I ran into a problem with my image galleries. The following code was put in between the description tags:
br class="clear-both". I found no css command related to it, even in drupal.css. Because I don't want it to clear, I created a css tag for .clear-both and set it to float left. However, what I would like to know is:

1. Is there a reason for this tag on the break?
2. where is it being generate (it is not in image.module, I checked).

Any ideas?
Maria

Tommy Sundstrom’s picture

I got rid of the problem by removing the Inline file filter.

I've tried to analyze the inline module, but I can not find where it actually adds the br-tag. Strange...

Tommy Sundstrom’s picture

On another site, I had to disable the img_assist module (and clean out the cache) to get rid of those anying br-tags.