Ribbon da aggiungere al vostro blog / web site
- 05/04/2007
- 0 commenti
Ornate il vostro blog o web site con un prestigioso accessorio di dominopoint. Basta copiare il codice seguente e incollarlo nel vostro HTML subito dopo il TAG <BODY>:
<a id="ribbon"href="http://day.dominopoint.it"><![if !IE]>Dominopoint Day<![endif]></a>
successivamente arricchite il vostro CSS aggiungendo questo code :
a#ribbon {
/* Netscape 4, IE 4.x-5.0/Win and other lesser browsers will use this */
position: absolute;
top: 0;
right: 0;
display: block;
width: 160px;
height: 160px;
background: url(http://www.dominopoint.it/Dominopoint/dominopoint_blog.nsf/dx/DominoPointDay_rt.gif/$file/DominoPointDay_rt.gif);
top right no-repeat;
text-indent: -999em;
text-decoration: none;
}
body > a#ribbon {
/* used by Opera 5+, Netscape6+/Mozilla, Konqueror, Safari, OmniWeb 4.5+, iCab, ICEbrowser */
position: fixed;
top: 0;
right: 0;
display: block;
width: 160px;
height: 160px;
background: url(http://www.dominopoint.it/Dominopoint/dominopoint_blog.nsf/dx/DominoPointDay_rt.gif/$file/DominoPointDay_rt.gif);
top right no-repeat;
text-indent: -999em;
text-decoration: none;
z-index: 10;
}
<![if gte IE 5.5]>
<![if lt IE 7]>
a#ribbon {
/* IE5.5+/Win - this is more specific than the IE 5.0 version */
right: expression( ( 0 + ( ignoreMe2 = document.documentElement.scrollRight? document.documentElement.scrollRight : document.body.scrollRight ) ) + 'px' );
top: expression( ( 0 + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' );
display: block;
width: 160px;
height: 160px;
background: url(http://www.dominopoint.it/Dominopoint/dominopoint_blog.nsf/dx/DominoPointDay_rt.gif/$file/DominoPointDay_rt.gif);
top right no-repeat;
text-indent: 10px;
text-decoration: none;
z-index: 10;
}
<![endif]>
<![endif]>
0 Commenti:
Nessun Commento Trovato