Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 854031
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T07:51:21+00:00 2026-05-15T07:51:21+00:00

I have jsp page that contains <span class=requiredFieldsMessageAsterix>*</span> I use a jsp include to

  • 0

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.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T07:51:22+00:00Added an answer on May 15, 2026 at 7:51 am
    • What DOCTYPE are you specifying at the top of the document? Try

    <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.1//EN”
    “http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd“>

    • Is the parent container wide enough to display the content without wrapping? (because of doctype, IE could be in quirks mode and thus calculating what its width should be incorrectly and causing wrapping)

    You may want to download IE developer toolbar for IE6/IE7 to use select element by click and determine which elements are being sized by using the wireframe view:
    http://www.microsoft.com/downloads/details.aspx?familyid=E59C3964-672D-4511-BB3E-2D5E1DB91038&displaylang=en

    Note: IE8+ have the dev toolbar builtin and usable by pressing F12

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a .jsp that contains an IFrame with a page that has some
I have a welcome page (JSP file) for my application that contains some dynamic
I have a JSP that contains the content at the top of my page,
I have jsp page, that include multiple jsp pages. And in result i have
Right now I have a JSP page that allows to sort some items, when
I have a jsp page with two radio tags. The page contains a struts2
I have this simple Jsp page: <%@ page language=java import=java.awt.Color%> <% Color background =
On a JSTL/JSP page, I have a java.util.Date object from my application. I need
I have a JSP page that handles file downloads. I set the response header
I have a JSP page that has 2 forms running on Tomcat 6. One

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.