Advertisement

07.04.2007 at 03:29AM PDT, ID: 22674863 | Points: 250
[x]
Attachment Details

Image and text layout problem in CSS

Asked by dj_humpyg in Cascading Style Sheets (CSS)

Tags: , , ,

Hi,
I have a CSS problem. Basically if you imagine a 3 column layout (we can in fact forget about the 1st and 3rd columns), the second column is flexible, so the width changes depending on browser size.

What I'd like to add in is 3 images with some text underneath (relating to each image). However, if the browser window is short, then it will automatically wrap image 3 and related text underneath the image1 (and text) and image2 (and text).

[image1]   [image2]   [image3]
text text     text text     text text
text text     text text     text text

or if there's a narrow browser/width.

[image1]   [image2]
text text     text text

[image3]
text text

---
Can anyone help please?Start Free Trial
[+][-]07.04.2007 at 04:01AM PDT, ID: 19417751

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.04.2007 at 07:04AM PDT, ID: 19418575

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32