Forum Moderators: open

Message Too Old, No Replies

Frame Border not showing in Firefox

frame border

         

pulsemayura

7:44 am on Aug 25, 2008 (gmt 0)

10+ Year Member




Hi friend i am using frameset and frames in my application but when i am trying to set color to the frame border it is not showing in Mozilla but showing in IE. What should i do so that my app will run in all browsers without problem with those frame borders...

Please help me

Thanks in Advance ...

penders

1:36 pm on Aug 27, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Have you tried:
<frameset bordercolor="#ff0000" ...

(Needed to specify the full 6-char hex code for the benefit of IE)

However, this is not a standard/W3C attribute (ie. it won't validate). To be honest I'm not sure there is any standards compliant / cross-browser way to color the frame border (and to keep it as a resizable frame border)? However, bordercolor seems to work OK-ish for me in FF2 and IE6 (but not Opera9).

How are you currently trying to do it?

pulsemayura

2:41 pm on Aug 27, 2008 (gmt 0)

10+ Year Member



well i am trying to do it by applying css here is the css
frameset.leftside
{
border-right-width: 2px;
border-right-style: solid;
border-right-color: #CCCCCC;
}

when i apply this it works fine in IE but not in Mozilla.
and also i am setting <frame border=0 src="something.ext">is it affecting ? i just need a solution so that the frame border of gray color will be displayed..in Mozilla

Thanks..

penders

3:51 pm on Aug 27, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Is this a resizable frame border? If not then you could perhaps apply your style to the frame instead? Or even to the document inside the frame?

Although... is this a sub-frameset?

pulsemayura

4:16 pm on Aug 27, 2008 (gmt 0)

10+ Year Member



<frameset id="leftNav" cols="120,*>
<frameset class="leftside" id="leftNavCtrl" rows="150,*">
<frame frameborder="1" noresize="noresize">
<frame frameborder="1" noresize="noresize">
</frameset>
<frame frameborder="1" noresize="noresize">
</frameset>

This is the sturcture what changes i have to make..? sorry i told u wrong previously that border=0