Hello!

I've made html webpage and set its background image. I've to make a login window on this page and its form is enclosed in a div. Now the background image is visible in div of login window too which is what I don't want. I want to set the background of this window to some plain color and not the actual background image of web page.
What should I do?

Just apply a background-color style to this div.

For example..

<div id="div1" style="background-color:#FFFFFF;"></div>

or in your external CSS file...

#div1 {background-color:#FFFFFF;}
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.