HighDots Forums  

Can a numbered list start at something > 1?

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Can a numbered list start at something > 1? in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #21  
Old   
Dave Rado
 
Posts: n/a

Default Re: Can a numbered list start at something > 1? - 12-19-2007 , 10:30 AM






On 19 Dec, 15:17, Michael Fesser <neti... (AT) gmx (DOT) de> wrote:
Quote:
.oO(Dave Rado)

My original question really was asking *how* to remove the bullets
with css, especially if you are also using real bullets in the same
website.

'list-style-type'http://www.w3.org/TR/CSS21/generate.html#list-style

Micha
Hi Michael

That seems to work in Firefox but not in IE, when I try it. In my css
file, I have:

ul.numbering { list-style-type: none; list-style: none;}

In my web page I have:

<ul class="numbering">
<li>test</li>
</ul>

In IE (but not in Firefox), the bullets are still displayed. Am I
missing something out?

Dave


Reply With Quote
  #22  
Old   
Dave Rado
 
Posts: n/a

Default Re: Can a numbered list start at something > 1? - 12-19-2007 , 12:09 PM






On 19 Dec, 16:30, Dave Rado <dave.r... (AT) dsl (DOT) pipex.com> wrote:
Quote:
On 19 Dec, 15:17, Michael Fesser <neti... (AT) gmx (DOT) de> wrote:

.oO(Dave Rado)

My original question really was asking *how* to remove the bullets
with css, especially if you are also using real bullets in the same
website.

'list-style-type'http://www.w3.org/TR/CSS21/generate.html#list-style

Micha

Hi Michael

That seems to work in Firefox but not in IE, when I try it. In my css
file, I have:

ul.numbering { list-style-type: none; list-style: none;}

In my web page I have:

ul class="numbering"
li>test</li
/ul

In IE (but not in Firefox), the bullets are still displayed. Am I
missing something out?

Dave
Just so you can see what I've done (wrong?), I've uploaded a mock-up
<a href="http://tinyurl.com/2b2uww">here</a>. The css file is <a
href="http://tinyurl.com/26v5gh">here</a>.

Dave


Reply With Quote
  #23  
Old   
Jon Fairbairn
 
Posts: n/a

Default Re: Can a numbered list start at something > 1? - 12-19-2007 , 12:12 PM



Dave Rado <dave.rado (AT) dsl (DOT) pipex.com> writes:

Quote:
On 19 Dec, 15:17, Michael Fesser <neti... (AT) gmx (DOT) de> wrote:
.oO(Dave Rado)

My original question really was asking *how* to remove the bullets
with css, especially if you are also using real bullets in the same
website.

'list-style-type'http://www.w3.org/TR/CSS21/generate.html#list-style

Micha

Hi Michael

That seems to work in Firefox but not in IE, when I try it. In my css
file, I have:

ul.numbering { list-style-type: none; list-style: none;}

In my web page I have:

ul class="numbering"
li>test</li
/ul

In IE (but not in Firefox), the bullets are still displayed. Am I
missing something out?
DOCTYPE? Quirks mode probably. There's not enough
information in what you've posted above to diagnose the
problem.

--
Jón Fairbairn Jon.Fairbairn (AT) cl (DOT) cam.ac.uk



Reply With Quote
  #24  
Old   
Dave Rado
 
Posts: n/a

Default Re: Can a numbered list start at something > 1? - 12-19-2007 , 12:17 PM



On 19 Dec, 15:17, Michael Fesser <neti... (AT) gmx (DOT) de> wrote:
Quote:
.oO(Dave Rado)

My original question really was asking *how* to remove the bullets
with css, especially if you are also using real bullets in the same
website.

'list-style-type'http://www.w3.org/TR/CSS21/generate.html#list-style

Micha
Hi again Michael

(I'm reposting this reply because my previous attempt at posting it
seems to have got lost in the ether for some reason). Just so you can
see what I'm doing (wrong?), I've uploaded a mock-up of my attempt at
implementing your suggestion, <a href="http://tinyurl.com/
2b2uww">here</a>; and the stylesheet it's using is <a href="http://
tinyurl.com/26v5gh">here</a>. In my mock-up, the bullets are
suppressed in Firefox but not in IE.

Dave


Reply With Quote
  #25  
Old   
Dave Rado
 
Posts: n/a

Default Re: Can a numbered list start at something > 1? - 12-19-2007 , 12:18 PM



On 19 Dec, 18:12, Jon Fairbairn <jon.fairba... (AT) cl (DOT) cam.ac.uk> wrote:
Quote:
Dave Rado <dave.r... (AT) dsl (DOT) pipex.com> writes:
On 19 Dec, 15:17, Michael Fesser <neti... (AT) gmx (DOT) de> wrote:
.oO(Dave Rado)

My original question really was asking *how* to remove the bullets
with css, especially if you are also using real bullets in the same
website.

'list-style-type'http://www.w3.org/TR/CSS21/generate.html#list-style

Micha

Hi Michael

That seems to work in Firefox but not in IE, when I try it. In my css
file, I have:

ul.numbering { list-style-type: none; list-style: none;}

In my web page I have:

ul class="numbering"
li>test</li
/ul

In IE (but not in Firefox), the bullets are still displayed. Am I
missing something out?

DOCTYPE? Quirks mode probably. There's not enough
information in what you've posted above to diagnose the
problem.

--
Jón Fairbairn Jon.Fairba... (AT) cl (DOT) cam.ac.uk
Hi Jon

See my mock-up and stylesheet in post 14.

Dave


