Solved

different bulletpoints

Posted on 2011-02-24
4
317 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

Independent Software Vendors: 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

Unordered lists (HTML ul tags) are very handy to create menus of all types, shapes and sizes.  All it takes is a little knowledge of CSS and the possibilities are endless. First off, you should know the general format for menus created using the …
This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…

751 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