I have a current list using HTML coding, but I want to update it to CSS, is there a code for this or do I need to add a table, and if so, how do I do this?
Can I create a list using CSS opposed to HTML?
Page 1 of 16 Replies - 377 Views - Last Post: 24 August 2012 - 12:41 AM
Replies To: Can I create a list using CSS opposed to HTML?
#2
Re: Can I create a list using CSS opposed to HTML?
Posted 23 August 2012 - 09:28 PM
CSS is for styling, HTML is for marking up and structuring content. They work together. You create the list in HTML, like you did, then you style the way it looks using CSS. You don't "upgrade" HTML to CSS. They are two different things and work together.
This post has been edited by Martyr2: 23 August 2012 - 09:28 PM
#3
Re: Can I create a list using CSS opposed to HTML?
Posted 23 August 2012 - 09:32 PM
I understand they work together, I am doing an assignment and we have to change HTML for CSS, so I was wondering if there is a way to create a list using CSS.
#4
Re: Can I create a list using CSS opposed to HTML?
Posted 23 August 2012 - 10:47 PM
to tell it plainly, without HTML no CSS will work.
what may be meant is that you replace HTML styling attributes through proper CSS, but that would require some shown code to verify.
what may be meant is that you replace HTML styling attributes through proper CSS, but that would require some shown code to verify.
#5
Re: Can I create a list using CSS opposed to HTML?
Posted 23 August 2012 - 10:51 PM
try these.. it might help you and give you and idea.. 
Different list item markers
an image as the list item marker
Crossover Solution
List Shorthand property
Different list item markers
ul.a {list-style-type: circle;}
ul.b {list-style-type: square;}
ol.c {list-style-type: upper-roman;}
ol.d {list-style-type: lower-alpha;}
an image as the list item marker
ul
{
list-style-image: url('sqpurple.gif');
}
Crossover Solution
ul
{
list-style-type: none;
padding: 0px;
margin: 0px;
}
ul li
{
background-image: url(sqpurple.gif);
background-repeat: no-repeat;
background-position: 0px 5px;
padding-left: 14px;
}
List Shorthand property
ul
{
list-style: square url("sqpurple.gif");
}
#6
Re: Can I create a list using CSS opposed to HTML?
Posted 23 August 2012 - 11:51 PM
Thanks Miguel,
that was what I was looking for
that was what I was looking for
#7
Re: Can I create a list using CSS opposed to HTML?
Posted 24 August 2012 - 12:41 AM
my pleasure to help...
Page 1 of 1
|
|

New Topic/Question
Reply


MultiQuote




|