Bullets
-
Can anyone tell me how to make bullets? I’ve posted a list and i would like to add bullets to each item.
Thanks….
-
This is the first post I can recall that actually asked for bullets π
Thanks, for responding.
I’m not very smart. I have no idea what you posted there. I’m not sure if I’m making myself clear. I want to add bullets to the list I made. Are they just images? I tried placing some ball type images at the start of each line but the image was always too high…..like a superscription. A BULLET is lower and centered on the text.
Oh wellBy default, css will add bullets unless you tell it not to:
ul, ul li{
color:#ff0000;
}
will be red, and bulleted.
ul,ul li{
color:#ff0000;
list-style:none;
}
will be red, but no bullets.
I cannot see where your wp install actually is – give us a link, and we’ll sort the css πhttp://www.theirvins.com/wordpress/index.php
Thank you….Okay…….backup your css first.
There is a spacing issue. I added bullets, but they were hidden due to an overlap, so this sorts that too.
#nav ul {
color: #777;
font-weight: bold;
list-style-type: none;
margin: 0;
padding-left: 3px; <—————-make that 16px
text-transform: lowercase;
}
#nav ul li {
font: italic normal 110% ‘Toxica’, Times New Roman, Times, serif;
letter-spacing: 0.1em;
margin-top: 10px;
padding-bottom: 2px; /*border-bottom: dotted 1px #ccc;*/
list-style:disc; <————–add this line
}
#nav ul ul li {
border: 0;
font: normal normal 70%/115% ‘Lucida Grande’, ‘Lucida Sans Unicode’, Verdana, sans-serif;
letter-spacing: 0;
margin-top: 0;
padding: 0;
padding-left: 12px;
list-style:lower-greek; <———–add that line
}
I know that last one isn’t a bullet. It’s so you can see what to alter if you don’t want the headings to be bulleted.
You may need to alter the 16px to suit, but do backup first, and this isn’t exactly what you are after, post back πI’m new to php. How would I use this in a post? For example, in a list…
This is item #1
This is item #2
I want a bullet in front of each line. What would I place in front of each line?
I know, I’m slow….It’s not php, it’s css π
Try a test post like this, and see that all is what you want:
- This is item#1
- Item#2
and for numbered
- First
- Second>/li>
If it is not, post back but leave the code there so we can play with it.And there are QuickTags available for that in the post write/edit screen. They are marked (oddly enough) OL, UL, LI.
TGWell, I was wondering what those tags were for. Anyway, I got the bullets working. I’ve written a check for each of you but as luck would have it, I’ve run out of stamps to mail them. I guess I should get a PAYPAL account.
Now, I used theand the
tags. What does the
do differently?
May all of your children grow up to be extremely wealthy and share their good fortune with you!
πul – unordered list
ol – ordered list (numbered usually)
For more list options:
http://www.w3.org/TR/REC-CSS2/generate.html#lists
The topic ‘Bullets’ is closed to new replies.