468,103 Members | 1,378 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,103 developers. It's quick & easy.

Frameset border property

hi at all,
can I include into a css file some frame and frameset propertyes like
border=0?
How?
thank in advance
Steel
Jul 21 '05 #1
8 14112
On Wed, 27 Oct 2004 09:48:58 GMT, Steel <NO****@hotmail.com> wrote:
can I include into a css file some frame and frameset propertyes like
border=0?
How?


You can try:
frame {border: none;}
same as for any other element, and link to the stylesheet from the
frameset document itself.

But I don't think browsers support that. So, no you can't.

Now do yourself a favour and stop using frames.

Steve

Jul 21 '05 #2
NOT work
Steel

"Steve Pugh" <st***@pugh.net> ha scritto nel messaggio
news:opsgiwcyws06el5p@staff6...
On Wed, 27 Oct 2004 09:48:58 GMT, Steel <NO****@hotmail.com> wrote:
can I include into a css file some frame and frameset propertyes like
border=0?
How?


You can try:
frame {border: none;}
same as for any other element, and link to the stylesheet from the
frameset document itself.

But I don't think browsers support that. So, no you can't.

Now do yourself a favour and stop using frames.

Steve

Jul 21 '05 #3
On Wed, 27 Oct 2004 10:00:15 GMT, Steel <NO****@hotmail.com> wrote:
"Steve Pugh" <st***@pugh.net> ha scritto nel messaggio
news:opsgiwcyws06el5p@staff6...
On Wed, 27 Oct 2004 09:48:58 GMT, Steel <NO****@hotmail.com> wrote:
> can I include into a css file some frame and frameset propertyes like
> border=0?
> How?
You can try:
frame {border: none;}
same as for any other element, and link to the stylesheet from the
frameset document itself.

But I don't think browsers support that. So, no you can't.

Top posting fixed. Please don't do it again.
NOT work


YES. I know it doesn't. That's why I said:
But I don't think browsers support that. So, no you can't.


So that leavs you with three options:

1. Frames with visible borders.
2. Invalid HTML to remove the borders.
3. Stop using frames.

Option 3 is strongly recommended.

Steve
Jul 21 '05 #4

"Steve Pugh" <st***@pugh.net>
wrote

1. Frames with visible borders.
2. Invalid HTML to remove the borders.
3. Stop using frames.

Option 3 is strongly recommended.

Steve


Can I color the border line with the some color of my background?

Steel
Jul 21 '05 #5
On Wed, 27 Oct 2004 13:20:58 GMT, Steel <NO****@hotmail.com> wrote:
"Steve Pugh" <st***@pugh.net>
wrote

1. Frames with visible borders.
2. Invalid HTML to remove the borders.
3. Stop using frames.

Option 3 is strongly recommended.


Can I color the border line with the some color of my background?


Okay, amend option 2:
2. Invalid HTML to remove or colour the borders.

The invalid bordercolor attribute will do this in IE and some versions of
Netscape (but not in Opera - don't know about Mozilla, Safari, etc.)

<frameset border="4" bordercolor="#FF0000"> will give a red border to all
the frames within this frameset.

Option 3 is still highly preferable to anything else.

Steve

Jul 21 '05 #6
"Steel" <NO****@hotmail.com> a écrit dans le message de
news:ea******************@twister2.libero.it
can I include into a css file some frame and frameset propertyes like
border=0?


What about framborder in the frame tag ?
http://www.w3.org/TR/html401/present...ef-frameborder

Jul 21 '05 #7
Pierre Goiffon wrote:
"Steel" <NO****@hotmail.com> a écrit dans le message de
news:ea******************@twister2.libero.it
can I include into a css file some frame and frameset propertyes like
border=0?

What about framborder in the frame tag ?
http://www.w3.org/TR/html401/present...ef-frameborder


Setting the frame element's frameborder attribute to 0 removes the 3D
border, but not the gap between the frames.
--
Johannes Koch
In te domine speravi; non confundar in aeternum.
(Te Deum, 4th cent.)
Jul 21 '05 #8
"Johannes Koch" <ko**@w3development.de> a écrit dans le message de
news:2u*************@uni-berlin.de
What about framborder in the frame tag ?
http://www.w3.org/TR/html401/present...ef-frameborder
Setting the frame element's frameborder attribute to 0 removes the 3D
border, but not the gap between the frames.


Oh right, sorry

Jul 21 '05 #9

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

8 posts views Thread by Hans | last post: by
3 posts views Thread by Jan Plastenjak | last post: by
13 posts views Thread by Andrew C. | last post: by
3 posts views Thread by SpamProof | last post: by
reply views Thread by Charles A. Lackman | last post: by
reply views Thread by Giggle Girl | last post: by
3 posts views Thread by Pikachu | last post: by
1 post views Thread by Solo | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.