Reply With Quote
  #26  
Old   
Jon Fairbairn
 
Posts: n/a

Default Re: Can a numbered list start at something > 1? - 12-19-2007 , 12:27 PM



Dave Rado <dave.rado (AT) dsl (DOT) pipex.com> writes:
Quote:
In IE (but not in Firefox), the bullets are still displayed. Am I
missing something out?

DOCTYPE? Quirks mode probably. There's not enough
information in what you've posted above to diagnose the
problem.

See my mock-up and stylesheet in post 14.
Um, you do realise that the numbers on the posts are
relative to what server you are getting your news from and
what you read last time you looked?

Anyhow, the page at <http://tinyurl.com/2b2uww> (in post 36
where I'm looking at it) has no DOCTYPE declaration, so IE
will go into quirks mode. Google for DOCTYPE and "quirks
mode". Essentially, without a doctype, IE won't even
attempt to follow standard behavior.

--
Jón Fairbairn Jon.Fairbairn (AT) cl (DOT) cam.ac.uk


Reply With Quote
  #27  
Old   
Michael Fesser
 
Posts: n/a

Default Re: Can a numbered list start at something > 1? - 12-19-2007 , 12:30 PM



..oO(Dave Rado)

Quote:
(I'm reposting this reply because my previous attempt at posting it
seems to have got lost in the ether for some reason). Just so you can
see what I'm doing (wrong?), I've uploaded a mock-up of my attempt at
implementing your suggestion, <a href="http://tinyurl.com/
2b2uww">here</a>; and the stylesheet it's using is <a href="http://
tinyurl.com/26v5gh">here</a>. In my mock-up, the bullets are
suppressed in Firefox but not in IE.
First you should add a proper document type declaration. Without one the
page will be rendered in quirks mode in most browsers, where all kinds
of strange things may happen.

Then you could try to apply the 'list-style' property to the 'li'
elements instead of the 'ul'. It should work both ways since 'list-
style' is inherited, but you never know what IE makes of it ...

Additionally you don't need both 'list-style-type' and 'list-style' -
the second is a just shorthand property and already contains/sets the
first one.

Micha


Reply With Quote
  #28  
Old   
Bergamot
 
Posts: n/a

Default Re: Can a numbered list start at something > 1? - 12-20-2007 , 06:26 AM



Dave Rado wrote:
Quote:
In my web page I have:

ul class="numbering"
li>test</li
/ul

In IE (but not in Firefox), the bullets are still displayed.

I've uploaded a mock-up
http://tinyurl.com/2b2uww
Don't take this personally, but that's some ugly code you've got there.
I didn't even try to weed through your CSS. All I will say is that IE
handles margins and padding on lists differently than Firefox.

Why don't you go for something simpler, and drop the legacy cruft?

http://www.bergamotus.ws/samples/daverado.html

--
Berg


Reply With Quote
  #29  
Old   
Dave Rado
 
Posts: n/a

Default Re: Can a numbered list start at something > 1? - 12-27-2007 , 02:44 AM



On 20 Dec, 12:26, Bergamot <berga... (AT) visi (DOT) com> wrote:
Quote:
Dave Rado wrote:

In my web page I have:

ul class="numbering"
li>test</li
/ul

In IE (but not in Firefox), the bullets are still displayed.

I've uploaded a mock-up
http://tinyurl.com/2b2uww

Don't take this personally, but that's some ugly code you've got there.
I didn't even try to weed through your CSS. All I will say is that IE
handles margins and padding on lists differently than Firefox.

Why don't you go for something simpler, and drop the legacy cruft?

http://www.bergamotus.ws/samples/daverado.html

--
Berg
Hi Berg

Sorry for the delayed reply - I've been offline for a few days.

With regard to the "bulletless bullets", I get the same problem with
your code as with my own - if the ul style uses a graphical bullet
then so does <ul class="numbering">, when viewed in IE - IE seems to
ignore the "list-style: none" definition for the latter. See
http://tinyurl.com/299sjq, which uses your code but my stylesheet.

With regards to your <div class="wrapper"> suggestion, I get the same
problem with it as with Jonathan's "box" - I need the simulated
"document page" to have a fixed width and I can't see any way to
achieve that with your method - is it possible?

Dave


Reply With Quote
  #30  
Old   
Dave Rado
 
Posts: n/a

Default Re: Can a numbered list start at something > 1? - 12-27-2007 , 02:50 AM



Hi Jon

Sorry for the delayed reply - I've been offline for a few days.

On 19 Dec, 18:27, Jon Fairbairn <jon.fairba... (AT) cl (DOT) cam.ac.uk> wrote:
Quote:
Dave Rado <dave.r... (AT) dsl (DOT) pipex.com> writes:
In IE (but not in Firefox), the bullets are still displayed. Am I
missing something out?

DOCTYPE? Quirks mode probably. There's not enough
information in what you've posted above to diagnose the
problem.
See my mock-up and stylesheet in post 14.

Um, you do realise that the numbers on the posts are
relative to what server you are getting your news from and
what you read last time you looked?
Sorry I forgot this was the usenet - I'm more used to posting in web-
only newsgroups these days.


Quote:
Anyhow, the page at <http://tinyurl.com/2b2uww> (in post 36
where I'm looking at it) has no DOCTYPE declaration, so IE
will go into quirks mode. Google for DOCTYPE and "quirks
mode". Essentially, without a doctype, IE won't even
attempt to follow standard behavior.
I've added a DOCTYPE declaration now, but I still get the same
problem when the page is viewed in IE.

Dave


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.