Lissa Explains it All:  Web Design Forums  

Go Back   Lissa Explains it All: Web Design Forums > Web Site Help > CSS

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 08-30-2009, 07:30 AM
forevers_night forevers_night is offline
n00bzilla
 
Join Date: Aug 2009
Posts: 1
forevers_night is on a distinguished road
Trouble with css stylesheet vs. frames

Hi Lissa and crew,

I'm currently working on a new homepage for my friend, it has been a while since I last did any code-stuff so I would like some help with how to do the design-part.

I have made an site, which is controlled by frames, a left(menu) right(content) where I've also made an inline-frame to controll long text content, and a top(banner) frame, I have posted the code at my index.html page. I control the design through an external stylesheet.

Now, the thing I want to do, is to change the background colours so that there are three different colors. One for the menu, one for the content and one for the Iframe, but how/where do I do that?

As I see it, you can only have one background color in a stylesheet, but then I came across your css layout suggestion in another topic, and it seems I can have different background colours with that method, but then I'll have to loose the frames, don't I?

Last I'll post a copy of my stylesheet so far, I hope you can help me out, and thank you in advance.

- forevers_night

<style type="text/css">
/** to control my links **/
a:link {
text-decoration: none;
color: blue;
}
a:visited {
text-decoration: none;
color: black;
font-style: italic;
}
a:active {
text-decoration: none;
background-color: #CCCCCC;
}
a:hover {
font-style: bold;
}
/** The body section , and my scrollbar **/
body {
background-color: #CCCCCC;
font-family: Times New Roman, arial, verdana, serif;
color: #000000 ;
font-size: 10 pt;

scrollbar-face-color : #CCCCCC;
scrollbar-highlight-color : #CCCCCC;
scrollbar-3dlight-color : #CCCCCC;
scrollbar-shadow-color : #CCCCCC;
scrollbar-darkshadow-color : #CCCCCC;
scrollbar-track-color : #CCCCCC;
scrollbar-arrow-color : #000000;

margin-top: 0;
margin-bottom: 0;
margin-left: 0;
margin-right: 0;
padding-top: 0;
padding-bottom: 0;
padding-left: 0;
padding-right: 0;


}
/** different headers**/
h1 {
font-family: arial, verdana, sans-serif;
font-size: 12 pt;
color: #000000;
font-weight: bold;
padding: 10px 10px 10px 20px;
}
h2 {
font-family: Times New Roman, serif;
font-size: 11 pt;
color: #000000;
font-style: italic;
font-weight: bold;


}
h3 {
font-family: Times New Roman, serif;
font-size: 10 pt;
color: #000000;
font-style: italic;
font-weight: bold;
}

p {
font-style: normal;
font-weight: normal;
font-size: 10 pt;
color: #000000;
font-family: arial, sans-serif;

text-indent: 30px;
margin-top: 10px;
margin-right: 5px;
margin-bottom: 10px;
margin-left: 5px;
}
td {
font-family: Times New Roman, arial, verdana, serif;
color: #000000;
padding-top: 0;
padding-bottom: 0;
padding-left: 0;
padding-right: 0;

}
/** textarea **/
input, textarea {
font-family: Times New Roman, arial, verdana, serif;
color: #000000;
border-style: none; [dotted, dashed, solid, double, groove, ridge, inset, outset]
border-color: #CCCCCC;

}
</style>
Reply With Quote
Sponsored Links
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Frames Trouble! | Opening in the wrong place dizzyjess Frames 3 03-30-2005 12:46 PM
trouble with frames! darklitch Flash 6 01-27-2005 09:47 PM
Having trouble with my frames on geocities mizz_blond_nz Frames 5 12-10-2004 06:28 PM
stylesheet trouble sjb CSS 3 05-01-2004 06:27 PM
Trouble with frames Sirithduriel Frames 1 02-03-2004 07:38 PM


All times are GMT. The time now is 11:31 PM.


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.