[support] Magical CSS from nowhere!

Idan Arbel idan at arbel-designs.com
Thu Mar 10 18:30:40 UTC 2011


You can override them using !important.

 

Idan

 

From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On
Behalf Of shawn wilson
Sent: Thursday, March 10, 2011 8:26 PM
To: support at drupal.org
Subject: Re: [support] Magical CSS from nowhere!

 


On Mar 10, 2011 11:54 AM, "Ted" <ted-drupalists at webfirst.com> wrote:
>
> On 3/10/2011 11:43 AM, James Bensley wrote:
> > Anyone else have the rotor module installed
(http://drupal.org/project/rotor)?
> >
> > In rotor-view-rotor.tpl.php is this line of code:
> >
> > <div class="rotor-content"><?php print $row; ?></div>
> >
> > On an actual page this generates this html:
> >
> > <div class="rotor-content" style="position: absolute; top: 0px; left:
> > 0px; opacity: 1; display: block; z-index: 10; ">
> > <div class="rotor-content-detail"><p><img
> > src="http://site.com/picture.jpg"></p></div>
> > </div>
> >
> > Where does that damn style entry come from, I need to change it and it
> > just seems to come from nowhere! Anyone got any ideas before I
> > completely explode? :)
> >
> It's probably getting added by javascript after the page loads. Most
> likely the jquery.cycle plugin, but parts of the css/style attribute
> could come from other places as well.
>

Unless that was from firebug or the likes, view source doesn't show the
modified dom that js would produce. 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20110310/556f95ff/attachment.html 


More information about the support mailing list