tips & tricks


Calendario
aprile 2024
lmmgvsd
25262728293031
1234567
891011121314
15161718192021
22232425262728
293012345

Un pò di CSS

Ecco alcuni esempi di CLASSI:


.scrollbar {
    overflow : auto;
    scrollbar-face-color: #2023D0;
    scrollbar-shadow-color: #ffffff;
    scrollbar-highlight-color: #ffffff;
    scrollbar-3dlight-color: #2023D0;
    scrollbar-darkshadow-color: #2023D0;
    scrollbar-track-color: #ffffff;
    scrollbar-arrow-color: #ffffff;
}    


.griglia {
    BORDER-RIGHT: black 1px solid;
    BORDER-TOP: black 1px solid;
    BORDER-LEFT: black 1px solid;
    BORDER-BOTTOM: black 1px solid;
    font-family: "Verdana";
    font-size: 14px;
    font-weight: bold;
    color: Teal;
}

.txt{
position:absolute;
top:0px;
left:0px;
width:100px;
height:20px;
font-size:15px;
text-align:center;
font-family:sans-serif;
}


.img{
position:absolute;
left:0px;
top:0px;
width:100px;
height:20px;
filter:alpha(opacity=0);
-moz-Opacity:0;
}

Ecco un esempio di CSS che definisce lo style di HTML ELEMENTS:

body{
background-image: url(immagini/sfondo_white_anim.gif);
background-color:#F2F2F2;
font-size:10pt;
font-family:verdana;
color:black;
padding:0 50 0 50;
}

A:hover
{
    background-color:Aqua;
    font-style:oblique;  
    cursor:hand;
}


esempio di CSS che definisce lo style di ID:

#pippo {

background-color:Aqua;

font-size:10pt;

}

 

esempio di CSS che definisce lo style delle righe all’interno di una tabella che hanno come id “pluto”:

tr #pluto{

background-color:Aqua;

}

mercoledì, 14 ott 2009 Ore. 10.36

Messaggi collegati


Archivio Posts
Anno 2020

Anno 2018

Anno 2015

Anno 2013

Anno 2011

Anno 2010

Anno 2009

Anno 2008
Statistiche
  • Views Home Page: 13.355
  • Views Posts: 56.094
  • Views Gallerie: 2.837
  • n° Posts: 117
  • n° Commenti: 1
Copyright © 2002-2007 - Blogs 2.0
dotNetHell.it | Home Page Blogs
ASP.NET 2.0 Windows 2003