Gamestudio Links
Zorro Links
Newest Posts
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (Ayumi, 1 invisible), 584 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
[solved] changing cellpadding / cellspacing (css) #169736
11/27/07 18:45
11/27/07 18:45
Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
Xarthor Offline OP
Expert
Xarthor  Offline OP
Expert

Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
Hi,
just one short question:
How can I change the cellpadding and cellspacing value of a table by using CSS?

thanks in advance
Xarthor

Last edited by Xarthor; 11/27/07 20:15.
Re: [CSS] changing cellpadding / cellspacing [Re: Xarthor] #169737
11/27/07 18:51
11/27/07 18:51
Joined: Jan 2003
Posts: 4,615
Cambridge
Joey Offline
Expert
Joey  Offline
Expert

Joined: Jan 2003
Posts: 4,615
Cambridge
set the margin and padding values for tr and td.

Re: [CSS] changing cellpadding / cellspacing [Re: Xarthor] #169738
11/27/07 18:52
11/27/07 18:52
Joined: Oct 2002
Posts: 8,939
planet.earth
ello Offline
Senior Expert
ello  Offline
Senior Expert

Joined: Oct 2002
Posts: 8,939
planet.earth
thou shall not use tables

nei, schau mal ob dir das hier hilft: http://www.frontpagewebmaster.com/m-155126/tm.htm#155126


www.earthcontrol.de
quoted: We want to maintain a clean, decent, American family suited forum look... which means you may post zombies or chainsaw massacres, but no erotic.
Re: [CSS] changing cellpadding / cellspacing [Re: ello] #169739
11/27/07 19:00
11/27/07 19:00
Joined: Oct 2004
Posts: 4,134
Netherlands
Joozey Offline
Expert
Joozey  Offline
Expert

Joined: Oct 2004
Posts: 4,134
Netherlands
You should use tables when they are apropriate


Click and join the 3dgs irc community!
Room: #3dgs
Re: [CSS] changing cellpadding / cellspacing [Re: Joozey] #169740
11/27/07 19:41
11/27/07 19:41
Joined: Jan 2003
Posts: 4,615
Cambridge
Joey Offline
Expert
Joey  Offline
Expert

Joined: Jan 2003
Posts: 4,615
Cambridge
you should use tables when it's table-oriented data. for page layout, though, it's not very accessible.

Re: [CSS] changing cellpadding / cellspacing [Re: Joey] #169741
11/27/07 20:09
11/27/07 20:09
Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
Xarthor Offline OP
Expert
Xarthor  Offline OP
Expert

Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
Thanks, that "border-collapse" did indeed work.

And please, no fear, I'm not using tables for page layout
I'm using a CMS (not written by me) which structures the output into tables, thus I have no chance do set these values using html (as its runtime created through php), so I have to use CSS for this.

Again: Thanks for the fast and good help.


Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1