Jump to content
superdiogene

Style <ul>

Recommended Posts

Hello, I would like to know if it is possible with the same css file to assign to the <ul> structure
more images eg


<Style>
ul {
     list-style: square inside url ("sqpurple.gif");
}

ul2 {
     list-style: square inside url ("apple.gif");
}

ul3 {
     list-style: square inside url ("arrow.gif");
}

Share this post


Link to post
Share on other sites

You can select any list and change its bullet images. You can also select individual  <li> elements and set their bullet images. 

Share this post


Link to post
Share on other sites

You can try  this way in html:

<ul>

<li><img src="sqpurple.gif"><</li>

<li><img src="apple.gif"></li>

<li><img src="arrow.gif"></li>

</ul>
css:

li{

list-style-type:square;

}

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...