This option will reset the home page of this site. Restoring any closed widgets or categories.

Reset

Transparent Box using CSS

The below code will explain you how to make a transparent box and inside that some text contents.

This is very simple code and can be created using table tags also.

The source code looks like this:

<html>
<head>
<style type="text/css">
div.background
  {
  width: 500px;
  height: 250px;
  background: url(anyname.jpg) repeat;
  border: 2px solid black;
  }
div.transbox
  {
  width: 400px;
  height: 180px;
  margin: 30px 50px;
  background-color: #ffffff;
  border: 1px solid black;
  /* for IE */
  filter:alpha(opacity=60);
  /* CSS3 standard */
  opacity:0.6;
  /* for Mozilla */
  -moz-opacity:0.6;
  }
div.transbox p
  {
  margin: 30px 40px;
  font-weight: bold;
  color: #000000;
  }
</style>
</head>
<body>
<div class="background">
<div class="transbox">
<p>This is some text that is placed in the transparent box.
This is some text that is placed in the transparent box.
This is some text that is placed in the transparent box.
This is some text that is placed in the transparent box.
This is some text that is placed in the transparent box.
</p>
</div>
</div>
</body>
</html>
VN:F [1.5.7_846]
Rating: 10.0/10 (1 vote cast)
VN:F [1.5.7_846]
Rating: 0 (from 0 votes)

Related posts:

  1. Arrays In PHP
  2. Displaying or changing images each day
  3. How to install XAMPP
  4. Simple XML Reading Using PHP
  5. Context Right Click Menu Using Javascript
  6. MD5 Function and Unique ID in php
  7. Hit counter using php

Leave a Reply

Comments (required)

Spam Protected