Log in

View Full Version : Resolved Elementary Coding Question



marain
07-17-2015, 01:18 AM
Would someone please show me how the following two statements can be expressed in a single statement? I'm sure it's possible, my reference book just doesn't clearly explain it:
.index .messageBox {text-align:left}
.getRecord .messageBox {text-align:left}Many thanks.

A.

Beverleyh
07-17-2015, 05:20 AM
Selectors are separated by a comma;

.index .messageBox, .getRecord .messageBox {text-align:left}