When displaying aggregated news feeds the news items start after a page of white space.

Comments

dreed47’s picture

seems to work ok in IE but does not work in Firefox

dreed47’s picture

Version: 4.5.x-1.x-dev » 4.6.x-1.x-dev

This seems to have something to do with IE and FireFox handling floats differently. IE is floating the center news content up beside the left menu while Firefox is not so the center news content is starting after the menu on the page. I don't have much experience with CSS so not having much luck fixing this problem.

dreed47’s picture

oK.. A classic case of not researching this enough in the forums. There are several other posts related to the use of "clear" in drupal.css and the impact it sometimes has on themes. I resolved this particular problem by overriding the clear in the theme's stylesheet for #aggregator .news-item. I don't think this will solve all my floating problems with this theme but it seems to have fixed this problem

#aggregator .news-item {
padding-bottom: 1em;
margin-left: 2em;
margin-top: 0;
padding-top: 0;
clear: none;
}

clear: none;