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
How can you get web browser’s details using PHP?
What is php and its features?
What is the best way to avoid email sent through php getting into the spam folder?
How to open a file in php?
Tell me what is the meaning of a final class and a final method?
How do I end a php session?
Why many companies are switching their current business language to php?
What is super () python?
What are the types of variables in php?
Is it possible to use com component in php?
What are php magic methods?
Is PHP runs on different platforms (Windows, Linux, Unix, etc.)?
what is constructor
Differences between get, post and request methods ?
How to reset/destroy a cookie in php?