Sep 15, 2009 #1 spdawson Technical User Sep 15, 2009 2 0 0 GB Hi I need a code to centre an image/button in dw so it stays in th centre of the page regardless of the size of the window. thanks steve
Hi I need a code to centre an image/button in dw so it stays in th centre of the page regardless of the size of the window. thanks steve
Sep 15, 2009 #2 nielse63 Technical User Sep 8, 2009 12 0 0 US there are two things that you can do for this. you can either modify the css of the div that it's in, or something simpler: Code: <body> <p align="center"> <img src="...your image"> </p> <body> Upvote 0 Downvote
there are two things that you can do for this. you can either modify the css of the div that it's in, or something simpler: Code: <body> <p align="center"> <img src="...your image"> </p> <body>
Sep 16, 2009 Thread starter #3 spdawson Technical User Sep 15, 2009 2 0 0 GB hi and thanks for your help! the image is centred but at the top of the page. do you know how to get the image centred on both x and y axis? thanks Upvote 0 Downvote
hi and thanks for your help! the image is centred but at the top of the page. do you know how to get the image centred on both x and y axis? thanks