This topic contains 5 replies, has 0 voices, and was last updated by JCirocco 7 years, 3 months ago.
-
AuthorPosts
-
July 31, 2017 at 8:53 am #23167
JCiroccoI am NOT an HTML coder so struggling with this. On one of my customers Invoices we have a large Grey box (table cell) that they would like to have a Black outline around the box/cell
My current css code is:
td.totalboxbot {
background-color: #e3e3e3;
font-weight: bold; }
Is this doable in HTML?
This is a cached copy. Click here to see the original post. -
July 31, 2017 at 8:58 am #23168
esemaluluborder-style: solid;
-
July 31, 2017 at 11:18 am #23169
JCiroccoThanks. Because I am NOT a coder I didn't realize that each CSS section was for a different "part" of the totals box. I found that out when I added the "border-style: solid.
The word "Total" is in its own cell, the amount is another and the due date a 3rd.
Each section has its own CSS. So is it possible to have the border for the top cell (css=td.totalboxtop) be only a border on the left, top and right?
Sorry for such a trivial question. I found a couple of HTML sites that described a border that did not go around the whole cell but they then didn't show the html option.
td.totalboxtop {
font-size: 12pt;
background-color: #e3e3e3;
border-style: solid;
}
td.totalboxmid {
font-size: 28pt;
padding-top: 20px;
background-color: #e3e3e3;
border-style: solid;
}
td.totalboxbot {
background-color: #e3e3e3;
font-weight: bold;
border-style: solid;
}
-
July 31, 2017 at 11:22 am #23170
JCiroccoLooks like
-
July 31, 2017 at 11:43 am #23171
esemalulutd.totalboxtop {
border-top: 1px solid #000000;
border-right: 1px solid #000000;
border-left: 1px solid #000000;
font-size: 12pt;
background-color: #e3e3e3;
border-style: solid;
}
td.totalboxmid {
border-right: 1px solid #000000;
border-left: 1px solid #000000;
font-size: 28pt;
padding-top: 20px;
background-color: #e3e3e3;
border-style: solid;
}
td.totalboxbot {
border-bottom: 1px solid #000000;
border-right: 1px solid #000000;
border-left: 1px solid #000000;
background-color: #e3e3e3;
font-weight: bold;
border-style: solid;
}
-
July 31, 2017 at 12:11 pm #23172
JCiroccoAwesome! Worked like a champ. Much appreciated.
-
AuthorPosts
You must be logged in to reply to this topic.