Hi there, This is ambitious for me, but I am trying to incorporate a photo gallery into a site. I'm having trouble (in IE5) with getting the gallery to not be pushed over to the right. It's div id/container I changed to a div class and now it drops down in Firefox, but not IE. Also, there is a H2 and p tag that won't drop down, no matter what I do. I tried adding a class and floating left, but it did not work.
Also, what is the best approach to center the photo gallery?
The H2 and P tags will drop if you add clear:both; to their properties. The gallery should center if you remove the relative positioning and instead of floating it use a margin: 0 auto;. That'll work on IE if you are using a strict doctype.
Thank you both. I decided to change the gallery orientation so the thumbnails sit on the right, not below. I floated the large image container to the left, and the thumbnail container to the right. It seems to be working ok, so far. I really like this photo gallery- found out about it on this forum. I'm sure I will be back here with more questions for you all. I am such a novice...wish I started this long ago!
I did view the site in IE7 and on the gallery page, each nav bar link stepped down lower. Does anyone know what this is from?
I am still trying to get the thumbnail gallery to sit to the right of the large image. I've floated each div id for the 2 columns(containers) to the left, but it only works in Firefox. In IE5 and Safari, the thumbnail container gets pushed down or sits directly underneath. Is there a general tip I should know about floating div's and Internet Explorer? Or some sites dedicated to issues w/ IE?