I have jsp page that contains<span class="requiredFieldsMessageAsterix">*</span>
I use a jsp include to include this on another jsp page as here
Date of Birth:<%@include file="/jsps/includes/requiredFieldsLabel.jsp"%>
This works fine. No new line.
However when I nest this include within another span as here :
Date of Birth:<span id="includeMandatoryDOB"><%@include file="/jsps/includes/requiredFieldsLabel.jsp"%></span>
It creates a new line. I have tried forcing display:inline, but it did nothing(as I expected). There is no other styling the elements.
This is on IE6, any ideas ? It works fine on chrome, not tried firefox. But it is required for IE6.