Getting two media images next to each other?

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Getting two media images next to each other?

Post by garvinhicking »

Hi!

Sadly the caption boxes require some amount of clearing, so I believe there is no way to make them float next to another with the current HTML DIVs that are being emitted?

But maybe someone with good CSS understanding could help here... :)

Best reagards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

Actually, mine just go next to another automatically. I think it's because I've got them floating left. You could remove the spacing by setting margin to 0px.

The big problem is going to be centering them, I think. Images center differently depending on browser; as I recall, you have to set text-align:center for at least one browser. And to center a wrapping div, you'd have to assign it a width.
Judebert
---
Website | Wishlist | PayPal
Post Reply