CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsWeb DesignCSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old November 2nd, 2007, 12:11 PM
Chewie's Avatar
Chewie Chewie is offline
Coding fun is drunk
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Location: Lincoln, UK
Posts: 127 Chewie User rank is Sergeant (500 - 2000 Reputation Level)Chewie User rank is Sergeant (500 - 2000 Reputation Level)Chewie User rank is Sergeant (500 - 2000 Reputation Level)Chewie User rank is Sergeant (500 - 2000 Reputation Level)Chewie User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 1 Day 22 h 27 m 36 sec
Reputation Power: 21
Send a message via Yahoo to Chewie
First <li> item does not display bullet

Hi Guys,

I have what i think is a rather odd problem and i have not seen it before.

I have just finished creating a wordpress template for my blog which can be found at http://www.mobileshop.com/blog i have pretty much got everything sorted (except Safari pushing the RSS info down) but i have one strange problem in IE.

If you look on the right hand bar in a non IE browser you can see that the lists all have a little icon of a phone as the bullet points. Now if you switch to IE then you will see that the first item of each list is missing the phone icon. Even if i swap it back to normal bullets it still misses the first one off.

The <li>'s all seem structured fine in the html and my css is as follows...

Code:
#rightbar ul li ul {
	background: #fff url(images/cat-bg.gif);
	background-repeat: repeat-y;
	color: #03036a;
	padding: 8px;
	margin: 0;
	margin-top: 0;
}
#rightbar ul li ul li {
	margin: 0;
	margin-left: 20px;
	padding: 0;
	line-height: 20px;
	list-style-image: url(images/phone-bullet.png);
	background: none;
	font-size: 120%;
	width: 210px;
}


I know its probably not the best code but i cannot for the life of me work out why IE does not display the icon for the first <li> item, anyone have any ideas?

Thanx
__________________
"The cause will equal the effect after the effect has preceded the cause"

Reply With Quote
  #2  
Old November 2nd, 2007, 02:49 PM
webable webable is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2007
Location: Countryside, Sweden
Posts: 14 webable User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 16 h 28 m 24 sec
Reputation Power: 0
The only reason I can think of is that there would be not enuff space for the first bullet. And the vertical distance is a few pixel less in IE for the first bullet.

Reply With Quote
  #3  
Old November 2nd, 2007, 11:17 PM
Kravvitz's Avatar
Kravvitz Kravvitz is offline
CSS & JS/DOM Adept
Dev Shed God 30th Plane (19500 - 19999 posts)
 
Join Date: Jul 2004
Location: USA
Posts: 19,834 Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level) 
Time spent in forums: 6 Months 1 Day 21 h 3 m 17 sec
Reputation Power: 4192
I recommend that you use background-image instead of list-style-image.

That page has a lot of XHTML errors.
__________________
Spreading knowledge, one newbie at a time. I'm available for hire at Dynamic Site Solutions.

Check out my blog. | Learn CSS. | PHP includes | X/HTML Validator | CSS validator | Common CSS Mistakes | Common JS Mistakes

Remember people spend most of their time on other people's sites (so don't violate web design conventions).

Reply With Quote
  #4  
Old November 3rd, 2007, 05:47 AM
Nilpo's Avatar
Nilpo Nilpo is offline
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jan 2004
Location: New Springfield, OH
Posts: 863 Nilpo User rank is General 3rd Grade (Above 100000 Reputation Level)Nilpo User rank is General 3rd Grade (Above 100000 Reputation Level)Nilpo User rank is General 3rd Grade (Above 100000 Reputation Level)Nilpo User rank is General 3rd Grade (Above 100000 Reputation Level)Nilpo User rank is General 3rd Grade (Above 100000 Reputation Level)Nilpo User rank is General 3rd Grade (Above 100000 Reputation Level)Nilpo User rank is General 3rd Grade (Above 100000 Reputation Level)Nilpo User rank is General 3rd Grade (Above 100000 Reputation Level)Nilpo User rank is General 3rd Grade (Above 100000 Reputation Level)Nilpo User rank is General 3rd Grade (Above 100000 Reputation Level)Nilpo User rank is General 3rd Grade (Above 100000 Reputation Level)Nilpo User rank is General 3rd Grade (Above 100000 Reputation Level)Nilpo User rank is General 3rd Grade (Above 100000 Reputation Level)Nilpo User rank is General 3rd Grade (Above 100000 Reputation Level)Nilpo User rank is General 3rd Grade (Above 100000 Reputation Level)Nilpo User rank is General 3rd Grade (Above 100000 Reputation Level)  Folding Points: 600856 Folding Title: Super Ultimate Folder - Level 2Folding Points: 600856 Folding Title: Super Ultimate Folder - Level 2Folding Points: 600856 Folding Title: Super Ultimate Folder - Level 2Folding Points: 600856 Folding Title: Super Ultimate Folder - Level 2Folding Points: 600856 Folding Title: Super Ultimate Folder - Level 2Folding Points: 600856 Folding Title: Super Ultimate Folder - Level 2Folding Points: 600856 Folding Title: Super Ultimate Folder - Level 2
Time spent in forums: 5 Days 16 h 50 m 17 sec
Reputation Power: 1185
Send a message via ICQ to Nilpo Send a message via AIM to Nilpo Send a message via MSN to Nilpo Send a message via Yahoo to Nilpo Send a message via Google Talk to Nilpo Send a message via Skype to Nilpo Send a message via XFire to Nilpo
Facebook MySpace Orkut
Quote:
Originally Posted by Kravvitz
I recommend that you use background-image instead of list-style-image.
I agree. List-style-images perform inconsistently across browsers.
__________________
Don't like me? Click it.

Scripting problems? Windows questions? Ask the Windows Guru!

Stay up to date with all of my latest content. Follow me on Twitter!

Help us help you! Post your exact error message with these easy tips!

Reply With Quote
  #5  
Old November 3rd, 2007, 08:26 AM
Chewie's Avatar
Chewie Chewie is offline
Coding fun is drunk
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Location: Lincoln, UK
Posts: 127 Chewie User rank is Sergeant (500 - 2000 Reputation Level)Chewie User rank is Sergeant (500 - 2000 Reputation Level)Chewie User rank is Sergeant (500 - 2000 Reputation Level)Chewie User rank is Sergeant (500 - 2000 Reputation Level)Chewie User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 1 Day 22 h 27 m 36 sec
Reputation Power: 21
Send a message via Yahoo to Chewie
Ok guys thanks for the input, i will change the code to use background images.

Nearly all of those errors are caused by code in a wordpress plugin, i will edit it to clean it up.

Reply With Quote
  #6  
Old February 15th, 2013, 12:38 AM
kossik8 kossik8 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2013
Location: Albuquerque
Posts: 1 kossik8 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 m 33 sec
Reputation Power: 0
Try to apply clear: both; on the UL - That works for me!

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > First <li> item does not display bullet

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap