Link to home
Start Free TrialLog in
Avatar of Zack
ZackFlag for Australia

asked on

Making a html line in a ASP file begin at the left of cell

Hi EE,

How do I make the lines highlighted in the attached picture (pic 1) begin at the left of the respective cell? Code below:

<td class="infocell" onclick="uOutcome(4,1);">
			<li>Permanent harm unrelated to the natural course of the illness, loss of function and differing from the expected outcome of patient management or as a result of the incident:</li>
			<ul>
				- Significant disfigurement<br>
				- Patient at significant risk due to self discharge against medical advice<br>
				- Increased LOS  &gt; 6 days<br>
			<li>Long term high level care expected</li>
			<li>Immediate emergency treatment for life threatening event unrelated to the natural course of the illness</li>
			<li>Any matter with major harm and could potentially result in a claim</li>
			
			<ul><b>Serious Harm or Significant Events</b> include:
			<ul>
				<li>Inpatient fall resulting in a fracture (confirmed on x-ray)</li>
				<li>Inpatient fall resulting in a closed head injury (confirmed on CT)</li>
				<li>3rd degree perineal tear with anal sphincter involvement or 4th degree perineal tear</li>
				<li>Post partum haemorrhage &lt; 1500ml requiring massive blood transfusion or hysterectomy</li>
				<li>Hysterectomy post partum</li>
				<li>Neonatal birth trauma</li>  
			<ul>
				- Fracture<br>
				- Closed Head Injury / Brain trauma<br>
				- Haemorrhage<br>
				- Subcutaneous fat necrosis<br>
				- Organ trauma including any trauma to the eye<br>
				- Nerve trauma including paralysis<br>
				- Trauma to external genitalia<br>
			</ul>
			<li>Attempted suicide</li>
			<li>Neonate fed incorrect breast milk</li>
			<li>Stage 3 pressure injury, Suspected Deep Tissue Injury (SDTI) or Unstageable pressure injury</li>
			<li>Any patient retrieval to a higher care facility as a result of a clinical incidnet</li>
			<li>Reportable infectious diseases</li>
			<li>Any other serious clinical event that leads to an unplanned or poor outcome of a patient</li> 
			 
		</td>
		<td class="infocell" onclick="uOutcome(5,1);">

Open in new window


Any assistance is welcome.

Thank you.
Pic-1.PNG
Avatar of Ryan Chong
Ryan Chong
Flag of Singapore image

quick fix, and see if this work?

<td class="infocell" onclick="uOutcome(4,1);">
			<li>Permanent harm unrelated to the natural course of the illness, loss of function and differing from the expected outcome of patient management or as a result of the incident:</li>
			<ul>
				- Significant disfigurement<br>
				- Patient at significant risk due to self discharge against medical advice<br>
				- Increased LOS  &gt; 6 days<br>
			<li>Long term high level care expected</li>
			<li>Immediate emergency treatment for life threatening event unrelated to the natural course of the illness</li>
			<li>Any matter with major harm and could potentially result in a claim
            <br><br><b>Serious Harm or Significant Events</b> include:
            </li>			
			<ul>
			<ul>
				<li>Inpatient fall resulting in a fracture (confirmed on x-ray)</li>
				<li>Inpatient fall resulting in a closed head injury (confirmed on CT)</li>
				<li>3rd degree perineal tear with anal sphincter involvement or 4th degree perineal tear</li>
				<li>Post partum haemorrhage &lt; 1500ml requiring massive blood transfusion or hysterectomy</li>
				<li>Hysterectomy post partum</li>
				<li>Neonatal birth trauma</li>  
			<ul>
				- Fracture<br>
				- Closed Head Injury / Brain trauma<br>
				- Haemorrhage<br>
				- Subcutaneous fat necrosis<br>
				- Organ trauma including any trauma to the eye<br>
				- Nerve trauma including paralysis<br>
				- Trauma to external genitalia<br>
			</ul>
			<li>Attempted suicide</li>
			<li>Neonate fed incorrect breast milk</li>
			<li>Stage 3 pressure injury, Suspected Deep Tissue Injury (SDTI) or Unstageable pressure injury</li>
			<li>Any patient retrieval to a higher care facility as a result of a clinical incidnet</li>
			<li>Reportable infectious diseases</li>
			<li>Any other serious clinical event that leads to an unplanned or poor outcome of a patient</li> 
			 
		</td>
		<td class="infocell" onclick="uOutcome(5,1);">

Open in new window

Avatar of Zack

ASKER

Hi Ryan,

No, go still same issue.

Thank you.
you cannot dump ul / li like that...

you should use this syntax

<ul>
  <li>...</li>
  <li>...</li>
</ul>

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of Ryan Chong
Ryan Chong
Flag of Singapore image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Zack

ASKER

Both work cheers guys and thanks HainKurt for the link jsfiddle it will come in handy.