wo hierbei das <center> und </center> einfügen??
Verfasst: 25.07.2005 15:58
Hi, leutz, ich habe ´zu folgendem eine frage:
<style>
<!--
#glowtext{
filter:glow(color=FFFF00,strength=3);
width:100%;
}
-->
</style>
<script language="JavaScript1.2">
function glowit(which){
if (document.all.glowtext[which].filters[0].strength==3)
document.all.glowtext[which].filters[0].strength=2
else
document.all.glowtext[which].filters[0].strength=3
}
function glowit2(which){
if (document.all.glowtext.filters[0].strength==3)
document.all.glowtext.filters[0].strength=2
else
document.all.glowtext.filters[0].strength=3
}
function startglowing(){
if (document.all.glowtext&&glowtext.length){
for (i=0;i<glowtext.length;i++)
eval('setInterval("glowit('+i+')",150)')
}
else if (glowtext)
setInterval("glowit2(0)",150)
}
if (document.all)
window.onload=startglowing
</script>
<table width="50%" border="0">
<tr>
<td>
<span id="glowtext"><h1>Herzlich Willkommen auf <i>www.mustermann.de!</i></h1>
</script>
wie beokomme ich dieses: <span id="glowtext"><h1>Herzlich Willkommen auf <i>www.mustermann.de!</i></h1>
zenriert
(also wo muss ich dort genau <center> und </center> einsetzen, damit Herzlich Willkommen auf www.mustermann.de zentriert ist??)
<style>
<!--
#glowtext{
filter:glow(color=FFFF00,strength=3);
width:100%;
}
-->
</style>
<script language="JavaScript1.2">
function glowit(which){
if (document.all.glowtext[which].filters[0].strength==3)
document.all.glowtext[which].filters[0].strength=2
else
document.all.glowtext[which].filters[0].strength=3
}
function glowit2(which){
if (document.all.glowtext.filters[0].strength==3)
document.all.glowtext.filters[0].strength=2
else
document.all.glowtext.filters[0].strength=3
}
function startglowing(){
if (document.all.glowtext&&glowtext.length){
for (i=0;i<glowtext.length;i++)
eval('setInterval("glowit('+i+')",150)')
}
else if (glowtext)
setInterval("glowit2(0)",150)
}
if (document.all)
window.onload=startglowing
</script>
<table width="50%" border="0">
<tr>
<td>
<span id="glowtext"><h1>Herzlich Willkommen auf <i>www.mustermann.de!</i></h1>
</script>
wie beokomme ich dieses: <span id="glowtext"><h1>Herzlich Willkommen auf <i>www.mustermann.de!</i></h1>
zenriert
(also wo muss ich dort genau <center> und </center> einsetzen, damit Herzlich Willkommen auf www.mustermann.de zentriert ist??)