Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / HTML, CSS, Scripts / CSS / October 2004



Tip: Looking for answers? Try searching our database.

Frameset border property

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Steel - 27 Oct 2004 10:48 GMT
hi at all,
can I include into a css file some frame and frameset propertyes like
border=0?
How?
thank in advance
Steel
Steve Pugh - 27 Oct 2004 10:52 GMT
> 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
Steel - 27 Oct 2004 11:00 GMT
NOT work
Steel

> > can I include into a css file some frame and frameset propertyes like
> > border=0?
[quoted text clipped - 10 lines]
>
> Steve
Steve Pugh - 27 Oct 2004 11:40 GMT
>> > can I include into a css file some frame and frameset propertyes like
>> > border=0?
[quoted text clipped - 6 lines]
>>
>> 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
Steel - 27 Oct 2004 14:20 GMT
"Steve Pugh" <steve@pugh.net>
wrote

> 1. Frames with visible borders.
> 2. Invalid HTML to remove the borders.
[quoted text clipped - 3 lines]
>
> Steve

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

Steel
Steve Pugh - 27 Oct 2004 14:38 GMT
> "Steve Pugh" <steve@pugh.net>
> wrote
[quoted text clipped - 6 lines]
>
> 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
Pierre Goiffon - 28 Oct 2004 10:11 GMT
> 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/frames.html#adef-frameborder
Johannes Koch - 28 Oct 2004 10:24 GMT
>>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/frames.html#adef-frameborder

Setting the frame element's frameborder attribute to 0 removes the 3D
border, but not the gap between the frames.
Signature

Johannes Koch
In te domine speravi; non confundar in aeternum.
                            (Te Deum, 4th cent.)

Pierre Goiffon - 29 Oct 2004 13:42 GMT
>> What about framborder in the frame tag ?
>> http://www.w3.org/TR/html401/present/frames.html#adef-frameborder

> Setting the frame element's frameborder attribute to 0 removes the 3D
> border, but not the gap between the frames.

Oh right, sorry
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.