I am applying few cosmetics to my projects by removing padding, spaces,

tags and etc to come up with border-less objects. While using firebug i encounter this line:

element.style {
padding-bottom: 0;
{

normally firebug tells you where to make changes on the css file, but for this instance I have no idea where to place the above code in the css file.

thanks.
ferdienandp

CommentFileSizeAuthor
Clipboard01.jpg35.44 KBferdienandp
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Jeff Burnz’s picture

This usually means something is applying inline CSS on the element. I don't know what element that is because the screen shot does not show me, but you have to write your own selector, and usually you have to use !important to override an inline style.

ferdienandp’s picture

Title: element.style » Better picture of the problem

This was the initial image for the page. http://postimg.org/image/dfzhdyakj/

Using firebug to debug the webpage look. I removed the bottom padding of the box, i then decreased the bottom-padding to 160px (from 208px) and the suggested code was:

element.style {
    height: 160px;
}
.panels-flexible-region-clone_of_profile_page-next {
    float: left;
    width: 17.7702%;
}
.panels-flexible-region {
    padding: 0;

Now it looks right viewing it in the browser using firebug (http://postimg.org/image/dxc2irj61/), but when i place the element.style code inside the css file;

element.style {
    height: 160px;
}

nothing changes, the bottom-paddings are still there.

So where should this "element.style" code be placed within the css file.

Looking forward for some input.

ferdienandp’s picture

Jeff Burnz’s picture

Title: Better picture of the problem » element.style
Status: Active » Fixed

element.style is not a selector, its Firebug telling you there is inline CSS.

Status: Fixed » Closed (fixed)
Issue tags: +

Automatically closed - issue fixed for 2 weeks with no activity.