Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 08-12-2015, 09:22 AM   #1
oiver55
Enthusiast
oiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windows
 
Posts: 43
Karma: 120648
Join Date: Feb 2015
Device: kindle
Tables not looking just right

So I want to use a table and I have been fighting with the code for a while, looking up how to's here and there, and I'm getting close. Why has my table become two columns instead of one?
Thank you for your time.



Code:
<table class="center" border="1" sytle="width:50%">
      <thead>
        <tr>
          <th>SPECIFIC WARNING SIGNS FOR COMMON CANCERS</th>
        </tr>
      </thead>

      <tbody>
        <tr>
          <td>
            <ol>
              <li>COLONORRECTAL CANCER: rectal bleeding, blood in the stools, and change in bowel habits.</li>
            </ol>
          </td>

          <td>
            <ol start="2">
              <li>
                <p style="text-align: justify;">BLADDER CANCER: blood in the urine and increased urinary frequency.</p>
              </li>
            </ol>

            <ol start="3">
              <li>
                <p style="text-align: center;">SKIN CANCER AND MELANOMA: a change in the color or size of a mole, generally involving the spread of pigmentation, oozing, bleeding, scaliness, tenderness, and itchiness.</p>
              </li>
            </ol>

            <ol start="4">
              <li>
                <p style="text-align: center;">PROSTATE CANCER: Weak or interrupted urine flow, blood in the urine, and nagging pain in the lower back, pelvis, and groin.</p>
              </li>
            </ol>

            <ol start="5">
              <li>
                <p style="text-align: center;">BREAST CANCER: a lump, swelling or thickening in the breast, or other changes in the texture of breast tissue; nipple discharge or retraction; and dimpling of the skin.</p>
              </li>
            </ol>

            <ol start="6">
              <li>
                <p style="text-align: center;">CANCER OF THE PANCREAS: despite no specific early warning signs, there is often regular abdominal pain and digestive difficulties as the cancer progresses.</p>
              </li>
            </ol>

            <ol start="7">
              <li>
                <p style="text-align: center;">LUNG CANCER: nagging cough, chest pain, streaks of blood in the sputum, and recurring pneumonia or bronchitis.</p>
              </li>

              <li>
                <p style="text-align: center;">LEUKEMIA / LYMPHOMA: fatigue, weight loss, paleness, persistent infections, swollen lymph nodes, easy bruising, fever and night sweats.</p>
              </li>
            </ol>

            <ol start="9">
              <li>
                <p style="text-align: center;">CANCER OF THE UTERUS OR CERVIX: bleeding in the vagina unrelated to menstruation and an abnormal vaginal discharge.</p>
              </li>
            </ol>
          </td>
        </tr>

        <tr>
          <td valign="top" width="357">
            <p align="justify" style="text-align: center;">10. The good news is that while cancer cannot be cured by conventional medicine (surgery, radiation, chemotherapy), alternative natural medicine has repeated shown that it can be cured — especially by therapies that involve chiefly uncooked foods and raw vegetable juices like carrots, beets, celery, etc. The truth is often stranger than fiction. Believe it or not!</p>
          </td>
        </tr>
      </tbody>
    </table>
oiver55 is offline   Reply With Quote
Old 08-12-2015, 10:31 AM   #2
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
Posts: 12,283
Karma: 74007256
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
I think you have an extra <td>.
Quote:
Originally Posted by oiver55 View Post
Code:
<table class="center" border="1" sytle="width:50%">
      <thead>
        <tr>
          <th>SPECIFIC WARNING SIGNS FOR COMMON CANCERS</th>
        </tr>
      </thead>

      <tbody>
        <tr>
          <td>
            <ol>
              <li>COLONORRECTAL CANCER: rectal bleeding, blood in the stools, and change in bowel habits.</li>
            </ol>
          </td>
          <td>
            <ol start="2">
              <li>
                <p style="text-align: justify;">BLADDER CANCER: blood in the urine and increased urinary frequency.</p>
              </li>
            </ol>

            <ol start="3">
              <li>
                <p style="text-align: center;">SKIN CANCER AND MELANOMA: a change in the color or size of a mole, generally involving the spread of pigmentation, oozing, bleeding, scaliness, tenderness, and itchiness.</p>
              </li>
            </ol>

            <ol start="4">
              <li>
                <p style="text-align: center;">PROSTATE CANCER: Weak or interrupted urine flow, blood in the urine, and nagging pain in the lower back, pelvis, and groin.</p>
              </li>
            </ol>

            <ol start="5">
              <li>
                <p style="text-align: center;">BREAST CANCER: a lump, swelling or thickening in the breast, or other changes in the texture of breast tissue; nipple discharge or retraction; and dimpling of the skin.</p>
              </li>
            </ol>

            <ol start="6">
              <li>
                <p style="text-align: center;">CANCER OF THE PANCREAS: despite no specific early warning signs, there is often regular abdominal pain and digestive difficulties as the cancer progresses.</p>
              </li>
            </ol>

            <ol start="7">
              <li>
                <p style="text-align: center;">LUNG CANCER: nagging cough, chest pain, streaks of blood in the sputum, and recurring pneumonia or bronchitis.</p>
              </li>

              <li>
                <p style="text-align: center;">LEUKEMIA / LYMPHOMA: fatigue, weight loss, paleness, persistent infections, swollen lymph nodes, easy bruising, fever and night sweats.</p>
              </li>
            </ol>

            <ol start="9">
              <li>
                <p style="text-align: center;">CANCER OF THE UTERUS OR CERVIX: bleeding in the vagina unrelated to menstruation and an abnormal vaginal discharge.</p>
              </li>
            </ol>
          </td>
        </tr>

        <tr>
          <td valign="top" width="357">
            <p align="justify" style="text-align: center;">10. The good news is that while cancer cannot be cured by conventional medicine (surgery, radiation, chemotherapy), alternative natural medicine has repeated shown that it can be cured — especially by therapies that involve chiefly uncooked foods and raw vegetable juices like carrots, beets, celery, etc. The truth is often stranger than fiction. Believe it or not!</p>
          </td>
        </tr>
      </tbody>
    </table>
PeterT is offline   Reply With Quote
Advert
Old 08-12-2015, 05:14 PM   #3
exaltedwombat
Guru
exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.
 
Posts: 878
Karma: 2457540
Join Date: Nov 2011
Device: none
You don't need to keep restarting the ol numbering. "Start" isn't supported in EPUB2 anyway. Neither are some other items you've used, the code won't pass validation.

If you wish the table to fill only half the page width, correct the misprint "sytle" in line 1. But I suspect you don't need that bit at all.

Here's a start. But run Validate in Sigil and see where your other problems lie. There are easier ways to place a border round a paragraph.

BTW I think there are laws against advertising quack cures for cancer.

Code:
<table class="center" border="1" sytle="width:50%">
      <thead>
        <tr>
          <th>SPECIFIC WARNING SIGNS FOR COMMON CANCERS</th>
        </tr>
      </thead>

      <tbody>
        <tr>
          <td>
            <ol>
              <li>COLONORRECTAL CANCER: rectal bleeding, blood in the stools, and change in bowel habits.</li>
            
              <li>
                <p style="text-align: justify;">BLADDER CANCER: blood in the urine and increased urinary frequency.</p>
              </li>
            
              <li>
                <p style="text-align: center;">SKIN CANCER AND MELANOMA: a change in the color or size of a mole, generally involving the spread of pigmentation, oozing, bleeding, scaliness, tenderness, and itchiness.</p>
              </li>
            
              <li>
                <p style="text-align: center;">PROSTATE CANCER: Weak or interrupted urine flow, blood in the urine, and nagging pain in the lower back, pelvis, and groin.</p>
              </li>
           
              <li>
                <p style="text-align: center;">BREAST CANCER: a lump, swelling or thickening in the breast, or other changes in the texture of breast tissue; nipple discharge or retraction; and dimpling of the skin.</p>
              </li>
            </ol>

            <ol start="6">
              <li>
                <p style="text-align: center;">CANCER OF THE PANCREAS: despite no specific early warning signs, there is often regular abdominal pain and digestive difficulties as the cancer progresses.</p>
              </li>
         
              <li>
                <p style="text-align: center;">LUNG CANCER: nagging cough, chest pain, streaks of blood in the sputum, and recurring pneumonia or bronchitis.</p>
              </li>

              <li>
                <p style="text-align: center;">LEUKEMIA / LYMPHOMA: fatigue, weight loss, paleness, persistent infections, swollen lymph nodes, easy bruising, fever and night sweats.</p>
              </li>
         
              <li>
                <p style="text-align: center;">CANCER OF THE UTERUS OR CERVIX: bleeding in the vagina unrelated to menstruation and an abnormal vaginal discharge.</p>
              </li>
            </ol>
          </td>
        </tr>

        <tr>
          <td valign="top" width="357">
            <p align="justify" style="text-align: center;">10. The good news is that while cancer cannot be cured by conventional medicine (surgery, radiation, chemotherapy), alternative natural medicine has repeated shown that it can be cured — especially by therapies that involve chiefly uncooked foods and raw vegetable juices like carrots, beets, celery, etc. The truth is often stranger than fiction. Believe it or not!</p>
          </td>
        </tr>
      </tbody>
    </table>
exaltedwombat is offline   Reply With Quote
Old 08-23-2015, 01:44 PM   #4
oiver55
Enthusiast
oiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windows
 
Posts: 43
Karma: 120648
Join Date: Feb 2015
Device: kindle
Forgot to thank you for the help. Took the advice and came up with this, which works.

I split the chart in two, because I didn't like how to cut at the bottom of the page.



Code:
<body>
  <table border="20%" class="center" width="80%">
    <thead>
      <tr>
        <th>
          <p class="center">SPECIFIC WARNING SIGNS FOR COMMON CANCERS</p>
        </th>
      </tr>
    </thead>

    <tbody>
      <tr>
        <td>
          <p class="bullet">1. COLONORRECTAL CANCER: rectal bleeding, blood in the stools, and change in bowel habits.</p>
        </td>
      </tr>

      <tr>
        <td>
          <p class="bullet">2. BLADDER CANCER: blood in the urine and increased urinary frequency.</p>
        </td>
      </tr>

      <tr>
        <td>
          <p class="bullet">3. SKIN CANCER AND MELANOMA: a change in the color or size of a mole, generally involving the spread of pigmentation, oozing, bleeding, scaliness, tenderness, and itchiness.</p>
        </td>
      </tr>

      <tr>
        <td>
          <p class="bullet">4. PROSTATE CANCER: Weak or interrupted urine flow, blood in the urine, and nagging pain in the lower back, pelvis, and groin.</p>
        </td>
      </tr>

      <tr>
        <td>
          <p class="bullet">5. BREAST CANCER: a lump, swelling or thickening in the breast, or other changes in the texture of breast tissue; nipple discharge or retraction; and dimpling of the skin.</p>
        </td>
      </tr>
    </tbody>
  </table>

  <p><br /></p>

  <p><br /></p>

  <p><br /></p>
</body>


Code:
<body>
  <table border="20%" class="center" width="80%">
    <thead>
      <tr>
        <th>
          <p class="center">SPECIFIC WARNING SIGNS FOR COMMON CANCERS</p>
        </th>
      </tr>
    </thead>

    <tbody>
      <tr>
        <td>
          <p class="bullet">6. CANCER OF THE PANCREAS: despite no specific early warning signs, there is often regular abdominal pain and digestive difficulties as the cancer progresses.</p>
        </td>
      </tr>

      <tr>
        <td>
          <p class="bullet">7. LUNG CANCER: nagging cough, chest pain, streaks of blood in the sputum, and recurring pneumonia or bronchitis.</p>
        </td>
      </tr>

      <tr>
        <td>
          <p class="bullet">8. LEUKEMIA / LYMPHOMA: fatigue, weight loss, paleness, persistent infections, swollen lymph nodes, easy bruising, fever and night sweats.</p>
        </td>
      </tr>

      <tr>
        <td>
          <p class="bullet">9. CANCER OF THE UTERUS OR CERVIX: bleeding in the vagina unrelated to menstruation and an abnormal vaginal discharge.</p>
        </td>
      </tr>

      <tr>
        <td>
          <p class="bullet">10. The good news is that while cancer cannot be cured by conventional medicine (surgery, radiation, chemotherapy), alternative natural medicine has repeated shown that it can be cured — especially by therapies that involve chiefly uncooked foods and raw vegetable juices like carrots, beets, celery, etc. The truth is often stranger than fiction. Believe it or not!</p>
        </td>
      </tr>
    </tbody>
  </table>
</body>
oiver55 is offline   Reply With Quote
Old 08-27-2015, 07:51 AM   #5
exaltedwombat
Guru
exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.
 
Posts: 878
Karma: 2457540
Join Date: Nov 2011
Device: none
Don't forget the page break may come at a different place on a different device, different screen size, different text size...
exaltedwombat is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Tables problems Ti-Ron ePub 9 09-27-2012 01:30 PM
Blank tables xenoglaux Kobo Reader 1 02-14-2012 10:15 AM
TABLES: How do you think I should do this layout? wannabee Workshop 19 05-29-2011 10:16 PM
tables or svg? bobcdy ePub 18 12-06-2010 02:24 PM
Need help with tables Daithi Amazon Kindle 2 12-09-2008 02:10 PM


All times are GMT -4. The time now is 06:15 PM.


MobileRead.com is a privately owned, operated and funded community.