Solved

different bulletpoints

Posted on 2011-02-24
4
316 Views
Last Modified: 2012-06-21
is there a way to do

<div 1>
ul list style with a picture
<div 2>
ul list style circle
</div> end of div2
</div> end of div1


should I use id or class
0
Comment
Question by:rgb192
[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
4 Comments
 

Expert Comment

by:sshull
ID: 34972623
Here's a good example to replace a style, say square, with an image. From there you can incorporate that into your design so when you code the UL, set the one you want the image to replace as a square, and set the other UL as the circle style.

W3 CSS UL Image
0
 

Author Comment

by:rgb192
ID: 34973113
i want one ul style nested in another ul style

<div 1>
ul list style with a picture
<div 2>
ul list style circle
</div> end of div2
</div> end of div1




I cant find that in the link
0
 
LVL 16

Accepted Solution

by:
SSupreme earned 500 total points
ID: 34974052
Add any div to this markup and it should be fine:
 
<html>
<head>
<style type="text/css">
ul.b {list-style-type:circle;}
ul.a {list-style-image: url(http://www.w3schools.com/css/sqorange.gif);}
</style>
</head>
<body>
<ul class="a">
  <li>Coffee</li>
  <li>Tea</li>
  <li>Coca Cola</li>
</ul>
<ul class="b">
  <li>Coffee</li>
  <li>Tea</li>
  <li>Coca Cola</li>
</ul>
</body>
</html>

Open in new window

0
 

Author Closing Comment

by:rgb192
ID: 34974354
thanks
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

As a result of several questions about how to use Bootstrap I thought it would be a good idea to write down the development aspect of creating a Bootstrapped website in as little time as possible. Part 1 of this article will only concentrate on g…
Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
In this tutorial viewers will learn how to embed custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at google.com/fonts: Browse or search based on font properties or name to find a suitable font for…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

756 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