Cascading Style Sheets
Basic Structure
<HTML> <HEAD>
<STYLE>
CSS Source Code
</STYLE>
</HEAD>
</HTML>
Example of CSS Code
Object { Code }
Object
|
Code
|
.button
|
CURSOR: hand
|
.inputxt
|
FONT: 7pt Verdana; TEXT-ALIGN: center
|
.selectxt
|
FONT: 7pt Verdana
|
TD
|
FONT: 8pt Verdana
|
TH
|
FONT: 8pt Verdana
|
TEXTAREA
|
FONT: 8pt Verdana
|
INPUT
|
FONT: 8pt Verdana; TEXT-ALIGN: center
|
SELECT
|
FONT: 8pt Verdana; TEXT-ALIGN: center
|
OPTION
|
FONT: 8pt Verdana; TEXT-ALIGN: center
|
A
|
FONT: bold 8pt Verdana; TEXT-DECORATION: none
|
:hover
|
BACKGROUND: #eeeeff; COLOR: #da9f1d
|
.a
|
FONT: 8pt Verdana
|
.lien
|
FONT: 8pt Verdana; TEXT-DECORATION: none
|
.asp
|
BACKGROUND: lime; COLOR: black
|
.php
|
BACKGROUND: #99ffff; COLOR: black
|
.inc
|
BACKGROUND: yellow; COLOR: black
|
.script
|
COLOR: maroon
|
.style
|
COLOR: fuchsia
|
.search
|
BACKGROUND: #ffcc99
|
.bord
|
BACKGROUND: #31366d
|
.fond
|
BACKGROUND: #eeeeff
|
.f7
|
FONT: 7pt Verdana
|
I
|
COLOR: gray
|
.i
|
BACKGROUND: #eeeeff
|
PRE
|
BACKGROUND: #eeeeff; COLOR: #000088; FONT: 7pt Verdana; PADDING-BOTTOM: 3px; PADDING-LEFT: 3px; PADDING-RIGHT: 3px; PADDING-TOP: 3px; TEXT-ALIGN: left
|
.titre
|
COLOR: #000088; FONT: 14pt Verdana; TEXT-ALIGN: center
|
.alert
|
COLOR: red; FONT: 14pt Verdana; TEXT-ALIGN: center
|
.titre2
|
COLOR: #000088
|
.i2
|
COLOR: #000088
|
.surl
|
BACKGROUND: #eeeeff
|
.nojust
|
TEXT-ALIGN: left
|
.right
|
TEXT-ALIGN: right
|
.bgnav
|
|
.menu-bord
|
BACKGROUND: #d6d6e4
|
.menu-titre
|
BACKGROUND: #ccccff; COLOR: #000088; FONT: bold 8pt Verdana
|
.menu-titre2
|
COLOR: #0000ff; FONT: bold 8pt Verdana
|
.menu-titre3
|
COLOR: #4444ff; FONT: bold 7pt Verdana
|
.menu-corps
|
BACKGROUND: #eeeeff; COLOR: #5555ff
|
.txtbg
|
COLOR: #ffffff; FONT: 7pt Verdana
|
TABLE
|
BORDER-BOTTOM: #000088 1pt solid; BORDER-LEFT: #000088 1pt solid; BORDER-TOP: #000088 1pt solid
|
47690 visitors
850589 robots
since 01/01/2003
Page generated
in 1.65 seconds
💗 2003-2024 by S. MARLIERE. Copying is an act of love. Love is not subject to law. Please copy and share.