Active
Project:
Arthemia
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Nov 2009 at 23:42 UTC
Updated:
4 Nov 2009 at 00:41 UTC
For the life of me, I cannot figure this out...
I have an image that I put into the block. The block is set to fill the headline region.
There are about 10 extra pixels at the bottom of the image, making it look like the padding was set to 20px.
Gone through style.css line-by-line to figure out what is causing the problem and have not come up with any good solutions. Had the same issue with sidebar image blocks, but fixed that with #sidebar p { margin: 0px; } -- any similar solution for the headline region did not work.
Any ideas?
Ideas?
Comments
Comment #1
naheemsays commentedchances are that the image is being surrounded by p elements in the output, and thus the following css statement affects it:
so somehow either prevent the p elements being added to the block (this can be done with a new input format without the linebreak filter I think), or in local.css override the above statement to remove the padding.
A more general fix that works is welcome, but I could not figure one out.