|
myspace layouts. 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.
[ ] Want to answer more questions in the Technology category? Maybe give some free advice about: Internet & Web Design?
**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.**
<style type=text/css>
body{background-image:url("Image URL"); background-position:bottom right; background-repeat:no-repeat; background-attachment:fixed; background-color:color}
</style>
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. ]
More Questions: |