jflechtner wrote:
Quote:
This "seemingly" obvious CSS inclusion is eluding me. I have a
website with a 20%/80% frameset (menu/body) and want a CSS to display a
different background color in each frame, say menu blue body white. Can
someone tell me the CSS element to use (if any) or point me in the right
direction? Many thanks. |
In header of the menu document:
<style type="text/css">
html { background-color: blue; color: silver }
</style>
In header of the body document:
<style type="text/css">
html { background-color: white; color: black }
</style>
But of course, in this day and age, going for all-CSS instead of frames
is recommended. You can use server-side scripting or an HTML
preprocessor to replace the update-once, include-everywhere nature of
frames. David Dorward has good page on this at
<URL:http://dorward.me.uk/www/frames/>.