Hi there While reading "Creating Imagemaps" in "CSS Mastery" from Budd, Moll and Collison I found the nice layout from Douglas Bowman for presenting some pictures (i.e. http://www.dbowman.com/photos/london05/gallery/picadilly-circus.php). As an exercise for me I tried to rebuild this layout but got stuck with a center problem. Well, after searching and reading through a lot of hints how to center elements with css I am still not able to center just one thing. Maybe I have to solve it completely different?
Let's start at http://www.zarske.ch/galleryTest/p1.html where <div id="pic"> should be centered within <div id="wrap">. I let the wrap to be green just to illustrate how wrong it is at the moment. Because the images within "pic" can have arbitrary values (see the next few images) I want to give the images 660px at most and center them so the slide at the right will always stay at the same position. But I was not able to center "pic" and I guess I am doing something systematically wrong. A smaller issue is the path (an unsorted list) at the top which I could only center with that "display: table" trick which might not work with each browser. Thanks for the help! Juergen ______________________________________________________________________ css-discuss [[email protected]] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
