How To float right but not all the way right?

How do you float right but not all the way right?

I tried
.f{float:right;margin:0 0 0 20px}

with
<table class=“f”>

and nothing happened.

Thanks,

Chris

What happens if you try

.f{float:right;
margin:0 20px 0 0;}

which puts the margin on the right, rather than the left? :slight_smile:

Why do they have the right margin dimension before the left? Anyway, you fixed it. Thanks a bunch TB.

Glad I could help.

When there are four values like that for margin or padding, they’re applied clockwise from the top, so top, right, bottom, left.