Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

different bulletpoints

Posted on 2011-02-24
4
Medium Priority
?
319 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 2000 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

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

This is a how to build your own CSS3 slideshow and when I say CSS3 I mean just CSS with no javascript in sight! There a few examples online of how to do this but most just show you an example without any explanation, others make it more complicat…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how to customize the background color and font color of highlighted text using the ::selection element in CSS Begin by defining the selected text as an element in CSS by typing "::selection": Style the ::selection…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
Suggested Courses

715 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