Discuss CSS Cellspacing - Cellpadding in the CSS Help forum on Dev Shed. CSS Cellspacing - Cellpadding Cascading Style Sheets (CSS) forum discussing all levels of CSS, including CSS1, CSS2 and CSS Positioning. CSS provides a robust way of applying standardized design concepts to your web pages.
The ASP Free website provides in-depth information on the latest developer tools available from Microsoft. Our cadre of writers, highly experienced industry experts, reveals the best ways to use established technologies as well as new and emerging technologies. Our coverage of Microsoft's development and administration technologies is among the most respected in the IT industry today.
ASP Free and Iron Speed Designer are giving away $5,500+ in FREE licenses. Iron Speed's RAD CASE toolset can save up to 80% of your coding time. One free license per week, one perpetual license per month! Download and Activate to enter!
Intel® Graphics Performance Analyzers is a powerful tool suite for analyzing and optimizing your games, media, and graphics-intensive applications. Used by some of the best developers on the planet, Intel GPA lets you maximize your app’s performance.
Posts: 7
Time spent in forums: < 1 sec
Reputation Power: 0
CSS Cellspacing - Cellpadding
I've been reading on the internet and getting conflicting info. I would like to move the cellspacing and cellpadding attributes into my css sheet. How would I go about this?
That works in IE and Netscape. I haven't tried with older browsers, but the newest versions seem as happy as they come with that code. That means you just use 2 lines of code to tell the browsers do have no margins... if it doesn't work in the older browsers, then just chuck in:
margin: 0px;
or
padding: 0px;
And one of those 2 will sort it out. I forget which, but one of them will. As long as the browser you're using supports CSS - haha.
Remember also that if you just want margins on one side, for example, you can type:
margin: 0px;
margin-bottom: 5px;
So you don't need to type 4 lines of code when 2 will do.