PDA

View Full Version : Help!



darkpasts
11-02-2007, 11:37 PM
okay im coding a layout and im having to use iframes, now i know how to change the scroll bar co.lour and so on but its not showing up on my main page in the iframe. I know you have to put the code in the page that the iframe links to but i just cant get it to work :l can anyone help?

Iframe content:



<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
<style>
<!--
BODY{
scrollbar-face-color:#C4C2C4;
scrollbar-arrow-color:#000000;
scrollbar-track-color:#C4C2C4;
scrollbar-shadow-color:#C4C2C4;
scrollbar-highlight-color:#C4C2C4;
scrollbar-3dlight-color:#C4C2C4;
scrollbar-darkshadow-Color:#C4C2C4;
background-color: #C4C2C4;
}
-->
</style>
</head>
<body>
1<br>
1<br>
1<br>
1<br>
1<br>
1<br>
1<br>
1<br>
1<br>
1<br>
1<br>
1<br>
1<br>

</body>
</html>

Alex.

PinkFM
11-02-2007, 11:39 PM
Are you using firefox? If so it wont work.

EDIT
Put the scrollbar under <body> and it should work...i think.

darkpasts
11-02-2007, 11:48 PM
ive checked that already, that ive put it under the <body> tag, and no i dont use firefox.

PinkFM
11-02-2007, 11:52 PM
What about

<style type="text/css">
BODY{
scrollbar-face-color:#C4C2C4;
scrollbar-arrow-color:#000000;
scrollbar-track-color:#C4C2C4;
scrollbar-shadow-color:#C4C2C4;
scrollbar-highlight-color:#C4C2C4;
scrollbar-3dlight-color:#C4C2C4;
scrollbar-darkshadow-Color:#C4C2C4;
background-color: #C4C2C4;
}
</style>

darkpasts
11-02-2007, 11:56 PM
Nah, that doesnt work.

PinkFM
12-02-2007, 12:05 AM
Take the <!-- and --> out of the code, it should work then.

Bomb-Head
12-02-2007, 12:08 AM
What browser are you using?

Want to hide these adverts? Register an account for free!