This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Find out more hereX

Home > Discussion Forum

Discussion Forum

DeterminedOne DeterminedOne is offline
Connector
Join Date: Sep 2005
Location: London
Posts: 505
Css help...banging head against brick wall!

Any css supremos out there? I'm trying to figure out where I'm going wrong and it's driving me nuts!

I'm trying to create an inline list with images as the bullets. All works fine as a normal unordered list, but the minute I change the display to 'inline' the bullets disappear. Can anyone put me out of my misery and tell me where I'm going wrong?

ul.listingbullet {
margin-left:0px;
}

ul.listingbullet li {
display:inline;
list-style-image:url(images/icon_categories.gif) repeat:no-repeat top left ;
}

Thanks!
Laura
__________________
>> Dining Tables

>> Coffee Tables
Reply With Quote
bluecube bluecube is offline
Connector
Join Date: Sep 2006
Location: Birmingham
Posts: 622
Hi Laura,

Try this...

ul.listingbullet {
margin-left:0px;
}

ul.listingbullet li {
display:inline;
background:url(images/icon_categories.gif) no-repeat;
padding: 0px 0px 10px 20px;
margin: 0px;
list-style-type: none;
}

Change the padding to reflect the size of your image

Let me know how you get on

Hope this helps

Regards

Nathan
__________________
Nathan Roberts
Web Design Birmingham

Latest Projects - Loudmouth | Make Up Artist Of The Year


Contact - 0121 314 0390 | info (at) bluecubemedia.co.uk | Website Design Birmingham
Reply With Quote
DeterminedOne DeterminedOne is offline
Connector
Join Date: Sep 2005
Location: London
Posts: 505
Nathan, you're a star, that worked a treat! Thank you ;o)
__________________
>> Dining Tables

>> Coffee Tables
Reply With Quote
bluecube bluecube is offline
Connector
Join Date: Sep 2006
Location: Birmingham
Posts: 622
Welcome,

Just a note for future if its on a live / test server and you can give a link o the page its always better...but this could well be your top secret new project
__________________
Nathan Roberts
Web Design Birmingham

Latest Projects - Loudmouth | Make Up Artist Of The Year


Contact - 0121 314 0390 | info (at) bluecubemedia.co.uk | Website Design Birmingham
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT +1. The time now is 07:05 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd. Copyright Shell LiveWIRE 2005-2009