 |
|
|
| View previous topic :: View next topic |
| Author |
Message |
Twasi
Joined: 15 Jan 2006 Posts: 1
|
Posted: Sun Jan 15, 2006 7:34 pm HTML background problem |
|
|
|
Hello, I'm trying to set the background for my Myspace and I set the background with the image I want and centered it and it scrolls with the page how I like it too but I want to add another image/banner at the top but I can't do it unless it is part of the background. If I add it to the field nearest to the top it is in the middle of the page.
I can't put the image in the center and the top banner in the same image because I want the banner to stay fixed and scroll off the page and the centered image to scroll with the page.
Is there a way to add both of these images with these characteristics to the background tag?
Here is the current HTML with the centered image, If someone could show me how to incorporate the banner type image.
<Style type="text/css"> body{ background-color:999999; background-image:url(http://img3.imageshack.us/img3/5185/grenadee3xw.jpg); background-position:Center Center; background-attachment:fixed; background-repeat:no-repeat; scrollbar-track-color:e7e7e7; scrollbar-face-color:005D86; scrollbar-highlight-color:FF0000; scrollbar-base-color:FF0000; scrollbar-darkShadow-color:FF0000; scrollbar-shadow-color:FF0000; scrollbar-arrow-color:005D86; } Table, Td{ background-color:transparent; } body, div, p, strong, td, .text, .blacktext10, .blacktext12, a.searchlinkSmall, a.searchlinkSmall:link, a.searchlinkSmall:visited{ color:005D86; font-weight:normal; font-style:normal; } .orangetext15, .lightbluetext8, .whitetext12, .nametext, .btext, .redtext, .redbtext{ color:e7e7e7; font-weight:normal; font-style:normal; } a, a:link, a:visited, a.navbar, a.navbar:link, a.navbar:visited, a.man, a.man:link, a.man:visited, a.redlink, a.redlink:visited{ color:FF0000; font-weight:normal; font-style:normal; } a:hover, a:active, a.navbar:hover, a.navbar:active, a.man:hover, a.man:active, a.searchlinkSmall:hover, a.searchlinkSmall:active, a.redlink:hover, a.redlink:hover{ color:FF0000; font-weight:normal; font-style:normal; } </Style> |
|
Corey Bryant Site Admin

Joined: 15 May 2004 Posts: 8748 Location: Castle Pines North, CO USA
|
Posted: Mon Jan 16, 2006 4:33 am |
|
|
|
|
Moved from HTML Forms
Currently CSS2 does not support multiple bckgrounds, althought CSS3 should (but Internet Explorer won't support CSS3).
To have another background, you would have to use another layer & add that background image to the layer |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|
|