Table question |
Table question |
ofi |
Jul 2 2008, 06:07 PM
Post
#1
|
Member Group: Members Posts: 60 Joined: 1-October 07 From: Iceland Member No.: 3,957 |
Hi fellas.
I am working in new site, and i inserting table and image in one table, but i always get gray shadow around the image inside the table, see image and here is the image. Here is code on the page i am working in CODE <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>HHljóđ</title> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <meta http-equiv="imagetoolbar" content="no" /> <meta name="keywords" content="" /> <meta name="description" content="" /> <meta name="author" content="" /> <meta name="copyright" content="" /> <meta name="revisit-after" content="3 days" /> <link href="css/style.css" rel="stylesheet" type="text/css" /> <!--[if IE]><link href="css/ie-transparency.css" rel="stylesheet" type="text/css" /> <![endif]--> </head> <body> <ul class="hide"><li><a href="#body">sleppa</a></li></ul> <div id="container"> <div id="header"> <h1><a href="index.html">H<span>Hljóđ</span></a></h1> </div> <div id="body"> <ul id="nav"> <li class="first"><a href="index.html">Heim</a></li> <li><a href="um.html">Um HHljóđ</a></li> <li><a href="services.html">Ţjónusta</a></li> <li class="on"><a href="verkefni.html">Verkefni</a></li> <li><a href="contact.html">Samband</a></li> </ul> <div id="content"><div> <h2>Verkefni</h2> <p>Skemmtanir eđa uppákomur sem H-Hljóđ hefur komiđ ađ á einn eđa annan hátt</p> <hr/> <ul> <li>Árshátíđ Heilsugćlsu VM</li> <li>Árshátíđ Hressó</li> <li>Árshátíđ Grunnskóla VM</li> <li>Árshátíđ Vinnslustöđvarinnar</li> <li>Gleđisveitin Klaufar</li> <li>Sumarstúlkan 2007</li> <li>Tríkot og lúđró Höllinni 26/4/2008</li> <li>Foregn monkeys tónleikar Höllinni 26/4/2008</li> <li>Eagles Tónleikar Höllinni 30/4/2008</li> <li>Djasshátíđ 09/05/2008</li> <li>Sjómannadagsskemmtun 2008</li> <li>Obbósí Tónleikar 2008</li> <li>KK (Kristján Krisjánsson)</li> <li>Sumarstúlkan 2008</li> <li>Eyjólfur Kristjánsson</li> <li>Megas og Senuţjófarnir</li> <li>Dans á rósum</li> <li>Spútnik</li> <li>Smack</li> <li>Ríó Tríó</li> <li>Sumarstúlkan 2008</li> <li>Logar</li> <li>Andrea Gylfa</li> <li>Ragnheiur Gröndal</li> <li>Djasshátíđir</li> </ul> <table width="200" border="0"> <tr> <td><img src="img/bs.icon.check.gif" alt="ic" width="33" height="36" /></td> <td> </td> </tr> <tr> <td> </td> <td> </td> </tr> <tr> <td> </td> <td> </td> </tr> <tr> <td> </td> <td> </td> </tr> <tr> <td> </td> <td> </td> </tr> <tr> <td> </td> <td> </td> </tr> <tr> <td> </td> <td> </td> </tr> <tr> <td> </td> <td> </td> </tr> </table> <p> </p> </div> </div> </div> <div id="footer"> <p class="left">© 2008 HHljóđ</p> <p class="right">Eigandi <a href="http://www.hhljod.com">HHljóđ</a></p> </div> </div> </body> </html> so, i cant find out why shadow wrap around the image inside table, any idea. thx Ofi |
Darin McGrew |
Jul 2 2008, 06:22 PM
Post
#2
|
WDG Member Group: Root Admin Posts: 8,365 Joined: 4-August 06 From: Mountain View, CA Member No.: 3 |
You haven't specified cellspacing in your HTML. Have you specified the equivalent properties in your CSS?
|
pandy |
Jul 2 2008, 06:47 PM
Post
#3
|
đComputer says nođ Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
If those dotted lines in the preview denote the table borders it can't be cellspacing... ofi, how does it look in a browser? Can we have a URL so we can see for ourselves?
|
ofi |
Jul 2 2008, 06:58 PM
Post
#4
|
Member Group: Members Posts: 60 Joined: 1-October 07 From: Iceland Member No.: 3,957 |
|
pandy |
Jul 2 2008, 07:14 PM
Post
#5
|
đComputer says nođ Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
CODE img { border: 10px solid #ddd; padding: 1px; background-color: #fff; } |
ofi |
Jul 2 2008, 07:36 PM
Post
#6
|
Member Group: Members Posts: 60 Joined: 1-October 07 From: Iceland Member No.: 3,957 |
thats it, thx Pandy, just could not find it.
|
Lo-Fi Version | Time is now: 26th April 2024 - 01:50 AM |