|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today! |
|
#1
|
|||
|
|||
|
CSS - list-style-image / space needed...
I'm having a little trouble with my CSS...the following style is working well as a List menu...with an image instead of a bullet...
I want to put something in this style which adds a space right after the image... The style below puts the images...and the text like this `imagetext`....I'd like it to be `image text` explanation might be a little weird...hopefully someone undestands the question..thanks in advance... .menuopsom { font-family: Verdana; font-size: 9pt; list-style-image: url(img/pijltje.gif); } |
|
#2
|
|||
|
|||
|
You'll need to adjust margin-left and padding-left (make sure you use both because different browsers have different defaults).
There's a good article on list formatting in general that should give you some hints at http://www.alistapart.com/, http://www.alistapart.com/stories/taminglists/ Hadley |
|
#3
|
|||
|
|||
|
This is so cool! Thanks for sharing this resource. I was wondering how to do the tab look - now I know.
|
![]() |
| Viewing: Dev Articles Community Forums > Programming > Programming Tools > CSS - list-style-image / space needed... |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|