![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
If I have an image that is much wider and/or higher than the space available to it on its page , how do I arrange to display it on the page so that the centre of the image (both in the vertical and horizontal sense) co-incides with the centre of the page in which it is viewed? Are there any HTML and/or CSS constructs that will allow me to do this? Try with to set the image width as 100%. |
#3
| |||
| |||
|
|
Ed wrote: If I have an image that is much wider and/or higher than the space available to it on its page , how do I arrange to display it on the page so that the centre of the image (both in the vertical and horizontal sense) co-incides with the centre of the page in which it is viewed? Are there any HTML and/or CSS constructs that will allow me to do this? Try with to set the image width as 100%. |
#4
| |||
| |||
|
|
Edwin van der Vaart wrote: Ed wrote: If I have an image that is much wider and/or higher than the space available to it on its page , how do I arrange to display it on the page so that the centre of the image (both in the vertical and horizontal sense) co-incides with the centre of the page in which it is viewed? Are there any HTML and/or CSS constructs that will allow me to do this? Try with to set the image width as 100%. That would stretch the image. I thought the image is inside a box e.g. |
![]() |
| Thread Tools | |
| Display Modes | |
| |