Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 359
  • Last Modified:

CSS for Cals table

I need a css for cals table, anyone have a already written cals css which I could use???
0
KenTan85
Asked:
KenTan85
  • 2
1 Solution
 
KenTan85Author Commented:
Hi, I need a CSS, not a XSLT....
0
 
KenTan85Author Commented:
Example I have this css below, I want to widen my entry width, how do I do that???
table,
informaltable {
    display: block;
    margin: 1.33ex 0; 
}
          
table > title {
    display: block;
    font-style: italic; 
    font-weight: normal;
    text-align: center; 
    /* keep margin because tgroup has no margin */
}
 
colspec,
spanspec {
    display: table-column;
    collapsed: yes;
}
 
tgroup {
table-layout:fixed;
    display: table; 
    border-style: solid;
    border-width: 1;
	width:500px;
}
 
thead,
tfoot,    
tbody {
    display: table-row-group;
    background-color: inherit; /*e.g. from read-only tgroup*/
}
 
thead,
tfoot {
    font-weight: bold; 
}
       
row {
    display: table-row;
    background-color: inherit; /*e.g. from read-only tbody*/
}
          
entry {
    display: table-cell; 
    background-color: inherit; /*e.g. from read-only row*/
    border-style: solid;
    border-width: 1;
    padding: 2; 
}
 
entry > *:first-child {
    margin-top: 0; 
    margin-bottom: 0; 
}
 
entrytbl {
    display: subtable;
    background-color: inherit; /*e.g. from read-only row*/
    border-style: solid;
    border-width: 1;
}

Open in new window

0

Featured Post

Become an Android App Developer

Ready to kick start your career in 2018? Learn how to build an Android app in January’s Course of the Month and open the door to new opportunities.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now