Log In · Register

 
iframe scrollbars, help....arg!
anonymous_killer
post Oct 11 2004, 01:10 PM
Post #1


Senior Member
***

Group: Member
Posts: 44
Joined: Sep 2004
Member No: 52,448



I was wondering if there was a way to define the scrollbar colors on an iframe!
I tries defining them in the css using like:

body {
scrollbar-highlight-color: #000;
}

and etc... and i even tried

iframe {
scrollbar-highlight-color: #000;
}


I tried looking everywhere for how to do this but i cant find it anywhere!!!
Someone help!
 
 
Start new topic
Replies
hlall
post Nov 3 2004, 04:25 PM
Post #2


Senior Member
****

Group: Member
Posts: 101
Joined: Sep 2004
Member No: 49,477



QUOTE(razbus @ Oct 28 2004, 8:29 AM)
are you people dense or something? That is exactly what i said! I DO use ONE css sheet. And yes i use php. And cgi.

thanks for calling us dense for trying to help...

since your using php, screw iframes
use php's include feature,

insteada an iframe, make it so the links to go places like www.razbus.com/index.php?page=x
or something

put this code where you need to put it
QUOTE
if(isset($_GET['action'])){
$action = $_GET['action'];
}
else{
$action == 'main';
include "main.php";
}

if($action == 'photos'){
include "photos.php";
}
elseif($action == 'bio'){
include "bio.php";
}


and at the top of the page put this
QUOTE
<?php require"css.txt"; ?>


in css.txt put your css styles
with the style tags
so put <style type="text/css"> stuff{ } stuff { } </style>


i assume you know enough php to understand how to work this

and what you said earlier, you didn't say you use 1 css sheet, you just said your copying and pasting all your styles onto every page

don't call me dense, your lucky im still helping

and they are in quote boxes because i dont like the begin code provided by createblog.com when i provide it
 

Posts in this topic
anonymous_killer   iframe scrollbars   Oct 11 2004, 01:10 PM
sweetxsimplicity   Try putting CODE<!-- begin code provided ...   Oct 11 2004, 01:58 PM
anonymous_killer   ill give it a whirl. Thanks!   Oct 11 2004, 02:16 PM
synkro   overflow: auto. with overflow hidden the scroll...   Oct 11 2004, 02:35 PM
razbus   QUOTE(synkro @ Oct 11 2004, 2:35 PM)overflow:...   Oct 12 2004, 08:17 AM
[2]Nekked   give your iframe an id. <iframe id="name...   Oct 12 2004, 10:00 AM
razbus   nope. didn't work. Thanks anyways trish.   Oct 12 2004, 02:25 PM
[2]Nekked   same thing but try iframe.idnamehere or u can ju...   Oct 13 2004, 08:13 AM
synkro   <iframe src="http://www.blah.com/blah.html...   Oct 13 2004, 09:01 AM
[2]Nekked   QUOTE(synkro @ Oct 13 2004, 10:01 AM)<ifra...   Oct 13 2004, 09:59 AM
DesperateXMeasures   Gah. I did this once. I can't remember how. ...   Oct 13 2004, 10:42 AM
razbus   Well, i just defined the scrollbars in all of the ...   Oct 13 2004, 10:59 AM
synkro   QUOTE([2)Nekked,Oct 13 2004, 6:59 AM] i think...   Oct 13 2004, 07:20 PM
razbus   QUOTE(synkro @ Oct 13 2004, 7:20 PM)oh, in th...   Oct 14 2004, 11:57 AM
synkro   um the "other posts" had "iframe.id...   Oct 14 2004, 02:03 PM
razbus   = ::me ignoring you::   Oct 14 2004, 02:13 PM
hlall   err are you using chatterbox? and trying to change...   Oct 21 2004, 01:44 AM
razbus   QUOTE(hlall @ Oct 21 2004, 1:44 AM)edit:/ oh ...   Oct 27 2004, 02:35 PM
hlall   ive got a question.. are you using php? are you u...   Oct 27 2004, 02:54 PM
x_angawhomps   QUOTE(razbus @ Oct 27 2004, 12:35 PM)yeah, th...   Oct 27 2004, 06:26 PM
hlall   woops.. me=boy and geek yeah thats exactly what i...   Oct 27 2004, 09:47 PM
razbus   are you people dense or something? That is exactly...   Oct 28 2004, 08:29 AM
hlall   QUOTE(razbus @ Oct 28 2004, 8:29 AM)are you p...   Nov 3 2004, 04:25 PM
[2]Nekked   why dont you just define the body scrollbar colors...   Nov 3 2004, 05:05 PM
razbus   QUOTE([2)Nekked,Nov 3 2004, 5:05 PM] why dont...   Nov 4 2004, 09:17 AM
[2]Nekked   slice the images.   Nov 4 2004, 12:06 PM
xquizit   Hmmm... I don't believe there is a way to do t...   Nov 4 2004, 12:21 PM
[2]Nekked   QUOTE(xquizit @ Nov 4 2004, 1:21 PM)Hmmm... I...   Nov 4 2004, 12:24 PM
razbus   yeah, i guess ill do the image slicing thing. Than...   Nov 4 2004, 12:36 PM
liquidplasma6   hey, thats cool, thanks hlall for that php thing, ...   Nov 7 2004, 12:53 AM
hlall   uh.. your welcome... QUOTEThanks everybody. You gu...   Nov 7 2004, 01:00 AM


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: