I think this may be more of a DOM question than css but it's closely related to css so here goes :-
Is there a way to assign text to a div as html without using innerHTML ? Or is there some other way of putting line breaks into the text ? element = document.getElementById("myDiv"); var temp1 = "My String1"; var temp2 = "My String2"; var str = temp1 + "<br>" + temp2; element.firstChild.nodeValue = str; //this will show <br> as text, not markup element.innerHTML = str; //this will show the line break correctly but I'd rather not use innerHTML ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/