Advertisement

07.28.2008 at 09:06AM PDT, ID: 23601213
[x]
Attachment Details

HTML how to stretch a Background Image

Asked by micro_learner in Hypertext Markup Language (HTML), Web Languages/Standards, Cascading Style Sheets (CSS)

I am trying to achieve a background image for my Block of contents similar to Washington Post.(where news contents are placed in blocks)

But the image I use does not fill the complete Block , the image is not stretching to fill the complete Block.I though background-size would do the trick but I guess it is not supported as of now. Is there any way to do this ?


.box-bg {

background:transparent url(http://media.washingtonpost.com/wp-srv/hp/gr/hp-bg-290.gif);
background-size: 100%;
background-repeat: no-repeat;

}Start Free Trial
 
Loading Advertisement...
 
[+][-]07.28.2008 at 09:35AM PDT, ID: 22104629

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Hypertext Markup Language (HTML), Web Languages/Standards, Cascading Style Sheets (CSS)
Sign Up Now!
Solution Provided By: ali_kayahan
Participating Experts: 2
Solution Grade: A
 
 
[+][-]07.28.2008 at 10:00AM PDT, ID: 22104859

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.28.2008 at 03:12PM PDT, ID: 22107223

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]07.29.2008 at 12:29AM PDT, ID: 22109279

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.29.2008 at 02:01AM PDT, ID: 22109695

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628