nodes with profile photos and class="ad-auto-inserted"

underpressure - August 24, 2007 - 06:24
Project:Adsense Injector
Version:5.x-2.5-1
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

I noticed on my site nodes with user photo displayed the content isn't clearing the photo.

I'm using 5.x.2.5-1

Here is a page with the problem: http://ravalonline.com/node/715 - it's showing up in my blogs and photos.

using firebug I found the css relating to class="ad-auto-inserted" was the cause:

<span class="submitted">
Submitted by
<a title="View user profile." href="/user/26231">Raval</a>
on Thu, 07/05/2007 - 12:17pm.
</span>
<span class="taxonomy"/>
<div class="content">
<div class="ad-auto-inserted" style="margin: 0pt 1em 0.25em 0pt;">
<p/>
<p>If you're a regular visitor to this site you would be familiar with "under

I find removing float from the following related css solves the problem.

element.style {
float:left;
margin-bottom:0.25em;
margin-left:0pt;
margin-right:1em;
margin-top:0pt;
}

Please excuse me if my explanation is poor, it's after 2am and most of my brain has shutdown for the night.

 
 

Drupal is a registered trademark of Dries Buytaert.