Jump to content
MakeWebGames

Tables have border when set to 0


Recommended Posts

Posted

Re: Tables have border when set to 0

try:

cellspacing="0" cellpadding="0"

 

The css way to do that is:

style="border-collapse: collapse" ---- that would be used on the table tag

  • 2 weeks later...
Posted

Re: Tables have border when set to 0

Here's what you have before the table with the map:

 

<script type="text/javascript" src="wz_tooltip.js"></script><div style="padding: 0px; overflow: hidden; visibility: hidden; position: absolute; width: 0px; left: 0px; top: 0px; z-index: 1010;" id="WzTtDiV"></div>































<table border="0" cellpadding="0" cellspacing="0" width="">

 

I'm guessing those brrrr's are the culprit ;)

Posted

Re: Tables have border when set to 0

I did a view source for that.

If you're looking in the php code, then the reason you don't see the br's is likely due to the br being somewhere in that array of table cells your looping through.

That br is prolly outside of <td></td> tag which would cause the browser to place every one of them at the top of the table.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...