Quote:
Originally Posted by jim5358
When I edit the CSS rule to increase their size ... then the slides stick out of the right hand side of the centred 'block' design, and I cant get them to 'justify' to the centre again.
|
If you've sized the image such that it's larger than its container, overflow will occur on the right side of the container. There is no current mechanism to "justify" the overflow such that it occurs evenly on the right and left sides of the container insofar as I'm aware.
Quote:
Originally Posted by jim5358
(which I am doing by increasing the % - is this correct?)
|
Size the image to the desired size in an image editor, then specify the image dimensions in the HTML. For the current image, your code would be as follows:
Code:
<img alt="Put appropriate fallback text here." width="800" height="504" src="images/Slideshow/Index/homeslide.jpg"/>
Resizing images via CSS is bad practice. This is especially the case with resizing images to be smaller since the full image (with its corresponding file size) must be downloaded; in other words, it's a waste of bandwidth and makes your pages load slower. Doing the opposite—resizing images to be larger—results in pixelated images as the image viewer must synthesize missing image information.
If you want, you can set the size in the CSS instead of the HTML, but, again, the size should match the actual dimensions of the image:
Code:
img[src="images/Slideshow/Index/homeslide.jpg"] { width: 800px; height: 504px; }
I would recommend pixels over percentages as far as images go.
Quote:
Originally Posted by jim5358
Ideally, I'd like the picture display to be the same size as the google maps image on the 'about us' page.
|
I have no idea where to find this "google maps image on the 'about us' page."