Forum Moderators: mack

Message Too Old, No Replies

Really quick-fix for HTML code error

         

peadarpob

1:09 am on Feb 26, 2004 (gmt 0)

10+ Year Member



Hi

I have to fix ONE little error in the below code
and it's wrecking my brains!

Basically, the 2nd section of bullet points,
starting with the following code, should be in
a straight line of bullet points but I cant
make it so (the first one is correct):

LI><SPAN class=black>Report of the Committee on Dermatology Services</SPAN>

Please can you help with this stoopid code fix.

Thx, ppob

___________________________________________________

<P><SPAN class=blktext>
<P><SPAN class=headline2>Committees in progress</SPAN> <BR><BR>At the
present time, Comhairle has a number of committees reviewing various
aspects of acute hospital services. These committees are as
follows:</SPAN><BR></P>
<UL class=headline>
<LI>Pathology Committee
<LI>Qualifications Committee
<LI>Plastic Surgery Committee
<LI>ENT / Otalaryngology Committee
<LI>Oral &amp; Maxillofacial Surgery Committee
<LI>Psychiatry Committee
<LI>Urology Committee
<LI>Neurosurgery Committee
<LI>Committee on Medical Assessment / Admissions / Day Units
<LI>Committee to review Joint Departments
<LI>Joint Cardiology Committee
<LI>Rheumatology Committee </LI></UL>
<P><SPAN class=headline2>Recently published committee reports</SPAN>
<BR><BR>
<UL class=headline>
<LI><SPAN class=black>Report of the Committee on Dermatology
Services</SPAN><SPAN class=blktext><BR>November 2003<BR></SPAN>
<TABLE height=20 cellSpacing=0 cellPadding=1 width="70%" border=0>
<TBODY>
<TR vAlign=top align=left><SPAN class=blktext><A class=nav_linkCopy
href="http://www.peadarobaoighill.com/cgi-bin/plugins/pdf/dermatologynov2003.pdf"
target=_blank>DOWNLOAD PDF</A></SPAN> <BR><BR>
<LI><SPAN class=black>Report of the Committee Reviewing Maternity
and Related Services in the North Eastern Health Board
Area</SPAN><SPAN class=blktext><BR>July
2003<BR></SPAN></LI></TR></TBODY></TABLE>
<TABLE height=20 cellSpacing=0 cellPadding=1 width="70%" border=0>
<TBODY>
<TR vAlign=top align=left><SPAN class=blktext><A class=nav_linkCopy
href="http://www.peadarobaoighill.com/cgi-bin/plugins/pdf/Maternity.pdf"
target=_blank>DOWNLOAD PDF</A></SPAN> <BR><BR>
<LI><SPAN class=black>Report of the Committee to review Neurology
and Neurophysiology Services</SPAN><SPAN class=blktext><BR>April
2003<BR></SPAN></LI></TR></TBODY></TABLE>
<TABLE height=20 cellSpacing=0 cellPadding=1 width="70%" border=0>
<TBODY>
<TR vAlign=top align=left><SPAN class=blktext><A class=nav_linkCopy
href="http://www.peadarobaoighill.com/cgi-bin/plugins/pdf/neurologyreport2003.pdf"
target=_blank>DOWNLOAD PDF</A></SPAN> <BR><BR>
<LI><SPAN class=black>Report of the Committee to advance the
implementation of the Comhairle report on Respiratory Medicine and
the Management of Tuberculosis</SPAN><SPAN class=blktext><BR>April
2003<BR></SPAN></LI></TR></TBODY></TABLE>
<TABLE height=20 cellSpacing=0 cellPadding=1 width="70%" border=0>
<TBODY>
<TR vAlign=top align=left><SPAN class=blktext><A class=nav_linkCopy
href="http://www.peadarobaoighill.com/cgi-bin/plugins/pdf/tbreport2003.pdf"
target=_blank>DOWNLOAD PDF</A></SPAN> <BR><BR>
<LI><SPAN class=black>Report of the Academic / Clinical Research
Consultant Committee</SPAN><SPAN class=blktext><BR>November,
2002<BR></SPAN></LI></TR></TBODY></TABLE>
<TABLE height=20 cellSpacing=0 cellPadding=1 width="70%" border=0>
<TBODY>
<TR vAlign=top align=left><SPAN class=blktext><A class=nav_linkCopy
href="http://www.peadarobaoighill.com/cgi-bin/plugins/pdf/Academic%20Report.pdf"
target=_blank>DOWNLOAD PDF</A></SPAN> <BR><BR>
<LI><SPAN class=black>Report of the Committee on Accident &amp;
Emergency Services</SPAN><SPAN class=blktext><BR>February
2002<BR></SPAN></LI></TR></TBODY></TABLE>
<TABLE height=20 cellSpacing=0 cellPadding=1 width="70%" border=0>
<TBODY>
<TR vAlign=top align=left><SPAN class=blktext><A class=nav_linkCopy
href="http://www.peadarobaoighill.com/cgi-bin/plugins/pdf/A&amp;EReportFebruary2002.pdf"
target=_blank>DOWNLOAD PDF</A></SPAN>
<UL></UL><SPAN class=blktext>Information on any of these committees
can be obtained from Comhairle staff. </SPAN><BR><BR><IMG height=22
hspace=0 src="" width=35 border=0>
</TD></TR></TBODY></TABLE></LI></UL></TR></TBODY></TABLE></BODY></HTML>

Gorilla

1:20 am on Feb 26, 2004 (gmt 0)

10+ Year Member



List items are block level elements meaning that they are rendered below each other. You can use CSS to declare them as inline elements, but then most (all?) browsers won't show the bullet in front of each item.

Two methods to achieve what you are looking for:

1) Use the &#149; entity which is rendered as a bullet:

&#149; item one &#149; item two &#149; item three ...

2) If markup counts for you, you might want to go the CSS route with something like this:

<ul>
<li style="display: inline">&#149; item one</li>
<li style="display: inline">&#149; item two</li>
<li style="display: inline">&#149; item three</li>
...
</ul>

grahamstewart

9:55 am on Feb 26, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



That is an interesting mix of code there peadarpob.

I recommend you check out the w3c HTML validator [validator.w3.org] before you do too much more devlopment :)

griz_fan

8:13 pm on Feb 26, 2004 (gmt 0)

10+ Year Member



I'd start with first cleaning up the HTML code so it can validate. Strip out all but the most basic stuff, then head over to [alistapart.com...] There, you can find out how to do inline lists and other fun stuff. But, until the HTML is valid, a lot of the CSS may not function as expected...

g1smd

11:14 pm on Mar 3, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Is this being worked on?