Forum Moderators: not2easy

Message Too Old, No Replies

Border Around Frames - Firefox

         

applealps

7:26 pm on Aug 20, 2005 (gmt 0)

10+ Year Member



I have created a frame index page and I've assigned borders around two of the frames. The borders show up in Explorer, but not Firefox. Please can anyone help, I have tried all manner of combinations with no success.

Frame index


<frameset cols="440px,484px,100px" frameborder=0 framespacing=0 border=0">
<frame noresize marginwidth=0 marginheight=0 scrolling=no [b]id=frame01[/b] src="homepic.html" name="homepic">
<frame noresize marginwidth=0 marginheight=0 scrolling=no src="hometext.html" name="text">
<frame noresize marginwidth=0 marginheight=0 scrolling=no [b]id=frame02[/b] src="menu.html" name="menu">
</frameset>

Linked Stylesheet.


*#frame01{border:2px solid #110D24; border-left:0px}
*#frame02{border:2px solid #110D24; border-right:0px}

JAB Creations

9:29 pm on Aug 20, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Frames don't work with CSS. I've searched endlessly for something that can replace the need for frames (on my personal site) and have been fruitless so far in that search. Frames got popular enough to get implemented little more then half way but not far enough to escape common headaches.

Also your frames add up to OVER 800 pixels in width and about one third of the surfers online have a resolution of 800x600 so you'll want to set one of the frames to be dynamic (% not px) in size.

You will have to use old school HTML to effect html border.

<frameset bordercolor="red">

Be sure you use quotes around all your values as well or else you'll have a hard time dealing with hordes of issues when you raise your own standards (to XHTML for example).

Validate your pages, this will help you with your personal knowledge by forcing you to ask questions that will help you validate (and learn) the code better (and thus giving you more creative control).

I am not pro-frames but what I do on my site can't currently work without them. However most sites that use frames don't need to use frames so I'd advise you to drop them in the future once you're able to tell from a more knowledgeable position if you truly need them or not.

applealps

2:38 pm on Aug 26, 2005 (gmt 0)

10+ Year Member



So there's no way I can do it with CSS. I'll try using html then.

Thanks