|
|
i own a layout site. so youve all probably seen layouts on myspace right? well you know the kind where theres like one pic. in the corner, but the rest of the layout is pink or whatever color to match the picture, how do you do that, thanks in advance bye.
**This code will do exactly what you want. Change color to the color of the picture background. Use the "dropper" tool on any image manipulation program to get the hexadecimal color code for the image's background.**
body{background-image:url("Image URL"); background-position:bottom right; background-repeat:no-repeat; background-attachment:fixed; background-color:color}
Image URL will be the image shown. Background-position is where the image will be. Bottom right, center bottom, bottom left, center center, center right, center left, top right, top center, top left, or you can use absolute values in the form x y(50px 50px, or 50% 50%), 0 0 is top left. Background color is the page color, for myspace only, don't include the # in front of the color code.
[view]
(Rating: 5)
I was looking through my old questions and i saw this and reread it, and i misread it or something, cause it was actually very helpful advice. and thank you very much.
| |