The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Css error

3 posters

Go down

Solved Css error

Post by montrealboi April 25th 2013, 7:40 am

I have gone through multiple attempts to find a solution to this. It seems every time I add the same code this appears.

Css error UqFQN4m


I'll post the code that I currently have in my CSS, If you see a solution in which will stop this so I can update my users in peace. PLEASE by all means do so!

Code:
.gensmall a[href="/u1"]{
padding-left: 11px;
background: url(http://i137.photobucket.com/albums/q232/LaundryLady1947/Runescape/mod_gold.gif) no-repeat left;}


.name strong a[href="/u1"]{
padding-left: 11px;
background: url(http://i137.photobucket.com/albums/q232/LaundryLady1947/Runescape/mod_gold.gif) no-repeat left;}

a[href="/u1"]{
-moz-text-shadow:2px 2px 13px #ffff00 !important;text-shadow:2px 2px 13px #ffff00 !important;
}

.gensmall a[href="/u6"]{
padding-left: 11px;
background: url(http://i137.photobucket.com/albums/q232/LaundryLady1947/Runescape/mod_gold.gif) no-repeat left;}


.name strong a[href="/u6"]{
padding-left: 11px;
background: url(http://i137.photobucket.com/albums/q232/LaundryLady1947/Runescape/mod_gold.gif) no-repeat left;}

a[href="/u6"]{
-moz-text-shadow:2px 2px 13px #ffff00 !important;text-shadow:2px 2px 13px #ffff00 !important;
}

.gensmall a[href="/u11"]{
padding-left: 11px;
background: url(http://i1263.photobucket.com/albums/ii637/D_Lyness/bth_StaffMod.gif) no-repeat left;}


.name strong a[href="/u11"]{
padding-left: 11px;
background: url(http://i1263.photobucket.com/albums/ii637/D_Lyness/bth_StaffMod.gif) no-repeat left;}
}

.gensmall a[href="/u15"]{
padding-left: 11px;
background: url(http://i1263.photobucket.com/albums/ii637/D_Lyness/bth_PlayerMod.png) no-repeat left;}


.name strong a[href="/u15"]{
padding-left: 11px;
background: url(http://i1263.photobucket.com/albums/ii637/D_Lyness/bth_PlayerMod.png) no-repeat left;}
}
 
.gensmall a[href="/u23"]{
padding-left: 11px;
background: url(http://i1263.photobucket.com/albums/ii637/D_Lyness/bth_StaffMod.gif) no-repeat left;}


.name strong a[href="/u23"]{
padding-left: 11px;
background: url(http://i1263.photobucket.com/albums/ii637/D_Lyness/bth_StaffMod.gif) no-repeat left;}
}

The code is just adding Crowns and glow to certain members. Although it worked the first few times it suddenly tells me that their is an imbalance. Which makes no sense since I have been using the same code over and over. Anyways if you know a fix. Post below Very Happy
avatar
montrealboi
New Member

Posts : 12
Reputation : 1
Language : English

Back to top Go down

Solved Re: Css error

Post by Ange Tuteur April 25th 2013, 9:04 am

You had a few closing curly brackets closing no codes on u11, u15, and u23. You should be careful and read your codes looking for any missing/extra curly brackets as this can cause errors. Razz

Here's your code cleaned up, I tested and submitted without flaw on my test forum.

Code:
.gensmall a[href="/u1"]{
padding-left: 11px;
background: url(http://i137.photobucket.com/albums/q232/LaundryLady1947/Runescape/mod_gold.gif) no-repeat left;}


.name strong a[href="/u1"]{
padding-left: 11px;
background: url(http://i137.photobucket.com/albums/q232/LaundryLady1947/Runescape/mod_gold.gif) no-repeat left;}

a[href="/u1"]{
-moz-text-shadow:2px 2px 13px #ffff00 !important;text-shadow:2px 2px 13px #ffff00 !important;
}

.gensmall a[href="/u6"]{
padding-left: 11px;
background: url(http://i137.photobucket.com/albums/q232/LaundryLady1947/Runescape/mod_gold.gif) no-repeat left;}


.name strong a[href="/u6"]{
padding-left: 11px;
background: url(http://i137.photobucket.com/albums/q232/LaundryLady1947/Runescape/mod_gold.gif) no-repeat left;}

a[href="/u6"]{
-moz-text-shadow:2px 2px 13px #ffff00 !important;text-shadow:2px 2px 13px #ffff00 !important;
}

.gensmall a[href="/u11"]{
padding-left: 11px;
background: url(http://i1263.photobucket.com/albums/ii637/D_Lyness/bth_StaffMod.gif) no-repeat left;}


.name strong a[href="/u11"]{
padding-left: 11px;
background: url(http://i1263.photobucket.com/albums/ii637/D_Lyness/bth_StaffMod.gif) no-repeat left;}

.gensmall a[href="/u15"]{
padding-left: 11px;
background: url(http://i1263.photobucket.com/albums/ii637/D_Lyness/bth_PlayerMod.png) no-repeat left;}


.name strong a[href="/u15"]{
padding-left: 11px;
background: url(http://i1263.photobucket.com/albums/ii637/D_Lyness/bth_PlayerMod.png) no-repeat left;}
 
.gensmall a[href="/u23"]{
padding-left: 11px;
background: url(http://i1263.photobucket.com/albums/ii637/D_Lyness/bth_StaffMod.gif) no-repeat left;}


.name strong a[href="/u23"]{
padding-left: 11px;
background: url(http://i1263.photobucket.com/albums/ii637/D_Lyness/bth_StaffMod.gif) no-repeat left;}


Last edited by SethC1995 on April 25th 2013, 9:20 am; edited 1 time in total
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Solved Re: Css error

Post by montrealboi April 25th 2013, 9:18 am

Thank you very much! Solved
avatar
montrealboi
New Member

Posts : 12
Reputation : 1
Language : English

Back to top Go down

Solved Re: Css error

Post by Sanket April 25th 2013, 2:10 pm

Topic Solved & Locked
Sanket
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum