YU
|
| Posted: 12/21/2002, 12:19 AM |
|
How can I create css for table so all the tables that CC creates will have the same appearence as if the had a tag <table cellspacing="0" cellpadding="0">
I checked Top Style but have not found anything close.
Thanks
|
|
|
 |
Miron
|
| Posted: 12/23/2002, 8:15 AM |
|
Hi,
The tags you are using is HTML, so go to CC style, and set type to HTML. Select Item FormTable and paste: cellspacing="0" cellpadding="0" into the textbox.
Generate the project and there you go (unless you've changed style properties
for the forms individualy).
Hope this will help.
Miron
|
|
|
 |
YU
|
| Posted: 12/23/2002, 12:48 PM |
|
I know how to do it in HTML but I don't want to.
My question was:
How to create stand-alone CSS file with the properties for the table SIMILAR to cellspacing & cellpadding?
Again,
thank you for answering.
|
|
|
 |
Clarion
|
| Posted: 12/23/2002, 10:04 PM |
|
Use CSS style 'padding' for cellpadding
'margin' for cellspacing
Example:
cellspacing=0 cellpadding=0
would be
margin:0; padding:0;
Also, see: http://www.faqts.com/knowledge_base/view.phtml/aid/18246/fid/337
Regards...
|
|
|
 |
Ron
|
| Posted: 12/26/2002, 4:20 PM |
|
Hi,
I've tried this, but it just wont work (CC).
Clues?
Ron
|
|
|
 |
YU
|
| Posted: 12/26/2002, 11:25 PM |
|
Maybe people from YesSoftware can help?...
There are so many tables generated by each form that if you are creating multi-form pages in the medium size project - all of the saved time on DB design will go into re-doing those tables.
YesSoftware ....???
|
|
|
 |
Clarion
|
| Posted: 12/27/2002, 6:28 AM |
|
Which part of it is not working?
Regards,
|
|
|
 |
YU
|
| Posted: 12/28/2002, 5:22 PM |
|
margin:0; padding:0; doesn't do what cellpadding and cellspacing do
I can see lines between cells it the table's background is colored.
|
|
|
 |
Clarion
|
| Posted: 12/29/2002, 4:41 AM |
|
Can you post an example of what you are trying to do? Both the HTML and CSS version.
Regards...
|
|
|
 |
EMG
|
| Posted: 12/29/2002, 9:40 AM |
|
Not sure what's wanted here, but I use friendly little-known CSS property for collapsing all table borders:
border-collapse:collapse;
CCS needs to have a "do not generate style sheet" setting. Just some thoughts, these CSS issues can waste much time.
|
|
|
 |