3 replies [Last post]
loungepenguin
loungepenguin's picture
Offline
Enthusiast
Brighton UK
Last seen: 8 years 2 weeks ago
Brighton UK
Joined: 2005-01-11
Posts: 213
Points: 20

Could someone please take a look at http://www.loungepenguin.co.uk/example.jpg

I'm marking this up using a liquid 100% width DL with the title of the product in the DT.

I float the dd with the image in to the left, then I float the DT to the right but then I lose the width on the dt. If I had 100% width on the DT then the image DD won't move up. I've tried various solutions but none work.

The only way I can get this to work would be by having the image in the DT or by having a fixed width.

Does anyone have any solutions to what must be a fairly common problem?

Any help appreciated as always

Chris..S
Chris..S's picture
Offline
Moderator
Last seen: 7 years 11 weeks ago
Timezone: GMT+1
Joined: 2005-02-22
Posts: 6078
Points: 173

Are your images all the same

Are your images all the same width?

loungepenguin
loungepenguin's picture
Offline
Enthusiast
Brighton UK
Last seen: 8 years 2 weeks ago
Brighton UK
Joined: 2005-01-11
Posts: 213
Points: 20

I'm not sure at the moment.

I'm not sure at the moment. Ideally if there is a way to do this without the need to know the width that would be fantastic but I can see why that would be difficult.

If there isn't then I'm just going to have to make sure all the images are. Is there a solution either way?

Thanks

loungepenguin
loungepenguin's picture
Offline
Enthusiast
Brighton UK
Last seen: 8 years 2 weeks ago
Brighton UK
Joined: 2005-01-11
Posts: 213
Points: 20

I was just doing a google

I was just doing a google search on how to achieve this and came across this post I wrote about 2 years ago!

I'm still unsure of the best way to do this. Even if I do know the image size it's still tricky.

anyone know of a decent solution?