2 replies [Last post]
JohnnyHazard
Offline
newbie
Last seen: 16 years 48 weeks ago
Joined: 2003-08-06
Posts: 3
Points: 0

Hey there all... I am hitting a roadblock and I hope all of you can help. I am sub-sub-contracting to just build the CSS and basic templates. Unfortunately, the comp requires an iframe. I am having two serious issues:

1) The color styles for the scroll bar on the iframe won't take, and
2) More importantly, and divs requested after the iframe won't display.

no iframe: http://www.johnnyhazard.com/client/hologent/
iframe: http://www.johnnyhazard.com/client/hologent/index_iframe.html
css: http://www.johnnyhazard.com/client/hologent/resources/global.css

Thanks in advance for any help...

Johnny

paCkeTroUTer
paCkeTroUTer's picture
Offline
Enthusiast
Melbourne, Australia
Last seen: 7 years 8 weeks ago
Melbourne, Australia
Timezone: GMT+10
Joined: 2003-06-27
Posts: 241
Points: 2

Full CSS page with an iframe

The scrollbar color is IE proprietory so it may not work on other browsers.
To fix it place the code in the html style declaration like so:

html {
    scrollbar-3d-light-color:#000000;
    scrollbar-arrow-color:#FFFF33;
    scrollbar-base-color:#d7dcd9;
    scrollbar-dark-shadow-color:#333333;
    scrollbar-face-color:#d7dcd9;
    scrollbar-highlight-color:#999999;
    scrollbar-shadow-color:black;
}

I beleive this is because you have the Doc Type declarations and putting the code in the body element doesn't work once you put in proper doc types for your page.

http//melbourne.ug.php.net

JohnnyHazard
Offline
newbie
Last seen: 16 years 48 weeks ago
Joined: 2003-08-06
Posts: 3
Points: 0

Full CSS page with an iframe

Cheers for the scrollbar issue... I hadn't thought of the fact that once you do one thing right (doctypes) that other things also ask you to do it right as well. Wink

And on the iframe issue killing the following divs.. a classic case of looking too hard at the problem for too long. The resultant solution?

Close my iframe tag! Do'H!

Anyways, thanks all...

Johnny