PDA

View Full Version : Bulleted list items don't show in IE


slt123456
06-18-2004, 11:25 AM
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>

slt123456
06-21-2004, 06:26 AM
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">