Click to See Complete Forum and Search --> : A couple CSS problems


big-dog
06-07-2009, 01:27 PM
I tried several thing but cant seem to find the answer. I even copied other sections of the css and just changed the stuff I want to be differant, but still the same problem

Warning: Expected declaration but found ')'. Skipped to next declaration.
Source File: /style.css
Line: 114 - Line 114 is the blank line above .Tableright {

.Tablecntr {
background-color:#EEEEEB;
font-family:verdana,arial,tahoma,serif;
font-size:75%;
padding-left: 3px;
color: black;
)

.Tableright {

Warning: Unexpected end of file while searching for closing } of declaration block.
Source File: /style.css
Line: 144
.TableFooter {
font-family:verdana,arial,tahoma,serif;
font-weight: normal;
font-size:75%;
text-align: center;
background-color:#D5D3CC;
height: 20px;
}
)

nrg_alpha
06-07-2009, 02:53 PM
You are closing off .Tablecntr with a ) instead of } (for .TableFooter, get rid of the last closing parenthesis, as you have the appropriate closing } character already).
Also, you posted this in the wrong section, as there is a ClientSide Technologies (http://phpbuilder.com/board/forumdisplay.php?f=27) forum near the bottom.

Don't bother reposting there though.. If a Mod / Admin wants, they'll move this over.

big-dog
06-07-2009, 05:02 PM
Now I get this
Warning: Expected ':' but found '.'. Declaration dropped.
Source File: /style.css
Line: 130 Line 130 a.link {color:rgb(0,60,255);
.TableLink {
font-family:verdana,arial,tahoma,serif;
font-size:75%;
color:black;
background-color:#EEEEEB;
a.link {color:rgb(0,60,255);
a.visited {color:rgb(45,90,255);
a.hover {color:rgb(255,255,255);
a.active {color:rgb(255,0,0)
}

Then
Warning: Unexpected end of file while searching for closing } of declaration block.
Source File: style.css
Line: 143 Line 143 is }

.TableFooter {
font-family:verdana,arial,tahoma,serif;
font-weight: normal;
font-size:75%;
text-align: center;
background-color:#D5D3CC;
height: 20px;
}

bradgrafelman
06-07-2009, 06:06 PM
You're missing a bunch of closing }'s; I would recommend going through your code carefully matching each opening '{' to a closing '}'.

big-dog
06-07-2009, 08:06 PM
I went through and checked everything, but still at these areas it is given the problems and Im not seeing it the whole file is only 144 lines

bradgrafelman
06-07-2009, 08:09 PM
Did you fix the errors on these lines: a.link {color:rgb(0,60,255);
a.visited {color:rgb(45,90,255);
a.hover {color:rgb(255,255,255);
a.active {color:rgb(255,0,0)
?

big-dog
06-07-2009, 08:13 PM
?
I went back to the orginal code I had from the on-line tut I was trying to use as an excample for all of this.

.TableLink
{
font-family:verdana,arial,tahoma,serif;
font-size:75%;
color:black;
background-color:#EEEEEB;
a.link {color:rgb(0,60,255)
a.visited {color:rgb(45,90,255)
a.hover {color:rgb(255,255,255)
a.active {color:rgb(255,0,0)
}

bradgrafelman
06-07-2009, 08:19 PM
As I said, you have several missing }'s.

Now that I actually look at the bigger picture, however, the code you're trying isn't even valid CSS to begin with so it's not going to work either way. What are you trying to do, and where did you find the tutorial that suggested code like what you have?

big-dog
06-07-2009, 08:27 PM
Came from some form gen website it had some tut on forms and css stuff on how it generated forms and stuff

Weedpacket
06-08-2009, 01:04 AM
Came from some form gen website it had some tut on forms and css stuff on how it generated forms and stuff Well, that's a helpful answer: "a site with some stuff".