Why do some of my table cells have more padding than others?

ricasinoct

New Member
So I made a neat little photo gallery here at - http://schnell.dreamhosters.com/wallpapers.phpFeel free to look around and take some of the wallpapers if you like, that's what it's there for.Anyways, the problem I'm having is that if you look very closely at the columns, the first and last ones have different amounts of padding from the ones in the middle. Here's the relevant CSS for this page...\[code\]html, body, div, span, applet, object, iframe,h1, h2, h3, h4, h5, h6, p, blockquote, pre,a, abbr, acronym, address, big, cite, code,del, dfn, em, font, img, ins, kbd, q, s, samp,small, strike, strong, sub, sup, tt, var,b, u, i, center,dl, dt, dd, ol, ul, li,fieldset, form, label, legend,table, caption, tbody, tfoot, thead, tr, th, td { margin: 0; padding: 0; border: 0; outline: 0; font-size: 100%; background: transparent;}a:visited { color: blue;}body { line-height: 1;}ol, ul { list-style: none;}blockquote, q { quotes: none;}blockquote:before, blockquote:after,q:before, q:after { content: ''; content: none;}/* remember to define focus styles! */:focus { outline: 0;}/* remember to highlight inserts somehow! */ins { text-decoration: none;}del { text-decoration: line-through;}/* tables still need 'cellspacing="0"' in the markup */table { border: solid 1px black; border-collapse: collapse; border-spacing: 0;}td { border: solid 1px black; padding: 5px; text-align: center;}#gallery { margin: 10px auto; width: 960px;}#fancybox-title { font-size: 1.2em !important; font-weight: bold !important;}.nav { font-weight: bold; font-size: 1.1em; text-decoration: none;}.padding { padding: 0 0.75em;}\[/code\]I don't add any padding in the markup and the only CSS styling that adds padding is for td tags, so I'm confused as to why the center columns are getting more padding than the outer ones. I've tried taking away the padding class thinking maybe the cells with the links are making the cells grow such that the cells with images need more padding, but that didn't work.Sorry if this seems a bit insignificant, but I tend to be rather OCD and perfectionist when it comes to visuals and sometimes with code also.
 
Back
Top