View Full Version : Css Help!!!

09-30-2007, 02:55 AM
I'm trying to redo my page using a CSS stylesheet. I embedded it so that someone can help me with it. The page needs to look like the old one here:


The one I'm trying to make like the one above is:


I embedded the CSS code in the page for now. PLEASE Help!@!!

09-30-2007, 03:00 AM
Not sure what you are wanting us to do. We aren't going to code the whole thing for you. I suggest you take a look at this 3 column example http://bonrouge.com/3c-hf-fluid.php

I also suggest you read the forum rules and posting guidelines before making another post.

09-30-2007, 04:34 AM
hmm. interesting... very interesting...

i'm going to assume your gonna take this a step at a time, (like i would) and start with a nice simple move of the styles first. good idea if that's what your doing. looks like your basically gonna take out the styles from each individual table/div and simply moving them to either the header or a seperate sheet altogether. i like that you decided to do this. great learning experience and in the end, will make life easier when coming bakc to edit.

if you simply copied and pasted the styles over and made sure all the id's or classes have the correct names, then ..yah. i too would be pretty stumpped as to why everything doens't look the same either. >.<

but i do have one question. um...what is this, what does it do, and why do you wrap your styles with it

/* <![CDATA[ */ /* ]]> */

i'm still rather new myself but... aren't those the type of comment tags for *css sheets only. html pages need these type. <!-- comment --> but forgive me if i'm wrong. i'm noobie. :p

09-30-2007, 05:13 AM
This Part:

/* <![CDATA[ */ /* ]]> */

is automatically inserted when I use HTMLPro. I probably copy pasted it over by mistake. I have NO IDEA what it's for lol. Any help u can give will be greatly appreciated. I spent hours trying to track down the problem and recoded it twice and I have the exact same result. I even printed out my code and wrote down all the names like a good little girl. Still, I can't figure it out!

At this point. I'm ready to pay for help lol. It's driving me crazy and I just moved into a new house and got sooo many things to do before Monday. So anybody's help would be great.

I've tried to track down the problem and everything looks fine as far as I can see. Looking at other pages is not going to help me at all. If you can just help me find where I can align it with the top, that would be great. Because, as far as i know, i've already done that. The formatting is there but it seems that it's in the background. I can read tutorials til my eyes pop out and it's not going to help. There's something simple and hidden somewhere I bet, but I'm new to stylesheets. I never asked nor implied for anyone to write the thing for me, as I've written it myself. I just can't figure out what I did wrong or why it doesn't look the same.

09-30-2007, 08:23 AM
You've used to much absolute positioning plus you have about 76 errors that need to be taken care of. See them here (http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fpstcc11.pstcc.edu%2F~c2645a03%2Fnews2.html).

10-01-2007, 08:04 AM
Take a look at the errors though, and you see basically two important things: No doctype declaration, and upper-case lettering in code tags. If you fix those, a lot of those errors aren't really real errors, they are the result in a bad parsing that throws the rest off.

10-01-2007, 11:08 PM
Because of you guys, I was able to get it near the same:


Thanks so much!


10-03-2007, 09:56 AM
There are 308 errors on the w3 validator.