CSS Quick Tip: Custom icon for a list-item
This is just a quick tip for customizing li’s in your html. This is a somewhat beginner-level technique, so most of you intermediate to advanced CSS people will already know this technique.
First we will start with the html code… create an unordered list with a few list items, like so…
<ul> <li>This is your list item</li> <li>and another</li> <li>One more for giggles</li> </ul>
I have already created our custom icon in photoshop that we are going to use.. ![]()
Now, what you will want to do is setup some basic css for the li, like so…
li {
list-style-image:url(customLI.gif);
}
Make sure that your image url for the list style is setup as the correct path… since my html file and image file are on the same level, I just need to reference the name of the image. It is standard practice to create an images folder for all of your graphics, if you did that, your url would look like url(images/customLI.gif
Without any other styling applied to your UL or LI the result would be something like this…
If you would like the source files, you can grab them here
I hope you enjoyed this quick CSS tutorial! Be on the lookout for more to come!





September 8th, 2010 at 3:19 am
Buy:VPXL.Cialis Professional.Zithromax.Maxaman.Super Active ED Pack.Soma.Cialis.Viagra Super Active+.Viagra Super Force.Levitra.Viagra Professional.Viagra Soft Tabs.Viagra.Propecia.Cialis Soft Tabs.Cialis Super Active+.Tramadol….
September 8th, 2010 at 6:07 am
Buy:Synthroid.Actos.Accutane.Human Growth Hormone.100% Pure Okinawan Coral Calcium.Lumigan.Valtrex.Zovirax.Mega Hoodia.Prevacid.Retin-A.Zyban.Prednisolone.Arimidex.Nexium.Petcam (Metacam) Oral Suspension….
December 20th, 2010 at 4:06 am
Abilify@official.site” rel=”nofollow”>.…
Buywithout prescription…
July 8th, 2011 at 9:24 am
buy@aloe.vera.gel” rel=”nofollow”>……
Need cheap generic VIAGRA?…
July 29th, 2011 at 2:10 am
Purchase@Discount.Coral.Calcium” rel=”nofollow”>..…
Buyit now…
July 29th, 2011 at 2:34 am
Cheap@Coral.Calcium.Online” rel=”nofollow”>..…
Buygeneric meds…
July 29th, 2011 at 3:51 am
Buy@Cheap.Abana” rel=”nofollow”>..…
Buygeneric pills…
July 29th, 2011 at 4:15 am
Buy@Discount.Abana” rel=”nofollow”>..…
Buyno prescription…
July 29th, 2011 at 12:45 pm
Purchase@Abilify.Online” rel=”nofollow”>……
Buywithout prescription…
July 29th, 2011 at 7:36 pm
Buy@Generic.Abilify.5mg.10mg.15mg.20mg.30mg” rel=”nofollow”>……
Buywithout prescription…
July 30th, 2011 at 3:15 pm
Purchase@Discount.Acai” rel=”nofollow”>..…
Buywithout prescription…
July 30th, 2011 at 9:20 pm
Buy@Acai.Without.Prescription” rel=”nofollow”>……
Buynow…
July 31st, 2011 at 12:46 pm
Buy@Cheap.Coral.Calcium” rel=”nofollow”>.…
Buynow it…
July 31st, 2011 at 11:12 pm
Buy@Cheap.Coral.Calcium” rel=”nofollow”>……
Buygeneric meds…
August 1st, 2011 at 2:14 am
Cheap@Coral.Calcium.Online” rel=”nofollow”>..…
Buygeneric drugs…
August 1st, 2011 at 7:37 am
Buy@Abilify.Online” rel=”nofollow”>..…
Buynow it…
August 1st, 2011 at 11:44 pm
Buy@Cheap.Coral.Calcium” rel=”nofollow”>.…
Buydrugs without prescription…
August 2nd, 2011 at 9:17 pm
Buy@Cheap.Abilify” rel=”nofollow”>……
Buygeneric pills…
August 3rd, 2011 at 12:46 pm
Buy@Acai.Online” rel=”nofollow”>.…
Buyit now…
August 3rd, 2011 at 12:46 pm
Buy@Acai.Online” rel=”nofollow”>……
Buyno prescription…
August 3rd, 2011 at 3:32 pm
Buy@Discount.Acai” rel=”nofollow”>……
Buyit now…
August 3rd, 2011 at 8:08 pm
Order@Discount.Acai” rel=”nofollow”>……
Buynow…
August 4th, 2011 at 4:34 pm
Order@Acai.Without.Prescription” rel=”nofollow”>.…
Buygeneric drugs…
August 5th, 2011 at 1:38 am
Order@Energy.Boost.Online” rel=”nofollow”>.…
Buygeneric drugs…
August 5th, 2011 at 6:11 am
Purchase@Cheap.Energy.Boost” rel=”nofollow”>.…
Buyno prescription…
August 5th, 2011 at 1:59 pm
Order@Accupril.Online” rel=”nofollow”>.…
Buygeneric drugs…
August 5th, 2011 at 10:40 pm
Get@Accupril.Online” rel=”nofollow”>.…
Buygeneric drugs…
August 6th, 2011 at 1:22 am
Buy@Discount.Accutane” rel=”nofollow”>.…
Buynow it…
August 7th, 2011 at 3:05 am
Buy@Aciphex.Online” rel=”nofollow”>.…
Buygeneric pills…
August 7th, 2011 at 9:05 pm
Buy@Generic.Aciphex.Without.Prescription” rel=”nofollow”>.…
Buyno prescription…
August 10th, 2011 at 12:07 am
Buy@Actonel.Without.Prescription” rel=”nofollow”>.…
Buygeneric meds…
August 10th, 2011 at 5:50 pm
Purchase@Generic.Actonel.35mg” rel=”nofollow”>..…
Buygeneric drugs krg…
August 10th, 2011 at 6:24 pm
Cheap@Generic.Actonel.35mg” rel=”nofollow”>..…
Buygeneric meds qmo…
August 11th, 2011 at 3:52 am
Order@Actos.Online” rel=”nofollow”>..…
Buygeneric pills zdg…
August 11th, 2011 at 4:25 am
Order@Cheap.Actos” rel=”nofollow”>.…
Buygeneric drugs zfk…
August 11th, 2011 at 8:15 am
Get@Actos.Online” rel=”nofollow”>..…
Buywithout prescription dyo…
August 12th, 2011 at 3:41 pm
Buy@Advair.Online” rel=”nofollow”>..…
Buynow it vhx…
August 12th, 2011 at 9:07 pm
Cheap@Coral.Calcium.Online” rel=”nofollow”>……
Buywithout prescription xiu…
August 14th, 2011 at 12:28 pm
Buy@Acai.Without.Prescription” rel=”nofollow”>.…
Buygeneric drugs itj…
August 15th, 2011 at 5:58 am
Buy@Energy.Boost.Online” rel=”nofollow”>..…
Buynow it cey…
August 15th, 2011 at 12:47 pm
Purchase@Energy.Boost.Online” rel=”nofollow”>..…
Buydrugs without prescription faj…
August 15th, 2011 at 6:16 pm
accupril@and.muscle.pain” rel=”nofollow”>……
Buynow it zdg…
August 15th, 2011 at 7:30 pm
Buy@Cheap.Accupril” rel=”nofollow”>.…
Buygeneric drugs nih…
August 16th, 2011 at 3:58 pm
Get@Accupril.Online” rel=”nofollow”>..…
Buyit now irl…
August 17th, 2011 at 3:16 pm
Cheap@Accutane.10mg.20mg” rel=”nofollow”>.…
Buyit now ojb…
August 18th, 2011 at 12:03 am
Buy@Cheap.Aciphex” rel=”nofollow”>……
Buywithout prescription ccw…
August 18th, 2011 at 4:54 am
Order@Discount.Aciphex” rel=”nofollow”>……
Buygeneric meds svb…
August 18th, 2011 at 9:38 am
Cheap@Aciphex.Online” rel=”nofollow”>..…
Buyno prescription gdt…
August 18th, 2011 at 3:33 pm
Buy@Generic.Aciphex.Without.Prescription” rel=”nofollow”>……
Buyit now knc…
August 22nd, 2011 at 1:43 am
Buy@Generic.Actonel.Without.Prescription” rel=”nofollow”>.…
Buygeneric drugs ouw…
August 22nd, 2011 at 7:01 am
Buy@Cheap.Advair” rel=”nofollow”>.…
Buygeneric drugs hwi…
August 23rd, 2011 at 3:15 am
Purchase@Advair.Online” rel=”nofollow”>..…
Buyno prescription jui…
August 23rd, 2011 at 7:07 pm
Purchase@Generic.Advair” rel=”nofollow”>.…
Buynow it lmg…
August 23rd, 2011 at 11:11 pm
Cheap@Advair.Without.Prescription” rel=”nofollow”>……
Buyit now sge…
August 24th, 2011 at 4:33 am
Buy@Generic.Advair.25mcg50mcg.25mcg125mcg.25mcg250mcg.50mcg500mcg.50mcg100mcg.50mcg250mcg” rel=”nofollow”>..< …
Buydrugs without prescription hak…
August 24th, 2011 at 5:53 am
Buy@Generic.Advair.25mcg50mcg.25mcg125mcg.25mcg250mcg.50mcg500mcg.50mcg100mcg.50mcg250mcg” rel=”nofollow”>..< …
Buyno prescription lka…
August 24th, 2011 at 3:55 pm
Buy@Cheap.Aggrenox” rel=”nofollow”>..…
Buygeneric meds dxy…
August 26th, 2011 at 8:59 am
can@you.take.aciphex.and.nexium.at.the.same.time” rel=”nofollow”>..…
Buygeneric pills…
August 26th, 2011 at 7:34 pm
aciphex@cancer.buy” rel=”nofollow”>..…
Buygeneric drugs…
August 26th, 2011 at 8:56 pm
actonel@and.heart.irregularities” rel=”nofollow”>..…
Buyno prescription…
August 27th, 2011 at 1:47 am
aldactone@kidney.problems” rel=”nofollow”>……
Buygeneric drugs…
August 28th, 2011 at 3:23 am
can@you.get.acai.berries.in.the.grocery.store” rel=”nofollow”>.…
Buydrugs without prescription…
August 28th, 2011 at 11:16 am
actonel@and.dvt” rel=”nofollow”>.…
Buygeneric meds…
August 28th, 2011 at 8:10 pm
amalaki@fruit.buy” rel=”nofollow”>……
Buyno prescription…
August 28th, 2011 at 10:57 pm
..…
Buyit now…
August 29th, 2011 at 9:56 am
buy@real.strong.armour” rel=”nofollow”>.…
Buydrugs without prescription…
October 16th, 2011 at 10:47 pm
levaquin 500mg…
Buy_no prescription…
October 17th, 2011 at 8:52 pm
mike divorce cancer tiffany…
Buy_generic pills…
October 20th, 2011 at 9:52 am
financial aid for alzheimer’s…
Buy_without prescription…
October 20th, 2011 at 6:10 pm
heart worm medication…
Buy_no prescription…
October 21st, 2011 at 11:02 pm
blood pressure medications…
Buy_now it…
October 25th, 2011 at 12:23 am
red wine and lipitor…
Buy_no prescription…
October 25th, 2011 at 6:42 pm
hepatitis b shot…
Buy_it now…
October 26th, 2011 at 3:05 am
drug trafficking in latin america…
Buy_drugs without prescription…
October 27th, 2011 at 7:22 am
effexor xr 75…
Buy_generic pills…
October 27th, 2011 at 2:02 pm
genital erection…
Buy_now it…
October 27th, 2011 at 3:40 pm
low fat diets history…
Buy_drugs without prescription…
October 29th, 2011 at 3:36 am
permanent removal of adult acne scars…
Buy_generic meds…
October 29th, 2011 at 6:55 am
hives rash from coming off prednisone…
Buy_generic drugs…
October 30th, 2011 at 7:04 am
enhancement drugs…
Buy_no prescription…
October 30th, 2011 at 6:38 pm
drug test company…
Buy_without prescription…
October 31st, 2011 at 11:20 am
social etiologies for patients with schizophrenia…
Buy_it now…
November 1st, 2011 at 2:21 am
what is metoprolol succinate used for…
Buy_it now…
November 1st, 2011 at 10:39 am
zocor and ms…
Buy_it now…
November 1st, 2011 at 5:18 pm
adderall then tylenol pm…
Buy_generic drugs…
November 1st, 2011 at 10:21 pm
abdominal pain lutenizing hormone…
Buy_generic drugs…
November 2nd, 2011 at 8:21 am
ic tramadol hcl 50 mg…
Buy_generic meds…
November 2nd, 2011 at 10:02 am
epson salt and lemon juice diet…
Buy_generic pills…
November 2nd, 2011 at 11:40 am
asthmatic inhaller mask for children…
Buy_it now…
November 2nd, 2011 at 2:59 pm
l91 energizer e2 lithium aa cells…
Buy_generic drugs…
November 3rd, 2011 at 4:22 am
how to buy glucose meter…
Buy_generic meds…
November 3rd, 2011 at 10:06 am
skin cancer foundation australia…
Buy_generic drugs…
November 3rd, 2011 at 11:29 pm
hot dog hospital diet substitutions…
Buy_generic drugs…
November 4th, 2011 at 8:27 pm
clinical features of sickle cell disease…
Buy_generic drugs…
November 6th, 2011 at 4:07 am
depression medcine xr…
Buy_drugs without prescription…
November 7th, 2011 at 5:08 am
allergic reaction to topical miconazole…
Buy_generic meds…
November 8th, 2011 at 10:20 am
school age adhd self absorbed…
Buy_now it…
November 9th, 2011 at 1:20 am
twin pregnancy obstetrician specialist dallas…
Buy_drugs without prescription…
November 9th, 2011 at 11:20 am
psychotic depression and philadelphia…
Buy_generic meds…
November 9th, 2011 at 12:59 pm
shampoo for people with dog allergies…
Buy_now…
November 12th, 2011 at 9:20 am
boniva and bone thinning and breaks…
Buy_now it…
November 12th, 2011 at 4:00 pm
scabies in dogs help…
Buy_generic drugs…
November 13th, 2011 at 3:41 am
herbals for pregnancy…
Buy_drugs without prescription…
November 15th, 2011 at 2:18 pm
free fast diet tips…
Buy_generic meds…
November 16th, 2011 at 8:17 pm
diet secrets for models…
Buy_now it…
December 11th, 2011 at 9:54 am
best@medicare.plan.d.for.nexium.40.mg” rel=”nofollow”>..…
Buygeneric meds…
December 11th, 2011 at 2:14 pm
infant@prevacid.dose” rel=”nofollow”>.…
Buygeneric drugs…