Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (TipmyPip), 18,546 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 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 | 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