Jump to content

cant get margin-left to work.


darksniperx

Recommended Posts

Here is the div element, its an id.

 

<div id="sidebar-left"><div id="sidebar-left-inner" class="region region-left">
          <?php print $left; ?>
        </div></div> <!-- /#sidebar-left-inner, /#sidebar-left -->

 

Although I have no idea what this means 'class="region region-left"'. I have tried to remove it, nothing happends.

There is probably a CSS selector with a higher precedence than the selector you are trying to use.

 

Use Firefox with the firebug plugin, and inspect that element (the left sidebar) to find out which selector is taking higher precedence.

 

Actually, there is one other possibility with Drupal - you may have your CSS set to cache. Go to admin->settings->performance (Drupal 6), and see if it is. You can clear your cache there, and any changes you have made may start to work, if there isn't a selector with higher precedence.

There is probably a CSS selector with a higher precedence than the selector you are trying to use.

 

Use Firefox with the firebug plugin, and inspect that element (the left sidebar) to find out which selector is taking higher precedence.

 

Actually, there is one other possibility with Drupal - you may have your CSS set to cache. Go to admin->settings->performance (Drupal 6), and see if it is. You can clear your cache there, and any changes you have made may start to work, if there isn't a selector with higher precedence.

 

I have tried clearing css cashe. No change.

 

Thanks, I completely forgot about firebug. It was layout-liquid.css that was taking precedence.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.