I want to set a border color and border style ( like solid or dotted ) in one place in my css file and apply borders to elements just by doing something like this:
body {
border-color: #333;
border-style: solid;
}
div.heading {
border-right-width: 1px;
}
Can this be done?
Do common browsers support this?
Try something like
i guess this is what you really needs