Question:

Is There An Html Code For A Clear Color?

by  |  earlier

0 LIKES UnLike

I'm making a forum and I want the background to be transparent, so the background behind the other it can be seen, thanks for any tips, and help.

 Tags:

   Report

2 ANSWERS


  1. You should use CSS to set your backgrounds, and yes, CSS has a transparent setting.


  2. If body is to be transparent, set the styling for the body tag this way:

    body { background: transparent; }

    If you have a DIV container where you want a transparent background, then:

    div#selector_name { background: transparent; }

    The body will have:

    <div id="selector_name">

    Contents

    </div>

    Add additional styling for div container as needed and set selector_name to whatever is convenient.

    Ron

Question Stats

Latest activity: earlier.
This question has 2 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.