Reply
inline frame help
Old 05-18-2006, 05:15 PM inline frame help
Skilled Talker

Posts: 67
Location: Erin, NY
Okay. I'm having a weird problem with inline frames and colored scrollbars...

If you take a look at http://www.cia-gaming.com you will see my problem. The news frame scrollbars wont change color.

what I did was put this in my .css file and have it linked to all documents.
Code:
body {
	font-family: verdana; 
	font-size: 10pt; 
	text-decoration: none; 
	color: black;
	scrollbar-highlight-color: #505050;
	scrollbar-arrow-color: #780000;
	scrollbar-3dlight-color: #454545;
	scrollbar-base-color: #000000;
	scrollbar-darkshadow-color: #303030;
	scrollbar-face-color: #000000;
	scrollbar-shadow-color: #404040;
	scrollbar-track-color: #780000;
I have this linked in all docs
Code:
<link rel="stylesheet" href="cia.css" type="text/css">
The main pages scrollbar is fine and so is the main inline frame... so what gives with the news frame? I don't see why this shouldnt work... If there is a better method to doing this please let me know.
ltcjohnson is offline
Reply With Quote
View Public Profile Visit ltcjohnson's homepage!
 
When You Register, These Ads Go Away!
     
Old 05-18-2006, 07:42 PM Re: inline frame help
kIDJOE's Avatar
Extreme Talker

Posts: 180
Location: Hollywood, CA
first of all I think you are talking about a "News TEXTAREA" that is not taking the settings of the scrollbar, in your css you are setting the scrollbar to the BODY so that only applies to the Scrollbar of your DOCUMENT to add style to your TEXTAREAS do the same as you did for body{} but change it to TEXTAREA {}

textarea{
font-family: verdana;
font-size: 10pt;
text-decoration: none;
color: black;
scrollbar-highlight-color: #505050;
scrollbar-arrow-color: #780000;
scrollbar-3dlight-color: #454545;
scrollbar-base-color: #000000;
scrollbar-darkshadow-color: #303030;
scrollbar-face-color: #000000;
scrollbar-shadow-color: #404040;
scrollbar-track-color: #780000;
}

this should do or you can create a class and set this settings and then just ad the class name to the elemenst you wish to apply the style to.
__________________

Traffic School - Driver Ed - Defensive Driving
Statistics: The only science that enables different experts using the same figures to draw different conclusions.

Driver Education Online - Online Traffic School - Texas Defensive Driving
kIDJOE is offline
Reply With Quote
View Public Profile Visit kIDJOE's homepage!
 
Old 05-18-2006, 07:52 PM Re: inline frame help
Skilled Talker

Posts: 67
Location: Erin, NY
no i am talking about the scroll bar in my news frame... but i will add the textarea code also because someof my pages will have a textarea but if you look at www.cia-gaming.com you will see my problem
ltcjohnson is offline
Reply With Quote
View Public Profile Visit ltcjohnson's homepage!
 
Old 05-18-2006, 07:56 PM Re: inline frame help
mgraphic's Avatar
Truth Seeker

Posts: 2,285
Name: Keith Marshall
Location: West Hartford, CT
Try:

iframe{
font-family: verdana;
font-size: 10pt;
text-decoration: none;
color: black;
scrollbar-highlight-color: #505050;
scrollbar-arrow-color: #780000;
scrollbar-3dlight-color: #454545;
scrollbar-base-color: #000000;
scrollbar-darkshadow-color: #303030;
scrollbar-face-color: #000000;
scrollbar-shadow-color: #404040;
scrollbar-track-color: #780000;
}


If this does not work, the iframe src may be requiring the css ?
__________________

<mgraphic /> - I don't have a solution but I admire the problem.
mgraphic is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to inline frame help
 

Thread Tools

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.12170 seconds with 13 queries