Good afternoon. I wrote the code of a table and the first <th> of <thead> has a border 1px bigger than the width of the element itself and I can't figure out why this is happening. I highlighted with the eyedropper the occurrence:
<!DOCTYPE <span class="searchword">html</span>> 002 <<span class="searchword">html</span>> 003 <head> 004 <meta charset="UTF-8" /> 005 <meta name="author" content="au.ceif." /> 006 <meta name="description" content="Poetry Workshop" /> 007 <meta name="robots" content="index, follow" /> 008 <meta http-equiv="pragma" content="no-cache" /> 009 <meta name="viewport" content="width=device-width, height=device-height, 010 initial-scale=1.0, user-scalable=no" /> 011 <title>Poetry Workshop</title> 012 <link type="text/<span class="searchword">css</span>" rel="stylesheet" href="<span class="searchword">css</span>/poetry.<span class="searchword">css</span>" /> 013 </head> 014 <body> 015 <div id="main-container"> 016 <h1>Poetry Workshops</h1> 017 <p>We will be conducting a number of poetry 018 workshops and symposiums throughout the year. 019 </p> 020 <p> 021 Please note that the following events are free to members: 022 </p> 023 <ul> 024 <li>A Poetic Perspective</li> 025 <li>Walt Whitman at War</li> 026 <li>Found Poems & Outsider Poetry</li> 027 </ul> 028 <table> 029 <thead> 030 <tr> 031 <th></th> 032 <th>New York</th> 033 <th>Chicago</th> 034 <th>San Francisco</th> 035 </tr> 036 </thead> 037 <tbody> 038 <tr class="even"> 039 <th>A Poetic Perspective</th> 040 <td> 041 Sat, 4 Feb 2012 042 11am - 2pm 043 </td> 044 <td> 045 Sat, 3 Mar 2012 046 11am - 2pm 047 </td> 048 <td> 049 Sat, 17 Mar 2012 050 11am - 2pm 051 </td> 052 </tr> 053 <tr class="odd"> 054 <th>Walt Whitman at War</th> 055 <td>Sat, 7 Apr 2012 056 11am - 1pm 057 </td> 058 <td> 059 Sat, 5 May 2012 060 11am - 1pm 061 </td> 062 <td> 063 Sat, 19 May 2012 064 11am - 1pm 065 </td> 066 </tr> 067 <tr class="even"> 068 <th>Found Poems & Outsider Poetry</th> 069 <td>Sat, 9 Jun 2012 070 11am - 2pm 071 </td> 072 <td> 073 Sat, 7 Jul 2012 074 11am - 2pm 075 </td> 076 <td> 077 Sat, 21 Jul 2012 078 11am - 2pm 079 </td> 080 </tr> 081 <tr class="odd"> 082 <th>Natural Death: An Exploration</th> 083 <td> 084 Sat, 4 Aug 2012 085 11am - 4pm 086 </td> 087 <td> 088 Sat, 8 Sep 2012 089 11am - 4pm 090 </td> 091 <td> 092 Sat, 15 Sep 2012 093 11am - 4pm 094 </td> 095 </tr> 096 </tbody> 097 </table> 098 <form method="post" action="#"> 099 <fieldset> 100 <legend>Register your interest</legend> 101 <label for="name">Your Name:</label> 102 <input type="text" name="name" id="name" /> 103 <label for="email">Your email:</label> 104 <input type="email" name="email" id="email" /> 105 <label>Your closest center:</label> 106 <select name="loc" id="loc"> 107 <option value="New York">New York</option> 108 <option value="Chicago">Chicago</option> 109 <option value="San Francisco">San Francisco</option> 110 </select> 111 <label>Are you a member?</label> 112 <input type="radio" name="member" value="yes" /> Yes 113 <input type="radio" name="member" value="no" /> No 114 </fieldset> 115 <input type="submit" value="Register" /> 116 </form> 117 </div> 118 </body> 119 </<span class="searchword">html</span>>
please help!
thank you!