CSS stands for
Cascading
Style
Sheets.
This technology separates the content of a website from its style (e.g. colors, fonts, layout).
CSS is a must for the layout of your website.
Together with
XHTML CSS is the best tool for websites.
Here some examples using CSS.
First a table without CSS:
The HTML-Code:
<table border="1">
<tr>
<td></td><td></td><td></td>
</tr>
<tr>
<td></td><td></td><td></td>
</tr>
<tr>
<td></td><td></td><td></td>
</tr>
</table>
The table looks like this:
To prepare for CSS, we have to modify the first line in the HTML-Code:
<table id="tab1">
With CSS the table looks like this:
XHTML | PHP | MySQL |
CSS | IP | AJAX |
DOM | JavaScript | Cookies |
And this is the CSS-Code:
<style type="text/css">
<!--
#tab1 {
background-color:#CFCFCF;
border:outset;
border-bottom:solid green;
border-right:solid green;
}
#tab1 tr td {
background-color:#CCFFFF;
padding:3px 10px 3px 10px;
}
-->
</style>
For more Informations please
contact us.