Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Stange Bullets in html text box

Status
Not open for further replies.

davidbook

Programmer
Nov 24, 2003
7
US
This is weird. I am "building" a string of html from a db, then assigning it's value to a text box like this...


When I trace the xml it looks right, it is very simple...

The code is so simple it makes me laugh, ....
for(i=0;i<arrayHtaml.length;i++){
strNewHtml = strNewHtml + &quot;<span class='title'>&quot;+arrHtml+&quot;</span><br>&quot;;
}

myTextBox.text = strNewHtml

The problem is the line breaks (<br>), every where I have a line break, there is a BULLET in the text box, I have been trying to figure this one out of 2 days!. I I &quot;manually&quot; write the html, to simulate what my loop is writing, it works fine? Any ideas would be great!
David
 
This with MX or MX2004?
What's with the <span> tag if in MX?

Regards,

cubalibre2.gif
 
Yup, MX2004. I use an extenal style sheet, with a defined class of .title

.title{
font-family:arial;
font-size:8pt;
}
//etc, etc..
then, in html..
&quot;<span class='title'>Data</span>&quot; << make sense?
 
It might! But someone that's on MX2004 will have to answer you. I'm not sorry!

Regards,

cubalibre2.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top