News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

HTML Help

Started by nathan89, July 04, 2009, 06:04:04 AM

Previous topic - Next topic

nathan89

I created a page using SSI however for some reason I have done something wrong in my html.  When I look at my page all of the indentions and bullet points are gone. Any Suggestions?

http://crohnssociety.org/pages/lifestyle.php

<?php$ssi_layers = array('html', 'body');require_once('/home/nathan/crohnssociety.org/community/SSI.php');?>
<html>
<head>
</head>
<body>
  <div id="wrapper" style="height: 634px;">
    <div id="content">
      <div id="right">
        <div class="post">
          <h2 style="color: rgb(70, 130, 180);">Understanding Crohn's Disease</h2>
          <p>Crohn's disease is a chronic and serious inflammatory disease of the gastrointestinal (GI) tract that affects more than 500,000 Americans. People with Crohn's may experience a number of symptoms, including diarrhea, abdominal cramps and pain, fever, rectal bleeding, loss of appetite, and weight loss. Many people diagnosed with Crohn's are able to do the things they like to do.</p>
          <ul>
            <li>Crohn's is categorized, along with ulcerative colitis (UC), as an inflammatory bowel disease (IBD), a term used to describe these inflammatory diseases affecting the GI tract. </li>
            <li>While Crohn's and UC are both classified as IBDs and have similar symptoms, a few distinctions exist between the two: </li>
</ul>
              <ul>
                <li>Crohn's disease can affect <span style="font-style: italic;">any</span> part of the digestive system, but usually occurs in the small bowel. In contrast, UC only affects the large bowel and rectum.</li>
                <li>In Crohn's, the bowel may contain both healthy sections and diseased sections, while UC affects the colon's innermost lining and is continuous throughout.</li>
                <li>The inflammation and ulcers caused by Crohn's can occur outside the walls of the intestine. They break through the intestinal wall and form an abscess or a fistula outside of it. In UC, the inflammation and ulcers occur within the colon.</li>
              </ul>
          <p>In spite of these differences, doctors are challenged with making an accurate diagnosis in approximately 10% of cases.</p>
          <ul>
            <li>The cause of Crohn's is unknown. However, research suggests that Crohn's may result from an interaction among genetics, the immune system, and something in the environment.</li>
            <li>Crohn's disease most often appears when people are between the ages of 15 and 35, although children (ages 6-17) and the elderly may also be affected.</li>
          </ul>
</div>
</div>
</div>
</div>
</body>
</html>
<?php ssi_shutdown();?>

Arantor

First up, indenting in HTML does absolutely nothing in layout. Tags control layout, not indentation - they only make the code prettier to read.

The reason for the lack of bullets is that in the stylesheet, there is a list-style:none; directive - it's in http://crohnssociety.org/community/Themes/urban_20rc1/style.css?rc1 but it may be in others too.
Holder of controversial views, all of which my own.


Advertisement: