I recently found out that I need to use the cellspacing attribute in my table, but I was wondering if I could get it to work only horizontally. I don’t want it to vertically spread out, that messes up the layout of my entire page.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
A better way than setting
cellspacing="10"is to use CSS. You can use the following CSS to target the table’s cell spacing.The first value specifies the horizontal spacing, and the second value specifies the vertical spacing.