# Tables to css

**URL:** <https://forum.kirupa.com/t/tables-to-css/153633>\
**Category:** Uncategorized\
**Created:** [July 3, 2005, 6:29am UTC](https://forum.kirupa.com/t/tables-to-css/153633 "2005-07-03T06:29:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![design](https://avatars.discourse-cdn.com/v4/letter/d/b5a626/32.png) [@design](https://forum.kirupa.com/u/design)\
**Post date:** [July 3, 2005, 6:29am UTC](https://forum.kirupa.com/t/tables-to-css/153633/1 "2005-07-03T06:29:46Z")

</div>

I found a template that turns tables into css. This is the template:

.table {font-size: 1.2em;  
display: table;  
background-color: cyan;  
border: solid-thin;}

.row {display: table-row;}

.cell {font-size: 1.2em;  
display: table-cell;  
background-color: yellow;  
border: solid-thin; }

\<div class=“table”\>  
\<div class=“row”\>  
\<span class=“cell’”\>This\</span\>  
\<span class=“cell’”\>table\</span\>  
\<span class=“cell’”\>was\</span\>  
\<span class=“cell’”\>created\</span\>  
\<span class=“cell’”\>with\</span\>  
\<span class=“cell’”\>CSS\</span\>  
\</div\>  
\</div\>  
\</body\>  
\</html\>

My question to you is how can I apply this template to my existing table row of links and turn my row of links from table into span?

I have tried it, but the font size in span, either increased or decreased from the original.

And sometimes, some links went below existing links.

I want to keep the existing font size, and to keep it all eight links in one row.

Please help.
