css photo arrangement

B

Bill

Hello, I am trying to make a photo page. What I want to do is make a page with photos but I want to alternate every other with different number of pictures. The first row would have one image, the second two, the third one, the fourth two and it just keeps going until ten. What I wanted to do is make this page with css and no tables. I am just learning css and am not quite sure if this is the way to go. Would you suggest putting each picture in its own <div> and then positioning each individual picture that way. Any suggestions would be appreciated
 
J

Jim Buyens

Howdy.

Yes, you could do this by putting each picture in a <div>
and then positioning all the <div>s.

However, it would be a lot simpler to:

1. Make a ten-row, two column table.
2. Merge the cells in rows 1, then the cells in row 3,
and so forth for rows 5, 7, and 9.
3. Put a picture in each remaining cell.

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------


-----Original Message-----
Hello, I am trying to make a photo page. What I want to
do is make a page with photos but I want to alternate
every other with different number of pictures. The first
row would have one image, the second two, the third one,
the fourth two and it just keeps going until ten. What I
wanted to do is make this page with css and no tables. I
am just learning css and am not quite sure if this is the
way to go. Would you suggest putting each picture in its
 
B

Bill

Thanks I knew it seemed simpler to use tables but it seems like everyone is trying to build sites with css anymore and supposeably it is better to design without tables but it seems like tables make it easier not css. Anyway thank for your help.
 
W

Wally S

Many people are using CSS, but not everyone is giving up tables. CSS and
tables work well together. Designing pages with positioning instead of
tables is tedious, and the results are unpredictable, as not all browsers
display positioning in the same way.

Wally S

Bill said:
Thanks I knew it seemed simpler to use tables but it seems like everyone
is trying to build sites with css anymore and supposeably it is better to
design without tables but it seems like tables make it easier not css.
Anyway thank for your help.
 
Top