Background in asp.net
how to stretch background in asp.net?
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Vijaya KadiyalaRank #1,085 · 1.8K reputationPosted Apr 9, 2008, 1:00 PM EDT
Could you please more elaborate your question.
Thanks -- Vj
http://dotnetvj.blogspot.com
Vijaya KadiyalaRank #1,085 · 1.8K reputationPosted Apr 9, 2008, 1:03 PM EDT
here is my solution, not so complex after all and will grant the best result possible in stretching a background image:
<div style="width:100%;height:100%;position:absolute;z-index:1;overflow:hidden;">
<img border=0 src="Images/guild.jpg" width="100%" />
div>
the
<table border=0 width="100%" height="75%" style="position:absolute;z-index:2;">
this worked for me as it is the very same effect i wanted to obtain.
hope this helps,
Thanks -- Vj
Osama Rabie4 reputationPosted Apr 10, 2008, 7:22 AM EDT