2 replies [Last post]
Anonymous
Anonymous's picture
Guru
calgary,alberta
calgary,alberta

In layman's terms how can I do the following:

Below is a copy of my current style sheet, to which I am having problems.

But, first, here's what I am trying to accomplish: 3-Column Static width and Centered Layout.
Therefore, I want the entire background to be #C0000 (rgb 192,0,0); I want the content header, the contenT left & right headers (columns) to be #009999 (rgb 0,153,153); the content center column to be #EEEEEE.

As for the font color I want white in the header, left and rigt column; and, black in the center column. Moreover, I would like the sub-headings in #C00000 (rgb 192,0,0 Sad ).

CURRENT STYLE SHEET, for willametteweb.us:

body,td {
text-align:center;
}

#frame {
width:840px;
margin-right:10px;
margin-left:10px;
margin-top:10px;
padding:0px;
text-align:left;
}

#contentleft {
width:175px;
padding:0px;
float:left;
background:#009999;
}

#contentcenter {
width:510px;
padding:0px;
float:left;
background:#ffffff;
}

#contentright {
width:155px;
padding:0px;
float:left;
background:#009999;
}

#contentheader {
background:#009999
}

p,h1,pre {
margin:0px 10px 10px 10px;
}

h1 {
font-size:24px;
padding-top:10px;
}

#contentheader h1 {
font-size:24px;
padding:10px;
margin:0px;
}

#contentright p { font-size:10px}

</style>[url][/url]

dJomp
dJomp's picture
Offline
Enthusiast
Last seen: 3 years 24 weeks ago
Joined: 2003-03-23
Posts: 422
Points: 0

Style Sheet Problems

<edit>

Did post a load of help but am with Tony (below) on this one, I shall post as and when...

You know you're a geek when you try to shoo a fly away from the monitor with your cursor.

Tony
Tony's picture
Offline
Moderator
Brisbane
Last seen: 3 weeks 3 days ago
Brisbane
Timezone: GMT+10
Joined: 2003-03-12
Posts: 5342
Points: 2963

Style Sheet Problems

Hi Jallard,
Thanks for being patient Smile
What you ask takes time, firstly we have to look through your code to try and work out what you are doing wrong, and you code was a mess.

There's no guarantee that someone is sitting around with nothing to do when you post.

Your post was at 5:33 am on a Saturday morning here in Brisbane.
Strangely enough I was awake around that time an did have a look at your code.
In fact I pretty much rewrote the page for you before my children woke up.
Unfortunately I didn't finish before going out for the day.
I was sort of hoping someone would have a simpler answer for you than I could provide.
My dinner is ready, so I'm not about to finish it now.

Post an apology for your other impatient remark and I shall email what I have done.