iframe scrollbar farben festlegen
zep
- css
0 Götz0 MudGuard0 Thomas J.S.0 Cybaer0 Thomas J.S.0 Cybaer
hallo!
ich versuch schon seit mehren tagen verzweifelt mein iframe grafisch an mein layout anzupassen, aber irgendwie scheiter ich immer...
ich möchte die scrollbar des iframe mit diesen css attributen ändern : scrollbar-base-color:#EAEBEC;
scrollbar-3dlight-color:#EAEBEC;
scrollbar-arrow-color:#FFFFFF;
scrollbar-darkshadow-color:#EAEBEC;
scrollbar-face-color:#EAEBEC;
scrollbar-highlight-color:#EAEBEC;
scrollbar-shadow-color:#EAEBEC;
scrollbar-track-color:#EAEBEC;
mein quelltext :
<head>
<title>News</title>
<style type="text/css">
background-color:#EAEBEC;
color:#FFFFFF;
scrollbar-base-color:#EAEBEC;
scrollbar-3dlight-color:#EAEBEC;
scrollbar-arrow-color:#FFFFFF;
scrollbar-darkshadow-color:#EAEBEC;
scrollbar-face-color:#EAEBEC;
scrollbar-highlight-color:#EAEBEC;
scrollbar-shadow-color:#EAEBEC;
scrollbar-track-color:#EAEBEC;
</style>
<body bgcolor="#EAEBEC" text="#000000" link="#666666" vlink="#666666" alink="#999999" scroll=no topmargin='0'>
<div id="Layer1" style="position:absolute; left:64px; top:308px; width:88px; height:82px; z-index:1"><font size="-2" face="Verdana, Arial, Helvetica, sans-serif"><strong><a href="news.php" target="home">-News-</a><br />
<a href="about.htm" target="home">-about me-</a><br />
<a href="gfx.htm" target="home">-gfx-</a><br />
<a href="pics.htm" target="home">-pictures-</a><br />
<a href="links.htm" target="home">-links-</a><br />
<a href="showbook.php" target="home">-guestbook-</a><br />
<a href="impressum.htm" target="home">-impressum-</a></strong></font></div>
<DIV id=layer2 style="LEFT: 270px; POSITION: absolute; TOP: 151px" z-index="2">
<P><IFRAME class="iframe" name=home src="news.php"
frameborder=0 scrolling=0 width=475 height=450 target="_self">
</IFRAME></P></DIV>
<table width="955" border="0" cellpadding="0" cellspacing="0" align="center" valign="top">
<!--DWLayoutTable-->
<tr>
<td width="231" height="158" valign="top"><img src="gfx/left_top.jpg" width="231" height="158" /></td>
<td width="493" valign="top"><img src="gfx/middle_top.jpg" width="493" height="158" /></td>
<td width="231" valign="top"><img src="gfx/right_top.jpg" width="231" height="158" /></td>
</tr>
<tr>
<td height="477" valign="center"><img src="gfx/left_site.jpg" width="231" height="477" /></td>
<td> </td>
<td valign="center"><img src="gfx/right_site.jpg" width="231" height="477" /></td>
</tr>
</table>
</body>
...
ich möchte das iframe (<P><IFRAME class="iframe" name=home src="news.php") anpassen..
wäre nett wenn mir jemand das machen könnte oder mir einen tipp geben könnte!
mfg zep
Hallo zep!
1. Iframes sind nicht gut.
[...] oder mir einen tipp geben könnte!
2. Hast Du shconmal probiert, ob es geht wenn du die Style-Informationen auch in die eingebundene Datei einfügst?
Weitere Links zum Thema:
* http://forum.de.selfhtml.org/archiv/2003/6/49136/#m268191
* http://www.google.com/search?q=scrollbar+farben+iframe&sourceid=mozilla-search&start=0&start=0&ie=utf-8&oe=utf-8
MfG
Götz
Hi,
<style type="text/css">
background-color:#EAEBEC;
Beschäftige Dich mit den Grundlagen von CSS. z.B. Selektoren
cu,
Andreas
Hallo,
Nur al Tipp am Rande (da du offensichtlich CSS einsetzen willst):
versuche bitte solche schreckliche Konstrukte zu vermeiden:
<div id="Layer1">
<font size="-2" face="Verdana, Arial, Helvetica, sans-serif">
<strong>
<a href="news.php" target="home">-News-</a><br />
</strong>
</font>
</div>
Das kannst du so einfach mit:
#Layer1 a {
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:0.8em;
font-weight:bold;
}
erreichen!
ich möchte das iframe (<P><IFRAME class="iframe" name=home src="news.php") anpassen..
Du weisst aber auch, dass die Scrollbar-Geschichte nur mit einem IE funktioniert?
Grüße
Thomas
Hi,
Du weisst aber auch, dass die Scrollbar-Geschichte nur mit einem IE funktioniert?
Du weißt aber nicht, daß das auch mit Opara und Konqueror funktioniert?
Gruß, Cybaer
Hallo,
Du weißt aber nicht, daß das auch mit Opara und Konqueror funktioniert?
Bim Konqueror wusste ich das nicht, aber hei, wen interessiert der Browser schon?
Bei Opera:
7.x: - Opera supports CSS scrollbar coloring, but this feature is not enabled by default, nor is the setting available in the UI. The user has to manually add a line to their Opera6.ini file. In the "[User Prefs]" section, the following line should be added on its own line:
Enable Scrollbar Colors=1
Na dann nützt ihm das sehr viel. ;-)
Grüße
Thomas
Hi,
Bim Konqueror wusste ich das nicht, aber hei, wen interessiert der Browser schon?
Schäm Dich was! =;-o
Gruß, Cybaer