Fred
unregistriert
Need Help!!!!
Ich habe folgendes problem:
ich habe mir bei www.jex-treme.de
ein dynamisches interface geholt doch wenn ich nun in die buttons was reinschreiben will (ich bin ein n00b mach das mit paint) und ich dann den button abspeichere bekommt auf einmal meine homepage genau um diesen button rum einen grauen hintergrund! Nicht alles wird grau aber alle in unmittelbarer Nähe! Bitte helft mir!
im Anhang ist einer dieser Button!
folgendes habe ich im HTML stehen:
<!Doctype html Public "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
</head>
<body background="hintergrund.jpg">
<SCRIPT LANGUAGE="Javascript">
<!--//
browser_name = navigator.appName;
browser_version = parseFloat(navigator.appVersion);
if (browser_name == "Netscape" && browser_version >= 3.0) { roll = 'true'; }
else if (browser_name == "Microsoft Internet Explorer" && browser_version >= 3.0) { roll = 'true'; }
else { roll = 'false'; }
function msover(img,ref) { if (roll == 'true') { document.images[img].src = ref; } }
function msout(img,ref) { if (roll == 'true') { document.images[img].src = ref; } }
//-->
</SCRIPT>
<TABLE WIDTH="400" BORDER="0" CELLSPACING="0" CELLPADDING="0">
<TR>
<TD WIDTH="200">
<A HREF="#" onMouseOver="msover('int1','int1-on.gif');" onMouseOut="msout('int1','int1-off.gif');" onFocus="if(this.blur)this.blur();">
<IMG NAME="int1" SRC="int1-off.gif" WIDTH="200" HEIGHT="71" BORDER="0"></A><BR>
<A HREF="#" onMouseOver="msover('int2','int2-on.gif');" onMouseOut="msout('int2','int2-off.gif');" onFocus="if(this.blur)this.blur();">
<IMG NAME="int2" SRC="int2-off.gif" WIDTH="200" HEIGHT="59" BORDER="0"></A><BR>
<A HREF="#" onMouseOver="msover('int3','int3-on.gif');" onMouseOut="msout('int3','int3-off.gif');" onFocus="if(this.blur)this.blur();">
<IMG NAME="int3" SRC="int3-off.gif" WIDTH="200" HEIGHT="62" BORDER="0"></A><BR>
<A HREF="#" onMouseOver="msover('int4','int4-on.gif');" onMouseOut="msout('int4','int4-off.gif');" onFocus="if(this.blur)this.blur();">
<IMG NAME="int4" SRC="int4-off.gif" WIDTH="200" HEIGHT="64" BORDER="0"></A><BR>
<A HREF="#" onMouseOver="msover('int5','int5-on.gif');" onMouseOut="msout('int5','int5-off.gif');" onFocus="if(this.blur)this.blur();">
<IMG NAME="int5" SRC="int5-off.gif" WIDTH="200" HEIGHT="56" BORDER="0"></A><BR>
<A HREF="#" onMouseOver="msover('int6','int6-on.gif');" onMouseOut="msout('int6','int6-off.gif');" onFocus="if(this.blur)this.blur();">
<IMG NAME="int6" SRC="int6-off.gif" WIDTH="200" HEIGHT="73" BORDER="0"></A></TD>
</TR>
</TABLE><BR>
<br>
<!-- Preloader -->
<IMG SRC="int1-on.gif" WIDTH="1" HEIGHT="1">
<IMG SRC="int2-on.gif" WIDTH="1" HEIGHT="1">
<IMG SRC="int3-on.gif" WIDTH="1" HEIGHT="1">
<IMG SRC="int4-on.gif" WIDTH="1" HEIGHT="1">
<IMG SRC="int5-on.gif" WIDTH="1" HEIGHT="1">
<IMG SRC="int6-on.gif" WIDTH="1" HEIGHT="1">
<!-- end preloader -->
</CENTER></BODY>
</HTML>[/img]
ich habe mir bei www.jex-treme.de
ein dynamisches interface geholt doch wenn ich nun in die buttons was reinschreiben will (ich bin ein n00b mach das mit paint) und ich dann den button abspeichere bekommt auf einmal meine homepage genau um diesen button rum einen grauen hintergrund! Nicht alles wird grau aber alle in unmittelbarer Nähe! Bitte helft mir!
im Anhang ist einer dieser Button!
folgendes habe ich im HTML stehen:
<!Doctype html Public "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
</head>
<body background="hintergrund.jpg">
<SCRIPT LANGUAGE="Javascript">
<!--//
browser_name = navigator.appName;
browser_version = parseFloat(navigator.appVersion);
if (browser_name == "Netscape" && browser_version >= 3.0) { roll = 'true'; }
else if (browser_name == "Microsoft Internet Explorer" && browser_version >= 3.0) { roll = 'true'; }
else { roll = 'false'; }
function msover(img,ref) { if (roll == 'true') { document.images[img].src = ref; } }
function msout(img,ref) { if (roll == 'true') { document.images[img].src = ref; } }
//-->
</SCRIPT>
<TABLE WIDTH="400" BORDER="0" CELLSPACING="0" CELLPADDING="0">
<TR>
<TD WIDTH="200">
<A HREF="#" onMouseOver="msover('int1','int1-on.gif');" onMouseOut="msout('int1','int1-off.gif');" onFocus="if(this.blur)this.blur();">
<IMG NAME="int1" SRC="int1-off.gif" WIDTH="200" HEIGHT="71" BORDER="0"></A><BR>
<A HREF="#" onMouseOver="msover('int2','int2-on.gif');" onMouseOut="msout('int2','int2-off.gif');" onFocus="if(this.blur)this.blur();">
<IMG NAME="int2" SRC="int2-off.gif" WIDTH="200" HEIGHT="59" BORDER="0"></A><BR>
<A HREF="#" onMouseOver="msover('int3','int3-on.gif');" onMouseOut="msout('int3','int3-off.gif');" onFocus="if(this.blur)this.blur();">
<IMG NAME="int3" SRC="int3-off.gif" WIDTH="200" HEIGHT="62" BORDER="0"></A><BR>
<A HREF="#" onMouseOver="msover('int4','int4-on.gif');" onMouseOut="msout('int4','int4-off.gif');" onFocus="if(this.blur)this.blur();">
<IMG NAME="int4" SRC="int4-off.gif" WIDTH="200" HEIGHT="64" BORDER="0"></A><BR>
<A HREF="#" onMouseOver="msover('int5','int5-on.gif');" onMouseOut="msout('int5','int5-off.gif');" onFocus="if(this.blur)this.blur();">
<IMG NAME="int5" SRC="int5-off.gif" WIDTH="200" HEIGHT="56" BORDER="0"></A><BR>
<A HREF="#" onMouseOver="msover('int6','int6-on.gif');" onMouseOut="msout('int6','int6-off.gif');" onFocus="if(this.blur)this.blur();">
<IMG NAME="int6" SRC="int6-off.gif" WIDTH="200" HEIGHT="73" BORDER="0"></A></TD>
</TR>
</TABLE><BR>
<br>
<!-- Preloader -->
<IMG SRC="int1-on.gif" WIDTH="1" HEIGHT="1">
<IMG SRC="int2-on.gif" WIDTH="1" HEIGHT="1">
<IMG SRC="int3-on.gif" WIDTH="1" HEIGHT="1">
<IMG SRC="int4-on.gif" WIDTH="1" HEIGHT="1">
<IMG SRC="int5-on.gif" WIDTH="1" HEIGHT="1">
<IMG SRC="int6-on.gif" WIDTH="1" HEIGHT="1">
<!-- end preloader -->
</CENTER></BODY>
</HTML>[/img]
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Fred« (23. April 2003, 12:07)
das liegt daran, dass der button ausenrum nen transparenten bereich hat. also der graue teil wurde vom ersteller des buttons als transparent definiert. wenn du den butten jetzt aber mit paint bearbeitest geht diese transparenz verloren, weil man mit paint keine transparenten sachen machen kann ->grauer rand.
du solltest den button also mit nem anderen grafikprogramm bearbeiten.
du solltest den button also mit nem anderen grafikprogramm bearbeiten.
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »LordDaywalker« (23. April 2003, 12:20)
wiedermal so nen prob wo man den konflikt zwischen sauberen w3c code und dem was die browser dann tatsächlich interpretieren..., außerdem gabs dann noch mal unterschiede zwischen ie und netscape, zumindest damals ... als ich frames das letzte mal benutzt hab (die dinger sind scheisse, sorry meine meinung)
naja mit dem code oben sollte es eigentlich gehen, habs nicht noch mal ausprobiert, ansonsten setz noch mal framespacing und border in den frame tag.....
marginwidth und height sagt mir nix find die ausdrücke auch etwas seltsam...
Zitat
<frameset cols="250,*" frameborder="0" framespacing="0" border="0" >
<frame src="verweise.htm" name="Navigation" scrolling="no" frameborder="0" >
naja mit dem code oben sollte es eigentlich gehen, habs nicht noch mal ausprobiert, ansonsten setz noch mal framespacing und border in den frame tag.....
marginwidth und height sagt mir nix find die ausdrücke auch etwas seltsam...


