Solved

add margin to • ?

Posted on 2014-11-16
3
132 Views
Last Modified: 2014-11-16
Hi,

Rather than using an unordered list, I use a bullet like this:  

•

in front of some sentences to make them look like a list (there's a good reason I do this, but I'll save you the full explanation).

My question... is there a way to put something in my .css file that will give "•" a margin to move it slightly to the right?

For example, something like

• {margin-left:10px}

I'm assuming that wouldn't work since • isn't an html element...
0
Comment
Question by:St_Aug_Beach_Bum
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 500 total points
ID: 40446287
No, you need to make a class for it like this.
.bull {margin-left:10px;}

Open in new window

And use it like this:
<span class="bull">&bull;</span>

Open in new window

0
 

Author Closing Comment

by:St_Aug_Beach_Bum
ID: 40446337
Done, thank you,

Chris
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 40446365
You're welcome, glad to help.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Responsive Font Size 6 65
I need help changing the colour of this image rollover please? 3 29
Change how page is organized 3 51
change site header 8 31
CSS is a visual language used to classify objects and define rules about how they should be displayed. CSS skills aren’t restricted to developers anymore, there is a big benefit to having a basic understanding of the language, regardless of your occ…
This article discusses four methods for overlaying images in a container on a web page
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
In this Micro Tutorial viewers will learn how to create a CSS image sprite (In a later tutorial, viewers will learn how to use CSS and HTML to create a navigation menu using this sprite) Open a new Photoshop document with a width of (Icon width)x(N…

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question