Jump to content

cant get margin-left to work.


darksniperx
 Share

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

This thread is more than a year old. Are you sure you have something important to add to it?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • 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.