Wikipedia talk:Article message boxes/issuebox demo

Latest comment: 16 years ago by Davidgothberg

I have to say, I don't like the padding in v0.4. One of the reasons I liked this new style was that it was compact. — Jack · talk · 13:15, Saturday, 8 September 2007

Do you mean the extra padding between the images and the text?
Yeah, it is weird. I did change the CSS to make it simpler to use, so that no class tag would be needed for the text cell. I assume you mean this: It caused an extra two pixels on each side of the images. I haven't figured out why yet. The padding: 2px; that I added to the image cells is the default value. I just had to add that now since the code table.issuebox th, table.issuebox td { padding: 0.25em 0.5em; } otherwise causes that padding for the image cells too. So in theory it should not cause two extra pixels compared to before.
I agree with you that it became to wide, so I have now changed the CSS code to use 0 pixel right padding for the image cell. (Oddly enough in some cases that removed 4 pixels to the right and 2 pixels to the left! Weird.) But now it looks more compact which is fine. What do you think? (CSS code is version 0.5 now.)
Unfortunately the CSS code now became a bit cluttered...
--David Göthberg 17:58, 8 September 2007 (UTC)Reply