[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

How to Increase the Space Between the Columns but not the Rows in a HTML Table

Posted on 2014-02-07
2
Medium Priority
?
7,924 Views
Last Modified: 2014-02-07
I have created the following table which holds a series of anchors that link to topics within the page:

<table border="0" cellspacing="1" cellpadding="2" align="center">
<tbody>
<tr>
<td><a style="font-size: xx-small;" href="http://www.saiprograms.com/john-cabot-university-syllabi-new#arthist">Art History and Studio Art</a></td>
<td><a style="font-size: xx-small;" href="http://www.saiprograms.com/john-cabot-university-syllabi-new#econsocsci">Economics and Social Sciences</a></td>
<td><a style="font-size: xx-small;" href="http://www.saiprograms.com/john-cabot-university-syllabi-new#mathsci">Mathematics</a></td>
</tr>
</tbody>
</table>

I would like to have more space between the columns, but not the rows. However, if I try to increase the cell spacing, the space between the rows also increase.

How can I just increase the column width only?
0
Comment
Question by:geeta_m9
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 8

Accepted Solution

by:
Adrian Crabtree earned 1400 total points
ID: 39842516
Hi geeta_m9, you could try adding padding to the td. Here's a link to illustrate that idea.

http://jsfiddle.net/tB96H/1/
0
 

Author Closing Comment

by:geeta_m9
ID: 39842543
Thanks.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
Find out what you should include to make the best professional email signature for your organization.
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
Suggested Courses

656 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question