Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / XML / October 2003

Tip: Looking for answers? Try searching our database.

List - XML CSS. Numbering problem.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Marek - 29 Oct 2003 00:39 GMT
When I use "list-style-type:decimal;" in Mozilla I get numbering only with
"zero":
0. aaaa
0. bbb
0. cccc
Why there is no incrementation?
In IE 6.0 there is no numbering:
aaaa
bbb
cccc

Here is my XML

<list>
   <item>aaa</item>
   <item>bbb</item>
   <item>ccc</item>
</list>

and CSS:

list{
margin-left:40px;
display:block;
list-style-type:decimal;
counter-reset: item;
}

list item {
display:list-item;
}

list{
 content: counter(item);
 counter-increment: item;
}

I know that Mozila doesn't support counters. I tried without it, but it
doesn't work.
PLEASE HELP ME!

--
Mark
Oleg Tkachenko - 29 Oct 2003 13:53 GMT
> I know that Mozila doesn't support counters. I tried without it, but it
> doesn't work.

Try XSLT instead of CSS.
Signature

Oleg Tkachenko
http://www.tkachenko.com/blog
Multiconn Technologies, Israel


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.