My picture isn't positioning right, please help?

Associate
Joined
2 Jun 2004
Posts
754
Location
Space
Click this link and it will direct you to my portfolio section of my site. If you take a look at the thumbnails, when clicking full screen it does not position correctly once the image pops up. I have spent hours trying to figure out the problem but I just can't seem to understand it. Is there anyone greatly enough to let me know what’s wrong? It will be much appreciated.

Here is the code to the css file if this helps.

http://www.whatcanyousee.co.uk/white/style.css

thanks
 
Using Firebug to diagnose it would appear this is the problematic line:

...src="images/gallery/coveinteriors.jpg" style="display: block; height: 615px; width: 750px;"

Removing display: block centers the image. In fact by removing the whole style it functions as you want it.

The top still has the grey gap, which seems to be one of the span tags under td class="c_c" - it has a height value of 13px, removing it (from your stylesheet) then vertically aligns the image.

Hopefully this doesn't have any other adverse effects. I'm sure someone more knowledgeable could advise if there's a better way. :)
 
Back
Top Bottom