On a website I developed using Adobe Dreamweaver CS5, I recently learnt how to auto center the content of the page for different computer resolutions using a CSS page. Although the background image I'm using, which is crucial to the pages, hasn't also centered (only the content).
Page 1 of 1
DW - auto center the background image
#2
Posted 04 April 2011 - 02:03 PM
Malcolm, on 04 April 2011 - 12:54 PM, said:
On a website I developed using Adobe Dreamweaver CS5, I recently learnt how to auto center the content of the page for different computer resolutions using a CSS page. Although the background image I'm using, which is crucial to the pages, hasn't also centered (only the content).
can u post the code?
#3
Posted 04 April 2011 - 02:37 PM
webdesignunited, on 04 April 2011 - 02:34 PM, said:
Yes I can, but there will be some charges for that. If you are willing to pay, I can positively provide you with the codes.
WOW!!
To the OP, is the background image in body tags of your css? If so you could use something like this...
body{background:transparant url(location/of/your/image.jpg)no-repeat top center;
}
This post has been edited by Bomb: 04 April 2011 - 02:41 PM
#4
Posted 04 April 2011 - 03:13 PM
FFS this isn't a trade secret and I'm disgusted that a forum member would request being paid rather than help another forum member
@ Malcolm - this has been discussed numerous times on the forum and the main discussion can be found here TUTORIAL: how to center a site using css A quick tutorial
@ Malcolm - this has been discussed numerous times on the forum and the main discussion can be found here TUTORIAL: how to center a site using css A quick tutorial
Share this topic:
Page 1 of 1
Help



















