Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
ol list-style-type in ie7
Old 05-11-2010, 11:45 AM ol list-style-type in ie7
Experienced Talker

Posts: 37
Name: Ryan
Location: Indianapolis, IN
Trades: 0
I have tried a number of things, but for whatever reason, my ordered lists in ie7 all show 1. Doesn't matter if there are 5 or 50 items, they all start with 1. Is this a common quirk?
indyryan is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 05-11-2010, 12:19 PM Re: ol list-style-type in ie7
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,380
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Do we get some code or a URI rather than guessing???
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 05-11-2010, 12:46 PM Re: ol list-style-type in ie7
Experienced Talker

Posts: 37
Name: Ryan
Location: Indianapolis, IN
Trades: 0
aren't guessing games fun?

Quote:
body {
background: #70716b url('images/bkgd.jpg') repeat-x top left;
/* background: black; */
text-align: justify;
font-family: "Arial", Arial, Helvetica, sans-serif;
font-size: small;
text-align: justify;
color: #555E4F;
margin: 0;
padding: 0;
}

h1, h2, h3, h4, h5 {
margin: 0;
}

label,
input {
display: block;
}
input,
textarea {
font-family: Verdana;
padding: 2px;
font-size: 11px;
}
p, li {
max-width: 600px;
margin-bottom: 10px;
}
ol li{
list-style: decimal!important;
margin-bottom: 20px;
vertical-align: top;
}
/* Header */

#header {
width: 960px;
margin: 0 auto;
color: #808080;
}

#header h1 {
float: left;
margin: 0px 0 0 0px;
font-size: 30px;
letter-spacing: 1px;
}

#header h2 {
float: right;
margin: 40px 20px 0 0;
font-size: 18px;
letter-spacing: 0px;
}
a img {border: none;}

a {
color: #666666;
text-decoration: none;
border: none;
}

a:hover {
color: #555E4F;
text-decoration: none;
}

/* Menu */

#menu1 {
float: left;
width: 160px;
margin: 0px auto;
padding-bottom: 20px;
text-transform: uppercase;
font-weight: bold;
font-size: 14px;
color: #323B2E;
}

#menu1 ul,
#menu2 {
margin: 0px;
list-style: none;
padding: 0px;
}
#menu1 li {
margin-bottom: 0;
}
#menu2 {
margin-top: -2px;
}

#menu2 a {
display: block;
width: 100%;
padding: 12px 0px;
text-align: center;
text-decoration: none;
text-transform: uppercase;
font-weight: bold;
color: white;
border: none;
float: left;
margin: 0px !important;
}


#menu2 li {
float: left;
width: 192px;
list-style-type: none;
background: url(images/navbg.jpg) repeat-x top left;
}

#menu1 a {
display: block;
width: 192px;
padding: 14px 0px;
/*background-color: #D9D9D9;*/
background: url(images/navbg.jpg) no-repeat top left;
/*border-top: 1px solid #EDEDED;
border-bottom: 1px solid #B5B5B5;*/
text-align: center;
text-decoration: none;
text-transform: uppercase;
font-weight: bold;
color: white;
border: none;
}

#menu1 a:hover,
#menu2 a:hover {

color: #808080;
}

/* Content */

#content {
width: 960px;
margin: 0 auto;
padding-top: 0px;
border: 0px solid #FFFFFF;
border-top: none;
background: #E9EAE2;
}

#colOne {
float: left;
width: 190px;
margin-top: 20px;
padding: 0 10px 0 20px;
}

#colTwo {
float: right;
margin-top: 20px;
width: 600px;
padding: 0 40px 0 20px;
}

#content h2 {
margin-bottom: 20px;
font-size: 18px;
letter-spacing: -1px;
color: #808080;
}

.list-items li a {
text-decoration: underline;
}


#footer {
width: 960px;
margin: 0 auto;
padding-top: 10px;
}


#footer p {
text-align: center;
padding: 0;
font-size: 10px;
margin: 0 auto 20px;
}
.clear {
clear: both;
height: 0;/* fixes IE7 bug adding xtra vertical space after float + clear */
overflow:hidden;
padding: 0;
margin: 0;
height: 0;
}
Quote:
<ol>
<li>Number of family members: ___</li>
<li>Number and approximate ages of family members:<br /><br/>
Children Adults<br />
Age___ Sex___ Age___ Sex___<br />
Age___ Sex___ Age___ Sex___<br />
Age___ Sex___ Age___ Sex___<br />
Age___ Sex___ Age___ Sex___<br />
</li>
<li>How long do you plan on living in the home you are remodeling/building?<br />
__ 1 to 5 yrs __ 6 to 10 yrs __ 11 to 20 yrs __ 20+
</li>
<li>Where does your family eat its meals? __ Kitchen __ Dining Room __ Other:________________</li>
<li>Where will your family eat after you remodel/build?<br />
__ Kitchen __ Dining Room<br />
__ Other:________________
</li>
<li>Do you require a kitchen table or would you be willing to explore other options if a design could be improved?<br />
__ A kitchen table is required<br />
__ Preferred but open to other options<br />
__ Not necessary
</li>
<li>What other activities will take place in your new kitchen?<br />
__ Laundry __ Homework __ Watching TV<br />
__ Paying Bills __ Sewing __ Computer Center<br />
__ Other:
</li>
<li>After your remodel/build will you entertain frequently? __ Yes __ No<br /><br />
If Yes... What is your entertainment style?<br />
__ formal __ informal<br /><br />
Do you have large or small gatherings?<br />
__ large or __ small<br /><br />
Do your guests help you in the kitchen when you entertain?<br />
__ Yes __ No
</li>
<li>
How do you shop?<br />
__ For the week<br />
__ For each meal<br />
__ Buy non-perishable items in bulk<br />
__ Buy in bulk and freeze<br /><br />
If you buy in bulk, do you require storage in the kitchen for all or most of these items? __ Yes __ No
</li>
</ol>
indyryan is offline
Reply With Quote
View Public Profile
 
Old 05-11-2010, 01:17 PM Re: ol list-style-type in ie7
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,380
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
It's a bug (bet you're shocked there)

and it's the width applied to the <li> that causes it.


Add display:list-item; to the <li>s that need a set width.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to ol list-style-type in ie7
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.22212 seconds with 12 queries