> Can you stretch a background image like a windows desktop?
> i wish to have a gradient background and i wish to stretch it based on the
> resolution

On background images, no. On regular images, yes. But that is bad,
bad, bad. Definitely don't do this:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
 "http://www.w3.org/TR/html4/strict.dtd";>
<HTML>
<HEAD>
<TITLE>Stretchy Gradient</TITLE>
<STYLE TYPE="text/css">
*{
margin:0px;
padding:0px;
}
#hdr{
position:relative;
height:100px;
overflow:hidden;
}
.fauxbg{
position:absolute;
top:0px;left:0px;
width:100%;
height:100px;
}
#hdr H1{
position:absolute;
top:0px;left:0px;
padding:15px;
color:#072B8A;
}
</STYLE>
</HEAD>
<BODY>
<DIV ID="hdr"><IMG
SRC="http://usera.imagecave.com/chakers/css/gradient.jpg";
CLASS="fauxbg" ALT="Sorry, this image has no semantic value. Please
forgive me."/><H1>My Stretchy Gradient</H1></DIV>
</BODY>
</HTML>
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to