BetaONE will rise again!


Reply
  #1  
Old 8th May 03, 07:00 AM
billybob3's Avatar
billybob3 billybob3 is offline
Senior Member
 
Join Date: Apr 2003
Location: Earth
Posts: 577
billybob3
Send a message via AIM to billybob3 Send a message via MSN to billybob3
I am using iframes, and trying to change the colors of the scroll bars. Below is the code that I used, which only changed the main browser window's scroll bar....but the iframe is still normal. Any suggestions? I know it's possible....sorry about the length.

Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Disco Jivin' & Music Lovin' Brothas'</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <style type="text/css"> <!-- a:link { color: #00FF00; text-decoration: none; } a:visited { color: #00FF00; text-decoration: none; } a:hover { color: #009900; text-decoration: underline; } a:active { color: #00FF00; text-decoration: none; } BODY, html { scrollbar-face-color:#000000; scrollbar-arrow-color:#00FF00; scrollbar-track-color:#000000; scrollbar-shadow-color:#000000; scrollbar-highlight-color:#000000; scrollbar-3dlight-color:#000000; scrollbar-darkshadow-Color:#000000; } --> </style> </head> <body bgcolor="#000000"> <div align="center"> &nbsp;<table width="550" border="0" cellpadding="0" cellspacing="0"> &nbsp; &nbsp;<!--DWLayoutTable--> &nbsp; &nbsp;<tr> &nbsp; &nbsp; &nbsp;<td width="10" height="10" align="left" valign="bottom"><img src="images/topleft.gif" width="10" height="10"></td> &nbsp; &nbsp; &nbsp;<td colspan="2" align="center" valign="bottom"><img src="images/topline.gif" width="530" height="10"></td> &nbsp; &nbsp; &nbsp;<td width="10" align="right" valign="bottom"><img src="images/topright.gif" width="10" height="10"></td> &nbsp; &nbsp;</tr> &nbsp; &nbsp;<tr> &nbsp; &nbsp; &nbsp;<td rowspan="4" align="left" valign="top"><img src="images/leftline.gif" width="10" height="439"></td> &nbsp; &nbsp; &nbsp;<td height="60" colspan="2" align="center" valign="middle"><img src="images/discojivintitle.jpg" width="530" height="60"></td> &nbsp; &nbsp; &nbsp;<td rowspan="4" align="right" valign="top"><img src="images/rightline.gif" width="10" height="439"></td> &nbsp; &nbsp;</tr> &nbsp; &nbsp;<tr> &nbsp; &nbsp; &nbsp;<td height="16" colspan="2" align="center" valign="top"><font color="#00FF00" face="Arial, Helvetica, sans-serif"><em>We &nbsp; &nbsp; &nbsp; &nbsp;put the groove, in groovy!</em></font></td> &nbsp; &nbsp;</tr> &nbsp; &nbsp;<tr> &nbsp; &nbsp; &nbsp;<td width="148" height="313" valign="top"><div align="left"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<p><font color="#00FF00" size="3" face="Arial, Helvetica, sans-serif"><a href="services.shtml" target="main">We've &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Got Services!</a></font></p> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<p><font color="#00FF00" size="3" face="Arial, Helvetica, sans-serif"><a href="upcoming.shtml" target="main">Upcome &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Events</a></font></p> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<p><font color="#00FF00" size="3" face="Arial, Helvetica, sans-serif"><a href="whenstarted.shtml" target="main">When &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;We Started</a></font></p> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<p><font color="#00FF00" size="3" face="Arial, Helvetica, sans-serif"><a href="how.shtml" target="main">How &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;We Did It</a></font></p> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<p><font color="#00FF00" size="3" face="Arial, Helvetica, sans-serif"><a href="pictures.shtml" target="main">Some &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Groovy Pics</a></font></p> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<p><font color="#00FF00" size="3" face="Arial, Helvetica, sans-serif"><a href="contact.shtml" target="main">Get &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;In Contact</a></font></p> &nbsp; &nbsp; &nbsp; &nbsp;</div></td> &nbsp; &nbsp; &nbsp;<td width="382" valign="top"><iframe src="framecontent.shtml" name="main" frameborder="0" scrolling="yes" width="100%" height="100%">Yo &nbsp; &nbsp; &nbsp; &nbsp;Dog! Get a browser compatible with frames! Thanks homie!</iframe> &nbsp; &nbsp; &nbsp;</td> &nbsp; &nbsp;</tr> &nbsp; &nbsp;<tr> &nbsp; &nbsp; &nbsp;<td height="50" colspan="2" align="center" valign="middle"><img src="images/musiclovintitle.jpg" width="530" height="50"></td> &nbsp; &nbsp;</tr> &nbsp; &nbsp;<tr> &nbsp; &nbsp; &nbsp;<td height="10" align="left" valign="top"><img src="images/bottomleft.gif" width="10" height="10"></td> &nbsp; &nbsp; &nbsp;<td colspan="2" valign="top"><img src="images/bottomline.gif" width="530" height="10"></td> &nbsp; &nbsp; &nbsp;<td align="right" valign="top"><img src="images/bottomright.gif" width="10" height="10"></td> &nbsp; &nbsp;</tr> &nbsp;</table> </div> </body> </html>

The website is online @ http://billybob3.mine.nu/groovy/
Reply With Quote
  #2  
Old 8th May 03, 09:52 AM
Adodikan Adodikan is offline
Member
 
Join Date: Jan 2002
Posts: 39
Adodikan
I believe you have to include the scrollbar css in the framecontent.shtml document. This is how I got it to work when i had the same problem. Since the iframe is technically a child page the css only applies to the parent page.
Reply With Quote
  #3  
Old 10th May 03, 01:52 AM
billybob3's Avatar
billybob3 billybob3 is offline
Senior Member
 
Join Date: Apr 2003
Location: Earth
Posts: 577
billybob3
Send a message via AIM to billybob3 Send a message via MSN to billybob3
Ok, works now. That was the problem, thanks for the solution. It makes sense to me, just didn't think of that when I was making it...

Thanks!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 06:03 PM.


Design by Vjacheslav Trushkin for phpBBStyles.com.
Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.