troubleshooting Question

CSS web question - Stretch/Shrink background to full screen

Avatar of MiSheps
MiShepsFlag for United States of America asked on
CSS
2 Comments1 Solution3259 ViewsLast Modified:
Ok... I am trying to set up a CSS page on a site that is being a real pain in my, you know what.

I have everything pretty much how I want it, other then 1 thing... the background.

I REALLY need my brackground image to fill the screen no matter what the resolution is... OR to have the ability to change my background image based on the resolution of the person viewing the page.

There is 1 catch... I can see that this site is blocking traditional tagging, and has replaced it with similiar things, or maybe that is standard, I don't know enough about CSS to know.

Everything I've read leads to dead ends in terms of being able to make a background image auto-sizable based on viewsers resolution... but that just doesn't make any sense to me that in todays code that would not be possible in CSS, so, I'm posting here in experts to get a solution!

As always, thanks for your help!

I've posted the existing code so you can help guide me on what needs to be changed. Please note, that if I am right about them stripping some of the tags, please understand that whatever they have done (I think it is simliar to what myspace does?) the pages work with the code listed in my post, with the exception of the background auto-sizing.

Thanks for your help!
<STYLE>
a, 
a.man, 
a:link, 
a:visited{color:; font-size:8pt; font-weight:normal; text-decoration:none; font-style:normal} 
a:active, 
a:hover{color:; font-size:8pt; font-weight:normal; text-decoration:none; font-style:normal;}
 
DIV {}
body{background-color:black;background-image:url(http://www.TheFallenRaven.com/LordRaven/LordRavenDarkForest3.jpg); background-repeat:no-repeat; background-attachment:fixed; background-width:100%;}
 
td, 
table, 
tr, 
span, 
li, 
p, 
div, 
textarea, 
 
DIV {color:; font-weight:normal; font-decoration:none; font-style:normal;background-color:transparent} 
td, 
li, 
p, 
div, 
textarea {border-color:} 
table{border-color:}
a.navbar{font-size:8pt; font-weight:normal} 
a.navbar:link{color:;} 
a.navbar:active{color:;} 
a.navbar:visited{color:;} 
a.navbar:hover{color:;}
a.searchlinkSmall{font-size:8pt; text-decoration:none; font-weight:normal;} 
a.searchlinkSmall:link{color:} 
a.searchlinkSmall:active{color:} 
a.searchlinkSmall:visited{color:} 
a.searchlinkSmall:hover{color:}
 
body{}
 
.nametext{font-size:8pt;color:; font-weight:none;}
.blacktext10{font-size:8pt; color:; font-weight:normal;}
.blacktext12{font-size:8pt; color:; font-weight:normal;}
.btext, 
.itext, 
.text{font-size:8pt; color:; font-weight:none;}
.orangetext15{font-size:8pt; color:; font-weight:none;}
.lightbluetext8{font-size:8pt; color:; font-weight:none;}
.tmz_imp{font-family:arial;color:FF0000;font-weight:bold}
a img{}a:hover img{}body{scrollbar-arrow-color:;scrollbar-Track-Color:;scrollbar-Highlight-Color:;scrollbar-base-color:;scrollbar-Face-Color:;scrollbar-Shadow-Color:;scrollbar-DarkShadow-Color:
</STYLE>
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 2 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros