Jump to content
  • Sign Up
  • 0

Странная задача без CSS


YuM
 Share

Question

Скрытый текст
<p align='center'> <font color='#123456'> Название </font> <br> <br> ещё название </p> <br>

<table align='center' border="1" cellspacing="2"> <tbody> <tr><th>Первый</th><th>Второй</th></tr><th> 

<table align='center'> <tbody> <tr> <th rowspan='2' scope='rowgroup'> <font size='5'> Значение </font> </th> <td> <font color='#ff0000'> максимум </font> </td> </tr> <tr> <td> <font color='#2a6099'>  минимум  </font> </td> </tr> 

<tr> <th colspan='3' scope='colgroup'> <font size='6'> &nbsp </font> </th> </tr>

<tr> <th rowspan='2' scope='rowgroup'> <font size='5'> Другое значение </font> </th> <td> <font color='#ff0000'> Максим </font> </td> </tr> <tr> <td> <font color='#2a6099'> минимум </font> </td> </tr> </tbody> </table> <br>

</th><th>

<table align='center'> <tbody> <tr> <th rowspan='2' scope='rowgroup'> <font size='5'> опять значение </font> </th> <td> <font color='#ff0000'> 1000 </font> </td> </tr> <tr> <td> <font color='#2a6099'>  300  </font> </td> </tr> 

<tr> <th colspan='3' scope='colgroup'> <font size='6'> &nbsp </font> </th> </tr>

<tr> <th rowspan='2' scope='rowgroup'> <font size='5'> сново </font> </th> <td> <font color='#ff0000'> 3000 </font> </td> </tr> <tr> <td> <font color='#2a6099'> 2 </font> </td> </tr> </tbody> </table> <br>

</th></tr>
<p> &nbsp ffdf</p>


<br><br><br> <p align='center' position='absolute' bottom ='0'> <font color='#808080'><i>  То что должно быть всегда внизу </i> </font> </p>

 

Почему: есть код для маленького вайфай чипа, страница генерируется на самом чипе и служит для вывода информации. Ресурсы крайне ограничены, при создании программы не известно сколько блоков будет выводиться. Каждый блок информации состоит из разных по размерам таблиц и для простоты каждый из блоков выводиться в ячейку общей таблицы... Всё генерируется програмно и не известно заранее сколько будет таких блоков и соответственно сколько ячеек в таблице.

Сама страница состоит из заголовка, потом должны идти данные, завёрнутые в таблицы в таблицах, потом подвал из одной строчки... Пока блок данных только один, тесть просто одна таблица, то всё норм, а вот как только добавляется хотя бы ещё один блок и структура становиться таблицы в таблице, то все таблицы упорно съезжают вниз страницы выталкивая подвал на верх. 

Программа способна генерировать только содержимое блока <body>, соответственно использовать CSS не получиться. Есть ли какая либо возможность закрепить какой либо элемент внизу страницы или строго определить вертикальный порядок элементов без использования CSS? Вариант завернуть это всё в ещё одну таблицу - это по моему уже совсем жуть...

 

Edited by YuM
Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy