Support » Everything else WordPress » CSS replacement for actual table

  • Ok, I think I’ve pretty much got css layout sussed, but ran into a problem today and my brain is fried as it is. I want to layout an actual table in css (ie. one you would use in a word document, not a layout table).
    Written in html the table could appear like this:
    <table border=”1″>
    <td>Period 1</td>
    <td rowspan=”2″>Learn CSS</td>
    <td>Learn HTML</td>
    <td>Learn XHTML</td>
    <td>Learn to read</td>
    <td>Learn to write</td>
    <td>Period 2</td>
    <td>Learn to ride</td>
    <td>learn to drive</td>
    <td>Write a book</td>
    <td>Drive a Car</td>
    what’s the easiest way to lay this out using css – it’s the rowspan giving my the headache. it’s been a long day.

Viewing 3 replies - 1 through 3 (of 3 total)
  • tabular data stays in tables. that would be what css gurus say. what u represented here is not a layout. if its really a table, use a table.

    Designing without tables does not mean doing away with them entirely, it’s all about only using them where appropriate – where you are displaying tabular data.
    css does not replace html, it’s used to style it. If your html happens to have a table in it then you use css to style it the same as you would style anything else.

    I wante to say something clever, but – yeah, what those guys said. :o)

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘CSS replacement for actual table’ is closed to new replies.