Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > HTML > HTML Code Clinic
|
HTML Code Clinic Do you have some HTML code you'd like to share and get suggestions from others for tweaking or improving it? This discussion is the place.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the HTML Code Clinic section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 11th, 2006, 09:26 PM
Authorized User
 
Join Date: May 2005
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default favicons wont render in IE

When viewing my website http://home.kc.rr.com/ericfields in mozilla, opera etc. everything is fine. In IE the icons aren't all the same size and they don't line up with their links properly. Can someone tell me why. I downloaded most of the icons from the favicon.ico in the root directory of the appropriate website and have attached them to the "<li>" elements in my index.html page via selectors in a style sheet.

__________________
---
Lie to yourself
and get everyone to agree
 
Old March 11th, 2006, 09:40 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 425
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Hi :)

You will get a more consistent result if you use the images as backgrounds instead. Position it where you want it, make it no-repeat and give the LI some left padding. And no bullet, of course.

--
http://yupapa.com
 
Old March 12th, 2006, 08:00 AM
Authorized User
 
Join Date: May 2005
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

meow - thank you. I used background-image vice list-style-image for the bullets as suggested and still had a problem. I found that the images being used as bullets to the <li>'s were not all 16 X 16 pixels. When I adjusted them to 16 x 16 everything worked. I think the reason IE wasn't displaying the bullets properly was that it was displaying them in their actual size. It seems that some browsers like mozilla will take any size image used for a bullet and display in what it thinks is the correct size, whereas IE displays in its original size and doesn't try to adjust the size to fit the image in as a bullet. It was a good learning experience going with your suggestion though, I appreciate your help.

bewetis





Similar Threads
Thread Thread Starter Forum Replies Last Post
Games wont run Tiptonic BOOK: Professional XNA Game Programming: For Xbox 360 and Windows ISBN: 978-0-470-12677-6 2 July 30th, 2007 02:00 AM
Wont Give me a Percent Odifius Access VBA 2 September 21st, 2006 12:24 PM
xcode wont install dionc Xcode 0 February 13th, 2006 07:02 AM
tree wont run mafuka C++ Programming 0 May 20th, 2004 12:04 AM
sessions wont persist bogins Beginning PHP 2 April 22nd, 2004 01:56 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.