|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
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 |
|
#2
|
|||
|
|||
|
Quote:
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. |
|
#3
|
||||
|
||||
|
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/ |
|
#4
|
|||
|
|||
|
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. |
![]() |
| Viewing: Dev Articles Community Forums > Web Design > Advanced Web Development > Tableless image gallery |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|