Jump to content

Recommended Posts

Hi,

 

I've got a CSS List setup to look like a table, The list renders without a list style fine in FireFox, but just doesnt work in IE. The list style is picked up, Its proving to be a bit of a pain... Any ideas on what I can do.

 

My code is as follows :

 

HTML.......

<div class="newsStory">
<div class="table">
<ul>
<li class="title">Bank Safe</li>
<li class="desc-bank">
This product is ideal for learning all of the various aspects of online banking, from transfers and payments to standing orders and direct debits...
</li>

</ul>
<ul>
<li class="title">Licence Type</li>
<li class="item">Single User Licence</li>
<li class="item">5 User Licence</li>
<li class="item">10 User Licence</li>
<li class="item">20 User Licence</li>
<li class="item">Site Licence</li>
</ul>
<ul>
<li class="title">Price</li>
<li class="item">£45.00</li>
<li class="item">£105.00</li>
<li class="item">£175.00</li>
<li class="item">£295.00</li>
<li class="item">POA</li>
</ul>
<ul>
<li class="title"> </li>
<li class="item">Add To Basket</li>
<li class="item">Add To Basket</li>
<li class="item">Add To Basket</li>
<li class="item">Add To Basket</li>
<li class="item"><a href="contact.php" title="Contact us">Contact us</a></li>
</ul>


</div>
</div>

 

CSS........

.table
{
background: #FFF;
}
.table ul
{
float:left;
margin:0;
padding:0;
border:1px solid #C9C9C9;
}
.table ul li
{
list-style:none;
padding:5px 10px;
}
.table ul li.title
{
font-weight:bold;
background: #EDE8EB;
color: #000;
list-style: none;
}
.table ul li.item
{
background:#fff;
border: solid #CCC 1px;
list-style: none;
}
.table ul li.desc-bank
{
width: 250px;
height: 118px;
border: solid #CCC 1px;
background: #FFF;
list-style: none;
}

.table ul li.desc-apprentice
{
width: 250px;
height: 78px;
border: solid #CCC 0.5px;
background: #FFF;
list-style: none;
}

.table ul li.desc-apprenticedetails
{
height: 78px;
border: solid #CCC 1px;
background: #FFF;
list-style: none;
}

Link to comment
https://forums.phpfreaks.com/topic/175770-list-style-none/
Share on other sites

try list-style-type: none instead

 

No joy with that there either... When it loads the page up in IE, The bulleted list isnt there, But selecting the list or something like that and it appears. The bullet style is not a default one though, It appears its being pulled from the sites' full CSS stylesheet

Link to comment
https://forums.phpfreaks.com/topic/175770-list-style-none/#findComment-926269
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.