• Resolved pahn

    (@pahn)


    I tried to design my wordpress theme one by one from the knowledge I am earning by studying some web developing via researching. I enter the code one by one specially on the CSS so that the theme would look nice both on IE and FireFox. As I make a final editing to clean my stylesheet by clearing the spaces and codes that are not useful, an error suddenly appear. The page would load, but my tweeter updates from the sidebar doesn’t.
    Plus, when I open them on IE7, there is an error that pop out. It says:
    ___________________________
    Line : 2
    Char : 38
    Error: Expected’;’
    Code: 0

    Even I am just editing the stylesheet, I thought it was the header.php had the problem, so I replaced it with the raw codes again, but it was not fixed. I checked every line in my stylesheet, and it seems to be just complete with the ; character.

    Could someone tell me what could this error be, and how should I fix it?

    Again the error does not allow my tweeter update load, and an error pop on page was shown when I open them from IE7. I hope someone could help me with this. my URL is http://agpahn.net

Viewing 2 replies - 1 through 2 (of 2 total)
  • #contentwrapper{
    	float: left;
    	width: 100%;
    	margin-left: 10px;
    	font-color:
    }

    font-color: is missing a color value and a semicolon. Add these. Also, change it to color: since font-color: is not valid.

    #sidebar_left {
    	float: left;
    	margin-top: 10px;
    	margin-left: -432px;
    	padding-bottom: 10px;
    	padding-top: 10px;
    	width: 200px;
    	background: #64ab00;
    	border: 2px solid #900999;
    	font-color: #000;
    }

    Change font-color: to color: since it is not valid.

    For help in debugging code and css, validate both your web pages and css (both have errors):

    http://validator.w3.org/

    Thread Starter pahn

    (@pahn)

    Before I post my problem, I kinda erase that part already. It seems that the internet connection are having a slow response as I editted them. You still saw that even after I posted this.

    Anyway, thanks for the validator link, I’ll study using that, it seems to be a big help.

    Plus, I the tweeter problem was resolved after I tried clearing my cache and cookies. Because I tried to open up my site from another computer, and it did not have a problem. Maybe I should always recall clearing my cache first before panicing,, hehe..

    ~Thanks iridiax!!!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Error on Page’ is closed to new replies.