Solved

What happened to the table attributes in VS 2012 ?

Posted on 2013-05-29
2
1,238 Views
Last Modified: 2013-05-29
What has replaced the cellpadding, cellspacing, and width attributes of a table?


<table id = "tblMeasures"
            style="font-family: Arial; font-size: 10pt; font-style: normal; font-weight: normal; width: 5.25in; height: 151px;"
            cellpadding="5" cellspacing="0" width="5.5in">

Thanks
0
Comment
Question by:Dovberman
2 Comments
 
LVL 12

Accepted Solution

by:
Jitendra Patil earned 300 total points
ID: 39204078
try the below one.

// cellpadding
th, td { padding: 5px; }

// cellspacing
table { border-collapse:separate; border-spacing: 5px; } // cellspacing="5"
table { border-collapse:collapse; border-spacing: 0; }   // cellspacing="0"

// valign
th, td { vertical-align: top; }

// align (center)
table { margin: 0 auto; }

ref taken from  In HTML5, with respect to tables, what replaces cellpadding, cellspacing, valign, and align?

hope this helps
0
 

Author Closing Comment

by:Dovberman
ID: 39204243
Thank you
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

708 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now