-
06-08-2011, 06:28 PM #1
Banned
- Join Date
- Mar 2011
- Posts
- 177
Background Image help
Been recently working on a new website, I've designed it (well the home page anyway) and now I want to create it. I saw how
to do this so I know it's possible but basically I want the background image of the dunes (I can get in larger size) to
expand with each resolution. Only way I can describe it is I've seen sites that use images as backgrounds (if I could recall
the site I'd check out how they did it) and when you expand the window the image gets larger/expands with it - so looking how
to do that in the css.
Any other tips for website design improvement also appreciated.
-
06-22-2011, 11:51 PM #2
Renter
- Join Date
- Jun 2011
- Posts
- 2
-
06-24-2011, 04:25 AM #3
Renter
- Join Date
- Jun 2011
- Posts
- 4
body {
background-image: url("img");
background-position: 50% 50%;
background-repeat: no-repeat;
}
put the code into an external style sheet. If you want the background image to appear on a single page only, surround the code by <style> tags, and place between the document's <head> tags
is my answer helpful to you?



LinkBack URL
About LinkBacks






Reply With Quote
Bookmarks