English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I've got a website using three frames (I know, it's archaic but I haven't had time to update it much). What I'm wondering is what the best practice is for loading the same .css file into each frame. I think that if I put the same css file on each of the three pages that's loading, it loads them as separate files. Is there a way to load it for all frames at once?

2007-08-16 02:32:43 · 4 answers · asked by Matthew L 1 in Computers & Internet Programming & Design

4 answers

The CSS statement should go in the section. If you're using traditional frames, you WILL need to load them three separate times, as traditional frames are really separate web pages that appear simultaneously.

A better solution might be to do away with the traditional "frames" and do one page using CSS to make your frames. You'd be amazed at what all you can do with CSS. CSS has really made the traditional "frame" obsolete.

I recommend you pick up a copy of CSS:The Missing Manual by David Sawyer McFarland (from O'Reilly / Pogue Press).

2007-08-16 02:39:14 · answer #1 · answered by Scotty Doesnt Know 7 · 1 0

Ditto the above...each frame is a separate html file...all you have to do is, place a reference to the same external css file in the of each html file... Once the external css file is loaded by one of the frames (by the website viewer) it'll be "cached" and so won't need to be fetched again from the server, so you'll be okay, but it DOES need to be referenced.

However, pard, you DO need to getcher self out of frames, as some folks can't view'em all that well. Yer a webmaster, and wouldn't you like to reach the widest audience possible?
A few well-defined absolutely positioned DIVs will get you the same effect!

2007-08-16 04:36:49 · answer #2 · answered by fjpoblam 7 · 0 0

challenging issue. check out at google or bing. just that might help!

2015-04-28 18:43:23 · answer #3 · answered by Clara 2 · 0 0

complicated thing. lookup using yahoo or google. this could help!

2015-04-30 17:33:37 · answer #4 · answered by Pearl 2 · 0 0

fedest.com, questions and answers