Consider the following CSS styles...
.Center { text-align: center; }
.R { float: right; }
#TopImage { background: #0ff; }
To apply all three styles to an element, simply do this:
<div class="R Center" id="TopImage">
If using this combination of styles multiple times, consider creating a single style to replace them:
.All_Together { background: #0ff; text-align: center; float: right; }
<div class="All_Together">
Instead of defining All_Together separately, can it be defined like this:
.All_Together = .Center + .R + #TopImage
Is there a way to make .All_Together inherit the values of several other specific classes and/or id's?