The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Css error

View previous topic View next topic Go down

Solved Css error

Post by montrealboi on 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.




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

montrealboi
New Member

Posts : 12
Reputation : 1
Language : English

Back to top Go down

Solved Re: Css error

Post by Ange Tuteur on 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
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Css error

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

Thank you very much! Solved

montrealboi
New Member

Posts : 12
Reputation : 1
Language : English

Back to top Go down

Solved Re: Css error

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

Topic Solved & Locked

Sanket
ForumGuru

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

http://webartzforum.com

Back to top Go down

View previous topic View next topic Back to top


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