SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Addict trigger's Avatar
    Join Date
    Jun 2003
    Location
    Eagan
    Posts
    342
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    special character lists don't show up in IE

    I have a special unordered list in my html with a class of rightlist. The css is...
    Code:
    .rightlist ul{
    	position: relative;
    	
    	margin: 0;
    	text-align: center;
    	padding-top: 0;
    	padding-right: 0;
    	padding-bottom: 0.75em;
    	padding-left: 0;
    	float: left;
    }
    ul.rightlist li{
    	display: block;
    	margin: 0;
    	padding: 0.5em 0;
    	float: left;
    }
    ul.rightlist li a:before{
    	content: "\00AC \0020";
    	color: #0D2B88;
    }
    ul.rightlist li a:hover:before{
    	content: "\00AC \0020";
    	color: #FFFFFF;
    }
    ul.rightlist li a{
    	font-family: Arial, Helvetica, sans-serif;
    	font-size: 0.7em;
    	color: #0D2B88;
    	text-decoration: none;
    	font-weight: bold;
    	display: block;
    }
    ul.rightlist li a:hover{
    	color: #FFFFFF;
    	text-decoration: underline;
    	font-weight: bold;
    	background-color: #0D2B88;
    	display: block;
    }
    so its a list that should, instead of having the standard bullet-points, has the 'not' () sign as a bullet instead. This is to cut down on filesize and such, I wanted it to look a little original. It looks great in Firebird and Opera, but the 'not' sign doesn't show up in IE. Anything quirky that anybody knows about with IE? If there is a workaround, please tell me. I got my ideas from :
    http://www.alistapart.com/articles/taminglists/

  2. #2
    SitePoint Guru bronze trophy blufive's Avatar
    Join Date
    Mar 2002
    Location
    Manchester, UK
    Posts
    853
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

  3. #3
    SitePoint Addict trigger's Avatar
    Join Date
    Jun 2003
    Location
    Eagan
    Posts
    342
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ROAR! That really stinks, how bout a list style type, and then my hex encoded special character? We'll see if that works, but does anyone know of any workarounds for this, or solutions?

  4. #4
    SitePoint Guru bronze trophy blufive's Avatar
    Join Date
    Mar 2002
    Location
    Manchester, UK
    Posts
    853
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by trigger
    how 'bout a list style type, and then my hex encoded special character?
    According to the spec, list-style-type only allows you to choose from a bunch of specified styles (numbers, letters, greek letters, roman numerals and the like), not specfy a particular bullet character.

    The simplest route I can see is list-style-image, with an appropriate graphic. If the graphic is suitably tiny (what is it? 10 pixels square?) download time shouldn't be much of an issue, and I'm pretty sure that list-style-type is supported by all the version 5+ browsers and a couple of the version 4 ones, too. NN4 degrades fairly gracefully to boring old bullet points, which is hardly the end of the world.

    Quote Originally Posted by trigger
    does anyone know of any workarounds for this
    Alternatively, we could try all working together to use telepathic mind-control to get everyone to abandon IE in favour of Mozilla, Opera, and similarly capable browsers, but I don't think that's likely to work very well


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •