![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Industry Role:
Join Date: Jul 2003
Posts: 5,344
|
quick css question
I know cellpadding="0" is padding: 0px in CSS
what is the equivalent of cellspacing="0" in CSS? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Porn Meister
Industry Role:
Join Date: Feb 2005
Posts: 16,443
|
I think you'd be looking at a margin.. Check some tutorial type places and I think thats what'll do it for you.
__________________
43-922-863 Shut up and play your guitar. ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Feb 2003
Posts: 6,040
|
http://www.w3schools.com/css/css_reference.asp
You're going to need to use padding instead of cellspacing to get the same effect i believe. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: Aug 2003
Location: Someplace Windy
Posts: 4,501
|
You are better off leaving cellspacing in html.
You could use border-collapse: collapse, but it can be unreliable. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 | |
Confirmed User
Industry Role:
Join Date: Jul 2003
Posts: 5,344
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Join Date: Feb 2005
Posts: 116
|
Here is the code I use to style tables:
Code:
table { border-left: 1px solid #B6B6B6; border-collapse: collapse; margin: auto; text-align: left; font-size: 1em; } th, td { padding: 5px; border-right: 1px solid #B6B6B6; border-bottom: 1px solid #B6B6B6; } |
![]() |
![]() ![]() ![]() ![]() ![]() |