Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

HOW we can use css

Answer Posted / sekar

CSS stand for Cascading style sheet.

it used to applying style for both HTML and XML document.

there are three way applying style

1.internal style.
2.external style.
3.inline style.

here is the example for use css
<html>
<head>
<title>sample</title>
<style type="text/css">
.top-left
{
float:left;
width:400px;
height:100px;
background-color:#000;
}
.top-right
{
float:left;
width:378px;
height:100px;
background-color:#000;
}
.body
{
float:left;
width:778px;
height:400px;
}
.bottom
{
float:left;
width:778px;
height:30px;
background-color:#000;
}
</style>
</head>
<body>
<div class="top_left">
</div>
<div class="top_right">
</div>
<div class="body">
</div>
<div class="bottom">
</div>
</body>
</html>

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are magic methods?

1019


Can I learn php without knowing c?

1074


What is php and sql?

1174


What is a stored procedure in mysql?

1143


What is prepare in php?

1058


Can we extend two classes in php?

1115


How to include variables in double-quoted strings in php?

1013


What is the use of isset() in php?

1077


How do you remove whitespace from the beginning and end of a $string variable?

1055


Explain the difference between mysql_connect and mysql_pconnect?

971


What is variable give example?

1160


What is the meaning of a final class and a final method?

1166


Which MySQL function would you use to select a database?

1119


What is the use of nl2br() in php?

1101


Do while loops?

1028