Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment | File | Size | Author |
---|---|---|---|
Clipboard01.jpg | 35.44 KB | ferdienandp |
Comments
Comment #1
Jeff Burnz CreditAttribution: Jeff Burnz commentedThis 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.
Comment #2
ferdienandp CreditAttribution: ferdienandp commentedThis 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:
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;
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.
Comment #3
ferdienandp CreditAttribution: ferdienandp commentedComment #4
Jeff Burnz CreditAttribution: Jeff Burnz commentedelement.style is not a selector, its Firebug telling you there is inline CSS.