Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

iframe scrollbar

Status
Not open for further replies.

j111111

Technical User
Dec 13, 2002
46
GB
Hello,

I've made a coloured scrollbar to use for my iframe/ilayer (I've used both so IE & NN can see the content).

I've used .css & linked from my document to the stylesheet, but I don't know what to put at the beginning of the .css to make the scrollbar apply to the iframe rather than the body of the document.

(At the minute the stylesheet starts:
body { .....info on scrollbar colour...)

and I don't know what to put instead...any ideas?

Josie
 
This won't work. Colored scrollbars work only in IE, so you can't color the scrollbars of the layer for NS. I don't think it's possible to color the iframe's scrollbars. If it were possible, one of these 2 ways would be how:
1. Link the .css page to the page being displayed in the iframe.
2. Try:
iframe{
scrollbar colors...
}
-----------------------------------------------------------
RISTMO Designs
Arab Church
 
Cheers for the ideas - I'd tried using body{ ...colours
Ilayer{...., & iframe{... & none worked.
What I'd done was to put the link to the .css in the head of the document that had the whole page with the ilayer/iframe in it. The .css was right starting with body { but it should have been linked to the page with just the text for the ilayer in, not the main page.
 
as long as IE works in quirks mode, scrollbars will be colored for any document that specifies scrollbar CSS.

In standards compliant mode, CSS cannot color scrollbars, even in IE ranjan
Dreamlettes - A dreamweaver resource
blogMX - DreamweaverMX in black and white and shades of gray
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top