Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Style HTML Frameset borders

100 views
Skip to first unread message

Stanimir Stamenkov

unread,
Jun 4, 2006, 11:22:26 AM6/4/06
to
I've searched the archives but haven't found anyone presenting it is
possible to style the HTML Frameset borders using CSS in Mozilla. I
see they could be styled in some way using the non-standard 'border'
and 'bordercolor' attributes of the FRAMESET element. The CSS
specification says the 'border-spacing' property could be applied to
FRAMESET elements, but none of the following work with Mozilla browsers:

frameset, frame { border: 19px solid orange }
frameset, frame { border-spacing: 17px }

Is it possible to style the HTML Frameset borders using CSS in Mozilla?

--
Stanimir

Boris Zbarsky

unread,
Jun 4, 2006, 12:53:03 PM6/4/06
to
Stanimir Stamenkov wrote:
> Is it possible to style the HTML Frameset borders using CSS in Mozilla?

No. In general, framesets are not possible to describe via CSS, and the
behavior of frameset borders is not like that of CSS borders. In Gecko, the
frameset borders are actually separate CSS boxes.

-Boris

Stanimir Stamenkov

unread,
Jun 4, 2006, 2:59:33 PM6/4/06
to
/Boris Zbarsky/:

> In Gecko,
> the frameset borders are actually separate CSS boxes.

Is there a way to change their appearance by modifying files from an
installed product (theme or something) without having to change
sources and recompile binaries?

--
Stanimir

Boris Zbarsky

unread,
Jun 4, 2006, 3:06:32 PM6/4/06
to
Stanimir Stamenkov wrote:
> Is there a way to change their appearance by modifying files from an
> installed product (theme or something) without having to change sources
> and recompile binaries?

Sure. They're just splitters. Of course then you'd have to change the
appearance of all splitters.

-Boris

Stanimir Stamenkov

unread,
Jun 4, 2006, 5:43:35 PM6/4/06
to
/Boris Zbarsky/:

> Sure. They're just splitters. Of course then you'd have to change the
> appearance of all splitters.

I've changed the 'splitter' elements style in classic.jar (I'm using
the Classic theme) but that doesn't seem to affect the frameset
borders. I've observed the frameset borders doesn't change using the
Modern theme, too. Where I should look for the frameset splitter styles?

--
Stanimir

Boris Zbarsky

unread,
Jun 4, 2006, 6:09:45 PM6/4/06
to

Hmm... It looks like I was wrong. The style we resolve for those borders is
resolved for the ::-moz-hframeset-border and ::-moz-vframeset-border
pseudo-elements. So perhaps adding styles for those in the userContent.css will
work?

-Boris

Boris Zbarsky

unread,
Jun 4, 2006, 6:24:16 PM6/4/06
to
Boris Zbarsky wrote:
> Hmm... It looks like I was wrong. The style we resolve for those
> borders is resolved for the ::-moz-hframeset-border and
> ::-moz-vframeset-border pseudo-elements. So perhaps adding styles for
> those in the userContent.css will work?

Actually, that might not work either... Someone would have to dig through
nsFrameSetFrame to see whether it does. If it doesn't, then you can't change
those styles easily, I'd guess, other than by changing what the look-n-feel
service returns.

-Boris

Stanimir Stamenkov

unread,
Jun 4, 2006, 6:43:31 PM6/4/06
to
/Boris Zbarsky/:

It didn't work for me. Anyway, thank you for your time and support.

--
Stanimir

0 new messages