I'm trying to display a table in a page, however the cellpadding & cellspacing isnt being displayed. Here's an example of the code that im using, so you can tell me what im doing wrong...
AB
CD
Thanks
cellpadding & cellspacing isnt being displayed
Re: cellpadding & cellspacing isnt being displayed
I thought cellpadding and cellspacing should be put there without the doublequotes, so
Ronny
Ronny
Re: cellpadding & cellspacing isnt being displayed
it still wont display the cell padding...
Re: cellpadding & cellspacing isnt being displayed
Have you a table entry in your style CSS?blaze wrote: it still wont display the cell padding...
Alby
Re: cellpadding & cellspacing isnt being displayed
nope, tho ive also tryed puting the cellpadding & cellspacing in as a style
AB
CD
AB
CD
Re: cellpadding & cellspacing isnt being displayed
The default install templates have a CSS style sheet for tables td tr so if using a default template, even if customized you may have to look thru the attached CSS to find out if it's there...
Re: cellpadding & cellspacing isnt being displayed
I've found that removing:
... from the CMSMS's standard [screen] CSS, eliminates the cellpadding constraint.
Before relying on this as the solution, may I ask why this asterisk-code is used in the first place? Thanks,
twiz/
Code: Select all
* {
margin:0pt;
padding:0pt;
}
Before relying on this as the solution, may I ask why this asterisk-code is used in the first place? Thanks,
twiz/
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: cellpadding & cellspacing isnt being displayed
Please keep in mind the templates and stylesheets installed by default with CMS are examples, you are not required to use them.
the default styles illustrated below are what the initial template users specified so that things were in a known state and then could be overridden with CSS.
This is not a CMS issue, it's merely a lack of understanding.
the default styles illustrated below are what the initial template users specified so that things were in a known state and then could be overridden with CSS.
This is not a CMS issue, it's merely a lack of understanding.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.