Tables to CSS for Photo Gallery

liunx

Guest
I have been playing with Paintshop Pro 8 for a while now and I decided to post some images on my site. I needed a slideshow code anyway for another site and so I searched the web, found one that I liked and Download ed it etc etc.
When I set it up how I liked it on my page I found that tables were being used instead of css to position the picture, caption and buttons.
As the rest of my site is in css I decided that unless I could change the tables to css I would scrap the gallery but unfortunatly I played for an hour or so and couldn't get the css to work. Could anybody else help please.

Page with CSS: <!-- m --><a class="postlink" href="http://www.harrymills.co.uk/images/galleryv3.html">http://www.harrymills.co.uk/images/galleryv3.html</a><!-- m -->

Page with Tables: <!-- m --><a class="postlink" href="http://www.harrymills.co.uk/images/galleryv2.html">http://www.harrymills.co.uk/images/galleryv2.html</a><!-- m -->

Stylesheet: <!-- m --><a class="postlink" href="http://www.harrymills.co.uk/cssStuff/harrymillsv3.cssTry">http://www.harrymills.co.uk/cssStuff/ha ... sv3.cssTry</a><!-- m --> this. I typed it up in Homesite using the preview mode, so you may have to tweak it or something to make sure it works crossbrowser. I'll check it a bit more after this.

As long as you have the ID's the same as the tables, then you should be fine. You'll have to do some tweaking to it and stuffs. ;)





***EDIT***
Never trust the preview mode of Homesite. This totally breaks in Firebird. I'll have to work on it. :o

Disregard that code completely. It's rubbish! :o I'm workin' on somethin', but I'm havin' a problem with borders and such. :(I'm having a bit of trouble in IE.
gallery.php (<!-- m --><a class="postlink" href="http://www.pauljunior.no-ip.com/research/gallery.php">http://www.pauljunior.no-ip.com/research/gallery.php</a><!-- m -->) works just perfectly (as far as I know) in Firebird 0.7.

gallery2.php (<!-- m --><a class="postlink" href="http://www.pauljunior.no-ip.com/research/gallery2.php">http://www.pauljunior.no-ip.com/research/gallery2.php</a><!-- m -->) is geared toward IE, but I'm having problems. Also, this gallery works okay in Firebird, too (there's a small gap on the right side of the "controls", you can see the blue background poking out).


So basically, I'm having problems with IE. :(Thanks I finally managed it in the end using some of the float stuff you were using. I scrapped the middle button and floated one left and one right inside a invisible div that sits 40% in from the left edge and is 20%wide.

:D

Thanks againOriginally posted by Dathor Verlox
Thanks I finally managed it in the end using some of the float stuff you were using. I scrapped the middle button and floated one left and one right inside a invisible div that sits 40% in from the left edge and is 20%wide.

:D

Thanks again
Excellent! ;)
 
Back
Top