Bulleted list items don't show in IE

Discussion in 'ASP.NET / ASP.NET Core' started by slt123456, Jun 18, 2004.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. On our web site...for some reason the bullets do not show in IE. They
    show OK in Netscape and they show OK on my development PC. Any ideas
    why this might be happening? In the asp.net code behind...the process is that I read an html file and assign it to the innerhtml property of a TD that runs at server...as below:

    Dim sr As StreamReader = File.OpenText(Server.MapPath(dr"htmlfile")))
    tdProdText.InnerHtml = sr.ReadToEnd
    sr.Close()

    in stylesheet:
    UL LI {
    list-style-type: square ;
    }

    sample list item from html file:

    <LI><FONT face="Arial, Helvetica, sans-serif" size="-1">Set includes: #3 i-Wood: 17&deg; &bull;? #4 i-Wood: 21&deg; &bull;? #5 thru #9 irons, plus Pitching-Wedge: 45&deg; </FONT>
     
  2. Problem solved. The problem was that the href in the link to the stylesheet (that contained the UL style info) was not pathed properly for asp.net to find the stylesheet file. As in:
    <LINK href="styles.css" type="text/css" rel="stylesheet"> instead of
    <LINK href="/styles.css" type="text/css" rel="stylesheet">
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page