PDA

View Full Version : [CSS] Font


Il Saggio
08-01-2003, 17:05
<style type="text/css">
a: text {color: #E3BB7D}
a:link {text-decoration: none; color: #E3BB7D}
a:visited {text-decoration: none; color: #E3BB7D}
a:hover {text-decoration: underline; color: #FFFFFF}
body {background: url(sfondo.JPG); color: #E3BB7D}
BODY {font-family:Verdana}
BODY {font-size:10pt}
BODY {
SCROLLBAR-BASE-COLOR: #000000;
SCROLLBAR-ARROW-COLOR: #E3BB7D;
}
</style>

funziona tutto tranne il fatto del Verdana...

HeLp ^^

P.S. come facio a spaziare 2 celle tra loro?

P.P.S Nel codice qua sotto c' un errore ma non lo trovo, voglio rifare il sito senza FronPage :rotfl:

<html>

<head>
<title>..::{ GoS }::.. Gilda italiana per il videogioco Ultima Online @ Out World Shard</title>
<META NAME="DESCRIPTION" CONTENT="..::{ GoS }::.. Gilda italiana per il videogioco Ultima Online @ Out World Shard">
<bgsound src="uosong.mid" loop="-1">
<style type="text/css">
a:link {text-decoration: none; color: #E3BB7D}
a:visited {text-decoration: none; color: #E3BB7D}
a:hover {text-decoration: underline; color: #FFFFFF}
body {background: #000000; color: #E3BB7D}
BODY {SCROLLBAR-BASE-COLOR: #000000;SCROLLBAR-ARROW-COLOR: #E3BB7D;}{font-size:10pt}{font-family:Verdana}
</style>
</head>

<body>

<table cellspacing=0 e cellpadding=0 width="926" height="600" align=center valign=middle>

<tr cellspacing=0 e cellpadding=0 width="926" height="600" align=center valign=middle>

<td background="images/sinistra.gif>
</td>

<td background="images/centro.gif>
</td>

<td background="images/destra.gif>
</td>

<tr cellspacing=0 e cellpadding=0 width="926" height="600" align=center valign=middle>

<td background="images/sinistra.gif>
</td>

<td background="images/centro.gif>
</td>

<td background="images/destra.gif>
</td>

<tr cellspacing=0 e cellpadding=0 width="926" height="600" align=center valign=middle>

<td background="images/sinistra.gif>
</td>

<td background="images/centro.gif>
</td>

<td background="images/destra.gif>
</td>

</tr>

</table>

</body>

</html>

Errore (http://digilander.libero.it/guardiansofsosaria/index1.htm)

ThX :hello:

the_al
08-01-2003, 18:06
allora ho riveduto il codice.

hai dimenticato i "" in alcuni attributati e nello sfondo delle tabelle non le hai chiusi.
hai anche dimenticato di chiudere un <tr>, ovvero </tr>

e per il resto te l'ho riveduto in generale (anche i css :D)


<html><head>
<title>..::{ GoS }::.. Gilda italiana per il videogioco Ultima Online @ Out World Shard</title>
<META NAME="DESCRIPTION" CONTENT="..::{ GoS }::.. Gilda italiana per il videogioco Ultima Online @ Out World Shard">
<bgsound src="uosong.mid" loop="-1">
<style type="text/css">
a:link {text-decoration: none; color: #E3BB7D}
a:visited {text-decoration: none; color: #E3BB7D}
a:hover {text-decoration: underline; color: #FFFFFF}
BODY {
SCROLLBAR-BASE-COLOR: #000000;
SCROLLBAR-ARROW-COLOR: #E3BB7D;
background: #000000;
color: #E3BB7D;
font-size: 10pt;
font-family: Verdana
}
</style>
</head><body>

<table cellspacing="0" cellpadding="0" width="926" height="60" align="center" valign="middle">
<tr>
<td background="images/sinistra.gif"></td>
<td background="images/centro.gif"></td>
<td background="images/destra.gif"></td>
</tr>
<tr>
<td background="images/sinistra.gif"></td>
<td background="images/centro.gif"></td>
<td background="images/destra.gif"></td>
</tr>
<tr>
<td background="images/sinistra.gif"></td>
<td background="images/centro.gif"></td>
<td background="images/destra.gif"></td>
</tr>
</table>

</body></html>

Il Saggio
08-01-2003, 18:51
:love:

thelyn
08-01-2003, 20:23
cmq sia:
<style type="text/css">
a: text {color: #E3BB7D}
a:link {text-decoration: none; color: #E3BB7D}
a:visited {text-decoration: none; color: #E3BB7D}
a:hover {text-decoration: underline; color: #FFFFFF}
body {background: url(sfondo.JPG); color: #E3BB7D}
BODY {font-family:Verdana}
BODY {font-size:10pt}
BODY {
SCROLLBAR-BASE-COLOR: #000000;
SCROLLBAR-ARROW-COLOR: #E3BB7D;
}
</style>

starebbe meglio cos:
<style type="text/css">
a: text { color: #E3BB7D; }
a:link { text-decoration: none; color: #E3BB7D; }
a:visited { text-decoration: none; color: #E3BB7D; }
a:hover { text-decoration: underline; color: #FFFFFF; }
body { background: url(sfondo.JPG); color: #E3BB7D; font-family: verdana,sans-serif; font-size: 10pt; scrollbar-base-color: #000000; scrollbar-arrow-color: #E3BB7D; }
</style>

Il Saggio
08-01-2003, 20:59
cambia qualkosa o solo + corto il codice? ^^

the_al
08-01-2003, 21:15
beh il risultato e' sempre lo stesso ma non serve a una bella cippa mettere 24 body {} con un attributo a testa, se puoi riunirle tutte in una :D

;)

thelyn
08-01-2003, 22:48
al ha svelato il mistero ^__^

the_al
08-01-2003, 22:55
evvai images/advsmilies/occasion/2.gif

Il Saggio
09-01-2003, 15:57
:)

cmq non funfa neanke l'alteza, sapete dirmi a quanti px (o pt) corrisponde il size="2" di frontpage? ^^

thelyn
09-01-2003, 21:17
prova a mettere il valore della grandezza del font nel foglio di stile in px (es. 10px) e fai delle prove fink nn trovi la grandezza che ti serve.

the_al
09-01-2003, 21:57
<font size=2">bla bla bla</font>


corrisponde a ..


<p style="font-size: 13px">bla bla bla</p>


:)

Il Saggio
10-01-2003, 14:57
nenake, jkome se le parole fossero bloccate, eppure non c' gia ne font ne size:

<html><head>
<title>..::{ GoS }::.. Gilda italiana per il videogioco Ultima Online @ Out World Shard</title>
<META NAME="DESCRIPTION" CONTENT="..::{ GoS }::.. Gilda italiana per il videogioco Ultima Online @ Out World Shard">
<bgsound src="uosong.mid" loop="-1">
<script type="text/javascript">
function apri(url) {
newin = window.open(url,'titolo','scrollbars=no,resizable= no, width=926,height=600,status=no,location=no,toolbar =no');
}
</script>
<script language="javascript" type="text/javascript" src="chromeless.js"></script>
<script language="javascript">
<!--

function openIT(u,W,H,X,Y,n,b,x,m,r) {
var cU ='images/close_up.gif'
var cO ='images/close_ovr.gif'
var cL ='images/clock.gif'
var mU ='images/min_up.gif'
var mO ='images/min_ovr.gif'
var xU ='images/max_up.gif'
var xO ='images/max_ovr.gif'
var rU ='images/res_up.gif'
var rO ='images/res_ovr.gif'
var tH ='<font face=Exocet size=2>..::{ GoS }::.. Gilda italiana per il videogioco Ultima Online @ Out World Shard</font>'
var tW ='Guardians of Sosaria'
var wB ='#E3BB7D'
var wBs ='#E3BB7D'
var wBG ='#E3BB7D'
var wBGs='#E3BB7D'
var wNS ='toolbar=0,location=0,directories=0,status=0,menu bar=0,scrollbars=0,resizable=0'
var fSO ='scrolling=no noresize'
var brd =b||0;
var max =x||false;
var min =m||false;
var res =r||false;
var tsz =20;
return chromeless(u,n,W,H,X,Y,cU,cO,cL,mU,mO,xU,xO,rU,rO, tH,tW,wB,wBs,wBG,wBGs,wNS,fSO,brd,max,min,res,tsz)
}

function openIT2(u) {
return chromeless(u,'rarewin',500,300,null,null,
'images/close_up.gif','images/close_ovr.gif',
'images/clock.gif',
'images/min_up.gif','images/min_ovr.gif',
'images/max_up.gif','images/max_ovr.gif',
'images/res_up.gif','images/res_ovr.gif',
'<font face=impact color=#FFFFFF size=5>&nbsp;|||| THIS IS A TEST ||||</font>','||| WIN TEST',
'#505050','#ffffff',
'#707070','#707070',
'toolbar=0,location=0,directories=0,status=0,menub ar=0,scrollbars=0,resizable=0','scrolling=no noresize',
10,false,false,false,35)
}
//-->
</script>
<style type="text/css">
a:link {text-decoration: none; color: #E3BB7D}
a:visited {text-decoration: none; color: #E3BB7D}
a:hover {text-decoration: underline; color: #FFFFFF}
body {
scrollbar-base-color: #000000;
scrollbar-arrow-color: #E3BB7D;
background: #000000;
color: #E3BB7D;
font-size: 13px;
font-family: Verdana;
margin: 0px;
}
</style>
</head><body>

<p></p>
<table cellspacing=0 e cellpadding=0 width="487" height="16" align=center valign=middle>
<img src="images/barraintro.JPG" width="487" height="16">
</table>
<p></p>
<table cellspacing=0 e cellpadding=0 align=center valign=middle><img src="images/g.jpg" width="39" height="39"><img src="images/a.jpg" width="39" height="39"><img src="images/u.jpg" width="39" height="39"><img src="images/r.jpg" width="39" height="39"><img src="images/d.jpg" width="39" height="39"><img src="images/i.jpg" width="39" height="39"><img src="images/a.jpg" width="39" height="39"><img src="images/n.jpg" width="39" height="39"><img src="images/s.jpg" width="39" height="39">
</table>
<table width=78 border=0 align=center>
<img src="images/o.jpg" width="39" height="39"><img src="images/f.jpg" width="39" height="39">
</table>
<table cellspacing=0 e cellpadding=0 align=center valign=middle><img src="images/s.jpg" width="39" height="39"><img src="images/o.jpg" width="39" height="39"><img src="images/s.jpg" width="39" height="39"><img src="images/a.jpg" width="39" height="39"><img src="images/r.jpg" width="39" height="39"><img src="images/i.jpg" width="39" height="39"><img src="images/a.jpg" width="39" height="39">
</table>
<p></p>
<table cellspacing=0 e cellpadding=0 width="487" height="16" align=center valign=middle>
<img src="images/barraintro.JPG" width="487" height="16">
</table>
<p></p>
<table cellspacing=0 e cellpadding=0 align=center valign=middle>
<td cellspacing=0 e cellpadding=0 align=center valign=middle>
<a href="javascript:apri('index1.htm');">Versione HTML</a>
</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td cellspacing=0 e cellpadding=0 align=center valign=middle>
<a href="#" onclick="mywin001=openIT('index1.htm',926,600,null,null,'Ti tolo',1,true,true,true);return false">Versione Chromless</a>
</td>
</table>
<p></p>
<table border=0 width=487 align=center valign=middle>
<img src="images/barraintro.JPG" width="487" height="16">
</table>
<p></p>
<table border=0 width=458 align=center valign=middle>
<APPLET archive="DuriusWaterPic.jar" width="458" height="259" code="DuriusWaterPic.class">
<PARAM name="image" value="simbologos.jpg">
<PARAM name="dotsize" value="5">
<PARAM name="ndotsize" value="1">
<PARAM name="dim" value="6">
<PARAM name="noise" value="1">
<PARAM name="mouse" value="1">
<PARAM name="delay" value="0">
<PARAM name="reg" value="43752326">
</APPLET>
</table>
<p></p>
<table border=0 width=487 align=center valign=middle>
<img src="images/barraintro.JPG" width="487" height="16">
</table>
</body></html>

Il Saggio
10-01-2003, 18:52
up :D

the_al
10-01-2003, 19:24
allora ho scoperto dove risiede il tuo problema.

ma non mi sento in vena di spalmarti la marmellata sul pane :D

allora concentrati :sleep:

le scritte che rimangono sempre "ferme" cosa sono in se'?

good luck ! :oro:

Il Saggio
11-01-2003, 15:21
non ho kapito nenake la domanda, figurati :D

cio a me sembra che il jv funziona solo sui table e non sui tr e td ^^