Numbered Lists

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

We're using CSS, and within the Body definition, we have the following:
body {
background: #D1C9AD;
color: #000000;
padding: 0;
text-align: center;
font-family: verdana, arial, helvetica, sans-serif;
font-size: 1em;
margin-left: 0;
margin-right: 0;
margin-top: 15px;
margin-bottom: 0px;
list-style: decimal;
}
The problem is, when in the htm page in 2003 which references the above CSS,
if I click on the numbered list option, I receive a disc, not a number.

What am I doing wrong?
 
Really? Becaue with the following page, I don't see this.

<html>
<head>
<title>Test</title>
<style>
body {
background: #D1C9AD;
color: #000000;
padding: 0;
text-align: center;
font-family: verdana, arial, helvetica, sans-serif;
font-size: 1em;
margin-left: 0;
margin-right: 0;
margin-top: 15px;
margin-bottom: 0px;
list-style: decimal;
}
</style>
</head>
<body>
<ol>
<li>one</li>
<li>two</li>
<li>three</li>
</ol>
</body>
</html>

What are you doing differently?

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Windows SharePoint Services Inside Out
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------
 
They look very similar, so I'm not sure. My code is within a CSS, and begins
like the following, not with the html, head, etc. Here is the beginning of
my CSS:

/* cmich generic template css */
/* use with cmich-3col-template2.htm */

/* use 1 em for body font size, and % for rest of font sizes ; then */
/* if changing font size, just change this and rest will be relative */

body {
background: #D1C9AD;
color: #000000;
padding: 0;
text-align: center;
font-family: verdana, arial, helvetica, sans-serif;
font-size: 1em;
margin-left: 0;
margin-right: 0;
margin-top: 15px;
margin-bottom: 0px; list-style: decimal;
}
 
I think there must be something else in your styue sheet that's messing this
up.

For example, do you have any styles for the OL or LI selectors?

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Windows SharePoint Services Inside Out
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------
 
Back
Top