StupidShouldHurt
New Member
Not a Drupal question, but probably a CSS/HTML question:I have written a module for Drupal 7 with Bartik theme, which displays a button "Show". When clicked it will fetch JSON data from a PHP script and generate a HTML table as string and finally display that table inside (or instead?) of a \[code\]<div id="top"></div>\[/code\]This whole complex stuff (at least for me) works surprisingly fine:
However I have this minor cosmetic problem: I can not get rid of the fine white line between the tabel cells.I've added \[code\]<table border="0" cellspacing="0"\[/code\] inline - this doesn't help.I've added an id to the table \[code\]<table id="last"\[/code\] and CSS-code:\[code\]#last { border:0; cell-spacing:0;}\[/code\]but this doesn't work either.When I inspect in Mozilla Firebug or Chrome dev. console - those attributes are there.Also, I have a non-Drupal page too - it doesn't show those ugly lines.Any ideas please?I've read, there are CSS stylesheets, which supposedly reset everything, but they are probably overkill for my problem.My jsFiddle code doesn't work for some reason (here my JSON data which is fed to \[code\]renderGame\[/code\] which returns HTML-table as a string), but my real code does... I'm not posting the URLs of the above mentioned pages either, because they both are in Russian and require registration.