Jump to content

Having a problem with css table


cowboyandy

Recommended Posts

I set up a table for one of my pages, and have tried everything I know to put some space between the <td>image and the <td>text.

 

Here's the page: www.renttexashillcountry.com/usefullinks/index.html

 

Still working on "shortcutting" design using css, and having some problems. Any hints as to what the heck I'm missing here?

 

Here's the css I have for this table:

 

#statelinks {

margin-left:5px;

width:100%;

border-collapse:collapse;

text-align:left;

}

 

#statelinks td {

border:0px;

margin-top:15px;

padding:15px;

}

 

 

Thanks in advance for any input.

 

Cowboy

Link to comment
Share on other sites

Looks like you could do that by adding right padding or margin on the images:

 

#statelinks img { padding-right:20px; }

 

 

Ben!

 

Thank you very much! I kept trying to work from the left of the text - never thought about working to the right of the image! Probably need to get some sleep.

 

That corrected the problem.....muchas gracias! :clap:

 

Cowboy

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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.

Loading...
×
×
  • Create New...