1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Problem with concurrent <ul>

Discussion in 'HTML & Website Design' started by snejsnej, Mar 9, 2006.

  1. #1
    Hello,

    I'm running into a problem with 2 concurrent unordered lists. Basically, the format is as follows:

    <ul>
      <li>content</li>
      <li>content</li>
      <li>content</li>
    </ul>
    
    <p>&nbsp;</p>
    
    <ul>
      <li>content</li>
      <li>content</li>
      <li>content</li>
    </ul>
    Code (markup):
    So: The problem is that while the first unordered list resolves fine, with each list item indented and with a bullet, the second list does neither, at least in IE6. In FF it works as it's supposed to. Is this a known problem? If so, is there a hack?

    Thanks!
    Jens
     
    snejsnej, Mar 9, 2006 IP
  2. mincus

    mincus Peon

    Messages:
    63
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #2
    That looked perfect for me in both FF 1.5.0.1 and IE 6.0

    Can you PM me a link to the actual site you are having the issue with?
     
    mincus, Mar 9, 2006 IP
  3. snejsnej

    snejsnej Peon

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Hi Mincus,

    Thanks for your reply.... the site's not up yet, here's all the code for the page though, maybe you can see what's up. The offending bit is closer to the bottom. I don't understand it since it seems like such a straight-forward thing. :confused:

    Thanks,
    Jens

    <%@ Page Language="vb" ContentType="text/html" ResponseEncoding="iso-8859-1" CodeBehind="default.dwt.aspx.vb" AutoEventWireup="false" Inherits="PICU.default_dwt" %>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html><!-- InstanceBegin template="/Templates/default.dwt.aspx" codeOutsideHTMLIsLocked="false" -->
    <head>
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>A Parents' Guide to the PICU</title>
    <!-- InstanceEndEditable -->
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <style type="text/css">
    <!--
    .style8 {
    	font-family: Verdana, Arial, Helvetica, sans-serif;
    	font-size: 11px;
    	line-height: 1.5;
    }
    .style9 {
    	font-family: Verdana, Arial, Helvetica, sans-serif;
    	font-size: 10px;
    }
    h3 {
    	font-family: "Times New Roman", Times, serif;
    	font-size: 18px;
    	letter-spacing: 2.5px;
    	color: #4B6F8B;
    	font-weight: normal
    }
    ul {
    	line-height: 1.5;
    }
    
    div.center table {
    	margin-left: auto;
    	margin-right: auto;
    	text-align: left;
    	position: absolute;
    	top: 0;
    	right: 0;
    	background-color: #CC3300;
    }
    body {
    	background-color: #FFFFFF;
    	background-image: url(../images/large-full-bear-logo.jpg);
    	background-position: 60% 50%;
    	background-repeat: no-repeat;
    	background-attachment: fixed;
    	z-index: 0
    }
    p::first-letter {
    	font-family:Verdana, Arial, Helvetica, sans-serif; 
    	font-size: 16px;
    	letter-spacing: 2.5px;
    }
    a:link {
    	color: #CB026C;
    	text-decoration: none;
    }
    a:visited {
    	text-decoration: none;
    	color: #CB026C;
    }
    a:hover {
    	text-decoration: underline;
    	color: #8097B9;
    }
    a:active {
    	text-decoration: none;
    		
    -->
    </style>
    <script language="JavaScript">
    <!--
    var a, b;
    function A()
    {
    b = 0;
    a = window.setInterval("c()",1000);
    }
    function c()
    {
    b++;
    if (b == "1200") {window.location = "http://sch-nicupicu/picuguide/home/default.aspx"};
    }
    function f()
    {
    b = 0;
    }
    //-->
    </script>
    <!-- InstanceBeginEditable name="head" -->
    <!-- InstanceEndEditable -->
    <script language="JavaScript" type="text/JavaScript">
    <!--
    function MM_reloadPage(init) {  //reloads the window if Nav4 resized
      if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
        document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
      else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
    }
    MM_reloadPage(true);
    //-->
    </script>
    </head>
    	<body onLoad="A();" onKeyPress="f();" onMouseMove="f();">
    		<table width="760"  border="0" align="center" cellpadding="0" cellspacing="0" bordercolor="#CCCCCC">
    		  <tr>
    			<td><table align="center" width="760"  border="0">
    			  <tr>
    				<td width="29%" height="112"><div align="center"><img src="../images/logo_drop_shadowed.gif" width="196" height="90"></div></td>
    				<td width="71%"><div align="center">
                      <img src="../images/title.gif" width="485" height="40"> </div></td>
    			  </tr>
    			</table>
    		      <div align="center"><img src="../images/pink_bar_revised.jpg" width="644" height="2"></div>
    		      <table class="style9" align="center" width="760"  border="0">
    				<tr valign="top">
    				  <td>&nbsp;</td>
    				  <td valign="top">&nbsp;</td>
    				  <td>&nbsp;</td>
    			    </tr>
    				<tr valign="top">
    				  <td width="30%"><table width="100%" height="534"  border="0" align="left">
    					<tr>
    					  <td height="33">&nbsp;&nbsp;				      <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="swflash.cab#version=6,0,29,0" width="96" height="13">
                            <param name="movie" value="../templates/introduction_darkest.swf">
                            <param name="quality" value="high">
                      		<param name="wmode" value="transparent"> 
                            <embed wmode="transparent" src="../templates/introduction_darkest.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="96" height="13"></embed>
    				      </object></td>
    					</tr>
    					<tr>
    					  <td height="34">&nbsp;&nbsp;				      <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://sch-nicupicu/picuguide/home/swflash.cab#version=6,0,29,0" width="156" height="13">
                            <param name="movie" value="../templates/general_info_darkest.swf">
                            <param name="quality" value="high">
                      		<param name="wmode" value="transparent"> 
                            <embed wmode="transparent" src="../templates/general_info_darkest.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="156" height="13"></embed>
    				      </object></td>
    					</tr>
    					<tr>
    					  <td height="48">&nbsp;&nbsp;				      <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://sch-nicupicu/picuguide/home/swflash.cab#version=6,0,29,0" width="120" height="27">
                            <param name="movie" value="../templates/icu_devices_darkest.swf">
                            <param name="quality" value="high">
                      		<param name="wmode" value="transparent"> 
                            <embed wmode="transparent" src="../templates/icu_devices_darkest.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="120" height="27"></embed>
    				      </object></td>
    					</tr>
    					<tr>
    					  <td height="36">&nbsp;&nbsp;				      <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://sch-nicupicu/picuguide/home/swflash.cab#version=6,0,29,0" width="171" height="13">
                            <param name="movie" value="../templates/roles_darkest.swf">
                            <param name="quality" value="high">
                      		<param name="wmode" value="transparent"> 
                            <embed wmode="transparent" src="../templates/roles_darkest.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="171" height="13"></embed>
    				      </object></td>
    					</tr>
    					<tr>
    					  <td height="31">&nbsp;&nbsp;				      <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://sch-nicupicu/picuguide/home/swflash.cab#version=6,0,29,0" width="95" height="13">
                            <param name="movie" value="../templates/code_status_darkest.swf">
                            <param name="quality" value="high">
                      		<param name="wmode" value="transparent"> 
                            <embed wmode="transparent" src="../templates/code_status_darkest.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="95" height="13"></embed>
    				      </object></td>
    					</tr>
    					<tr>
    					  <td height="43">&nbsp;&nbsp;
    					    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://sch-nicupicu/picuguide/home/swflash.cab#version=6,0,29,0" width="167" height="27">
                              <param name="movie" value="../templates/common_approaches_darkest.swf">
                              <param name="quality" value="high">
                              <param name="wmode" value="transparent">
                              <embed src="../templates/common_approaches_darkest.swf" width="167" height="27" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed>
    			          </object></td>
    					</tr>
    					<tr>
    					  <td height="42">&nbsp;&nbsp;				      <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://sch-nicupicu/picuguide/home/swflash.cab#version=6,0,29,0" width="127" height="27">
                            <param name="movie" value="../templates/organ_tissue_darkest.swf">
                            <param name="quality" value="high">
                     		<param name="wmode" value="transparent"> 
                            <embed wmode="transparent" src="../templates/organ_tissue_darkest.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="127" height="27"></embed>
    				      </object></td>
    					</tr>
    					<tr>
    					  <td height="55">&nbsp;&nbsp;	<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://sch-nicupicu/picuguide/home/swflash.cab#version=6,0,29,0" width="167" height="27">
                            <param name="movie" value="../templates/parents_take_care_darkest.swf">
                            <param name="quality" value="high">
                      		<param name="wmode" value="transparent"> 
                            <embed wmode="transparent" src="../templates/parents_take_care_darkest.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="167" height="27"></embed>
    					    </object></td>
    					</tr>
    					<tr>
    					  <td height="31">&nbsp;&nbsp;				      <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://sch-nicupicu/picuguide/home/swflash.cab#version=6,0,29,0" width="80" height="11">
                            <param name="movie" value="../templates/resources_darkest.swf">
                            <param name="quality" value="high">
                      		<param name="wmode" value="transparent"> 
                            <embed wmode="transparent" src="../templates/resources_darkest.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="80" height="11"></embed>
    				      </object></td>
    					</tr>
    					<tr>
    					  <td height="42">&nbsp;&nbsp;					  <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://sch-nicupicu/picuguide/home/swflash.cab#version=6,0,29,0" width="74" height="11">
                            <param name="movie" value="../templates/research_darkest.swf">
                            <param name="quality" value="high">
                      		<param name="wmode" value="transparent"> 
                            <embed wmode="transparent" src="../templates/research_darkest.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="74" height="11"></embed>
    				      </object></td>
    				    </tr>
    					<tr>
    					  <td height="26">&nbsp;&nbsp;					  <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://sch-nicupicu/picuguide/home/swflash.cab#version=6,0,29,0" width="75" height="15">
                            <param name="movie" value="../templates/transport_darkest.swf">
                            <param name="quality" value="high">
                      		<param name="wmode" value="transparent"> 
                            <embed wmode="transparent" src="../templates/transport_darkest.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="75" height="15"></embed>
    				      </object></td>
    				    </tr>
    					<tr>
    					  <td height="50"><div align="left"><strong>&nbsp;&nbsp;<img src="../images/pink_bar_sidebar.jpg" align="absbottom"></strong></div></td>
    				    </tr>
    					<tr>
    					  <td height="34">&nbsp;&nbsp;				      <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://sch-nicupicu/picuguide/home/swflash.cab#version=6,0,29,0" width="140" height="29">
                            <param name="movie" value="../templates/family_satisfaction_survey_darkest.swf">
                            <param name="quality" value="high">
    						<param name="wmode" value="transparent"> 
                            <embed wmode="transparent" src="../templates/family_satisfaction_survey_darkest.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="140" height="29"></embed>
    				      </object></td>
    					</tr>
    				  </table></td>
    				  <td width="66%" valign="top"><div class="style8"><!-- InstanceBeginEditable name="body_text" -->
                <p><img src="../images/title_fibreoptic_bronchoscopy.gif" width="235" height="20"></p>
                <p align="left"><a href="bronchoscopy_image.aspx"><img src="../images/bronchoscopy_small.jpg" width="105" height="138" border="0"></a></p>
                <p>Fiberoptic bronchoscopy is done to see the airways or to get samples of mucus or tissue from the lungs or the breathing pipes (airway). Bronchoscopy involves placing a thin tube-like instrument through the nose or mouth and down into the lungs. A camera in the tube is able to capture pictures.</p>
                <p>Reasons for usage &amp; benefits:</p>
                <ul>
                  <li><strong>Biopsies</strong> - small pieces of tissues that are analyzed in the laboratory can be taken through the bronchoscope. </li>
                  <li><strong>Bleeding</strong> - if a patient has coughed up blood, the bronchoscope can be used to find the cause of the bleeding in the lung. </li>
                  <li><strong>Infections</strong> - the cause of certain infections (like tuberculosis, pneumonia following organ transplantation) is best figured out by getting mucus directly from the airways and analyzing it in the lab.</li>
                  <li><strong>Recurrent or persistent lung collapse</strong> (called atelectasis) - the collapse of a lung or part of a lung over and over again is usually caused by something blocking the airway. This blockage could be caused by a foreign body, or an aspirated (inhaled) object such as a peanut, a tumor, or thick mucus. These types of blockages can sometimes be seen with the bronchoscope. The bronchoscope can be used to remove some foreign bodies, and in this way help to open up the lung.</li>
                 </ul>
                <p>Risks:</p>
                <ul>
                  <li><strong>Lung Leak or Collapse</strong> - the airway may be damaged by the bronchoscope, particularly if the lung is already very inflamed or diseased. If the lung is punctured it may cause an air leak, called a pneumothorax. (See <a href="thoracentesis.aspx"><strong>Thoracentesis</strong></a> and <a href="thoracostomy.aspx"><strong>Chest tube thoracostomy</strong></a>).</li>
                  <li><strong>Discomfort and Coughing</strong> - while the bronchoscope is passed through the nose, throat and breathing tubes, it may cause some discomfort and tickle the airway leading to a cough. Local anesthetics are used to reduce this discomfort and coughing and sedatives are sometimes given to relax patients or make them sleepy for this procedure.</li>
                  <li><strong>Bleeding</strong> - bleeding can occur after a biopsy is obtained or if the bronchoscope injures a tumor in the airways. Bleeding is more likely if the airway is already inflamed or damaged by disease. Usually bleeding is minor and stops on its own or a medication can be given through the bronchoscope to stop it. Rarely, bleeding can lead to severe breathing problems, or be life threatening.</li>
                  <li><strong>Reduced oxygen</strong> - the level of oxygen in the blood may fall for several reasons. The bronchoscope may block the flow of air into the airway. During bronchoscopy, small amounts of liquid are injected into the lung to &quot;wash&quot; out the lung and/or to make it easier to see through the bronchoscope. This fluid can cause the level of oxygen in the blood to fall. This usually goes away fairly quickly on its own. The PICU staff check continuously the level of oxygen during bronchoscopy. If the oxygen level is dropping, extra oxygen is given and the bronchoscopy is stopped to allow for recovery.</li>
                </ul>
                <p align="right">
                  <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://sch-nicupicu/picuguide/home/swflash.cab#version=5,0,0,0" width="42" height="18">
                    <param name="movie" value="icu_devices_back.swf">
                    <param name=quality value=high>
                    <embed wmode="transparent" src="icu_devices_back.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="42" height="18"></embed>
                  </object>
                </p>
              <!-- InstanceEndEditable --></div></td>
    				  <td width="4%"><p class="style2">&nbsp;</p></td>
    				</tr>
    				<tr>
    				  <td>&nbsp;</td>
    				  <td><div align="center"></div></td>
    				  <td><div align="right"></div></td>
    				</tr>
    			  </table>
    			  <table align="center" width="760"  border="0">
    				<tr>
    				  <td width="108" rowspan="2"><div align="center"></div></td>
    				  <td width="530"><div align="center"><img src="../images/pink_bar_footer.jpg" width="452" height="2"></div></td>
    				  <td width="108" rowspan="2">&nbsp;&nbsp;
    			      <div align="center"><img src="../images/logo_small_drop_shadowed.jpg" width="90" height="41" align="absbottom">&nbsp;&nbsp;</div></td>
    				</tr>
    				<tr>
    				  <td><div align="center">
    				    <p><span class="style9">&copy; 2005, <a href="http://www.capitalhealth.ca/HospitalsandHealthFacilities/Hospitals/StolleryChildrensHospital/default.htm">Stollery Children's Hospital</a> PICU, All Rights Reserved<br>
    			        8440 - 112 Street, Edmonton, Alberta, Canada T6G 2B7<br>
    			        Telephone: (780) 407-8822
    				      </span>			        </p>
    				  </div></td>
    				</tr>
    			  </table></td>
    		  </tr>
    	</table>
    	</body>
    <!-- InstanceEnd --></html>
    Code (markup):
     
    snejsnej, Mar 10, 2006 IP
  4. mincus

    mincus Peon

    Messages:
    63
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Not exactly sure why this fixes it, but try changing:

    </ul>
    <p>Risks:</p>
    
    Code (markup):
    To the following:
    </ul><br />
    <p>Risks:</p>
    
    Code (markup):
    That fixed it under IE 6 for me. One other thing you might consider doing, is running it through the w3c validator, that usually helps me make sure I don't throw a wrong tag in there or screw some little other detail up.

    Best of luck
     
    mincus, Mar 10, 2006 IP
  5. snejsnej

    snejsnej Peon

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Mincus-

    Yep, that fixed it... weird, eh?
    Have a good weekend and thanks a lot!

    Jens
     
    snejsnej, Mar 10, 2006 IP
  6. mincus

    mincus Peon

    Messages:
    63
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #6
    No problem, glad to help :)
     
    mincus, Mar 10, 2006 IP
    snejsnej likes this.
  7. Tam

    Tam Peon

    Messages:
    89
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Don't gorget to validate your code, there are a few syntax errors (such as p::first-letter should be p:first-letter, amost others).

    Good luck with your site :)
     
    Tam, Mar 11, 2006 IP
  8. snejsnej

    snejsnej Peon

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Tam,

    Thanks for the suggestion. The reason I used a double-colon is because of what I read in Wrox's 'Beginning CSS'. In there is says that the doubt-colon is used on pseudo-elements only, with the single colon used for pseudo-classes. Mind you, this is all new under CSS 3 so it may not be widely supported yet. It seems to work for both IE6 and FF1.5 though.

    Jens
     
    snejsnej, Mar 13, 2006 IP