padding: none;
(i think)
Hey
I've used CSS to put a 1px border round a few photos but there's a 2px gap between the photo and the border along the bottom edge.
Any idea what's causing this?
My CSS is:
.image {
outline: 1px solid;
margin-right: 50px;
}
Hmm...doesn't seem to be padding...
Have a link?
Fortune cookie says: "You will be successful, if you don't screw up."
SidekickWebDesign.com
Are you sure it's not the images that have the white border? I've done that before *hangs head in shame*
Fortune cookie says: "You will be successful, if you don't screw up."
SidekickWebDesign.com
Dunno without looking, but is there a reason why you're using outline:; over border:;? It looks essentially the same but renders differently, which may (or may not) be causing your problem.
Haha I'm absolutely sure!
link: Sam Brill Photography
PR - I'll try using border instead.
Please note that I've only spent an hour or 2 on it so far so spacings aren't sorted out etc... :)
Ah, the outline is applied to li.image isn't it? And not the actual image. There's your issue I'd think.
Check the forum often for the latest design announcements. Everything from graphic design and web design, to films and music. Estetica is a great place for people to get together and help each other out.
Bookmarks