Hi, this is a personal project but I have a thing about being semantically correct about any project I make.
What I'm trying to achieve is to turn something like this:
into something like this:Code:<table> <tr> <th>Name</th> <td>Phone</td> <td>Address</td> </tr> <tr> <th>Name</th> <td>Phone</td> <td>E-mail</td> </tr> <tr> <th>Name</th> <td>E-mail</td> </tr> </table>
but I'm getting something this:Code:* Name Phone Address * Name Phone E-mail * Name E-mail
with css like this:Code:* Name Phone Address * Name Phone E-mail * Name E-mail
I'll use classes later but for now I'd like to know if anyone can provide a solution.Code:html, html * { display: block } tr { display: list-item }


Reply With Quote
Bookmarks