CSS Content Space

.foo::after {
    content: "\00a0 your-content \00a0";
}
Rudolph Steyn