Advanced Web Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsWeb DesignAdvanced Web Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old January 7th, 2005, 07:07 AM
devel devel is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 19 devel User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Tableless image gallery

Hello,

For the second time in my life, I have and want to make a image gallery without tables.

I used lists for my first one, but maybe there is a better solution.

Please take a look here:
http://www.astraroger.ro/sisteme/trocal-s900/
http://www.astraroger.ro/produse/ferestre/

I would like to know what methods people use.

Kindest regards,
Razvan Pop

Reply With Quote
  #2  
Old January 17th, 2005, 12:57 AM
Dripz Dripz is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Location: Faroe Islands
Posts: 1 Dripz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 sec
Reputation Power: 0
Lightbulb

Quote:
Originally Posted by devel
Hello,

For the second time in my life, I have and want to make a image gallery without tables.

I used lists for my first one, but maybe there is a better solution.


Using tables is acceptable when it's an image gallery. Well, in my opinion it is, but it is debatable..

But to answer your question:

I would probably just throw the images inn a div and use float:left; to position the images. ( <img src=".." alt=".." style="float:left" /> )

When there are several images inn a div, and all the images use float:left; then they are forced to the left side of the previouse image. They are forced until there's no more place inn the div and therefor start a new row of images below.

Reply With Quote
  #3  
Old January 17th, 2005, 05:13 PM
stumpy's Avatar
stumpy stumpy is offline
May contain nuts.
Dev Articles Regular (2000 - 2499 posts)
 
Join Date: Aug 2002
Location: Sydney, AU
Posts: 2,058 stumpy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 8 m 57 sec
Reputation Power: 9
Send a message via ICQ to stumpy Send a message via MSN to stumpy
I'd use a list, after all, isn't that what a gallery is, a list of images?
Check out all the examples of semantic image galleries here: http://css.maxdesign.com.au/floatutorial/
__________________
DevArticles Moderator
BlueSix - Web Development and Consulting

Reply With Quote
  #4  
Old January 23rd, 2005, 03:20 PM
Triumph Triumph is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Posts: 4 Triumph User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 28 m 51 sec
Reputation Power: 0
You can check mine out at
http://members.verizon.net/vze47msr/route66.html
http://members.verizon.net/vze47msr/route66files/route66.css

I forget where I got the idea but you can pick my code apart and see if it is what you need.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsWeb DesignAdvanced Web Development > Tableless image gallery


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway