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
What are magic methods?
Can I learn php without knowing c?
What is php and sql?
What is a stored procedure in mysql?
What is prepare in php?
Can we extend two classes in php?
How to include variables in double-quoted strings in php?
What is the use of isset() in php?
How do you remove whitespace from the beginning and end of a $string variable?
Explain the difference between mysql_connect and mysql_pconnect?
What is variable give example?
What is the meaning of a final class and a final method?
Which MySQL function would you use to select a database?
What is the use of nl2br() in php?
Do while loops?