Jump to content

Johnny2

Member
  • Posts

    52
  • Joined

  • Last visited

Everything posted by Johnny2

  1. Thank you for your reply Andrea. What I mean by "normal", for the most part, is being able to see gridlines/cells in the table. They all just disappear when I use that wildcard CSS in my external stylesheet (or in internal styles for that matter). If that way of zeroing-out everything (to make all browsers play the same) is outdated, then why is Killersites teaching us to do it that way? Also, I'm not sure what you mean by "things work" in your link. I only see a table without gridlines when I click on it.
  2. following along in the courses and we were taught to use * {margin: 0px; border: 0px; padding: 0px;} as a way of making all browsers work the same... but it doesn't allow me to make a table that looks normal. Can't figure out why... please help. Here is my html/css: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <style> * {margin: 0px; border: 0px; padding: 0px;} </style> </head> <body> <table border="10px" margin="10px" cellpadding="10px"> <tr> <td>cats</td> <td>dogs</td> <td>apples</td> <td>twinkies</td> <td>ho ho's</td> <td>ding dongs</td> <td>oranges</td> </tr> <tr> <td>a</td> <td>b</td> <td>c</td> <td>d</td> <td>e</td> <td>f</td> <td>g</td> </tr> </table> </body> </html>
×
×
  • Create New...