Background Image Inside Border?
2 posters
Page 1 of 1
Background Image Inside Border?
Hi,
This is on a HTML page...
Can anyone help me with putting a background image within a border?
This is the code i currently have for the border:
If this is not possible then how would i set a background image for the whole page without it looking stupid such as scrolling down without the image duplicating?
basically i dont have a clue when it comes to setting a background
This is on a HTML page...
Can anyone help me with putting a background image within a border?
This is the code i currently have for the border:
- Code:
<div style="width: 1050px; height: 940px; border: 3px solid black; color: Black;">...........</div>
If this is not possible then how would i set a background image for the whole page without it looking stupid such as scrolling down without the image duplicating?
basically i dont have a clue when it comes to setting a background
Re: Background Image Inside Border?
try this code :
If you want your background image not repeat use this code
- Code:
<div style="background-image: url( http://www.greenpeace.org/international/assets/graphics/wp-gwt-ice-1024x768.jpg); width: 1050px; height: 940px; border: 3px solid black; color: Black;">...........</div>
If you want your background image not repeat use this code
- Code:
<div style="background-image: url( http://www.greenpeace.org/international/assets/graphics/wp-gwt-ice-1024x768.jpg); background-repeat:no-repeat; width: 1050px; height: 940px; border: 3px solid black; color: Black;">...........</div>
Guest- Guest
Re: Background Image Inside Border?
Hi,
That is perfect thank you very much, just to add to this, i am sure its easy to do but how do i then make the page a different colour e.g. Navy Blue
This way i have a navy blue page but with the picture i select over it as a background so the edges are not white?
Once again thank you very much
That is perfect thank you very much, just to add to this, i am sure its easy to do but how do i then make the page a different colour e.g. Navy Blue
This way i have a navy blue page but with the picture i select over it as a background so the edges are not white?
Once again thank you very much
Re: Background Image Inside Border?
I have now sorted the background colour so all is good... Whoo hoo
Thank you for your help
Thank you for your help
Re: Background Image Inside Border?
Solved > Locked
ankillien- Energetic
- Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL
Similar topics
» Username Inside Quote And Image Like Support Forum's & Border
» Background image for user's post inside a topic
» Footer inside Border?
» how to add post background image and log in popup message background image.
» Image Border Help
» Background image for user's post inside a topic
» Footer inside Border?
» how to add post background image and log in popup message background image.
» Image Border Help
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum