position in CSS background

Ricky Zhou ricky.zhou at gmail.com
Sun Jun 24 19:15:56 UTC 2007


Dimitris Glezos wrote:
> The CSS at translate.fedoraproject.org uses list-image and a
> relative-to-text-size height.
Aha- I generally use background instead of list-style-image, as I can
get more positioning control with the background-position.  The 50% was
an oversight on my part, though- I completely overlooked that common case.

> I've tried to alter the original CSS as little as possible. The biggest change
> is that I've made is that the left menu floats on the left, so that I could use
> the full page size after the menu:
Strange- that's exactly how it's currently done at fedoraproject.org (I
was forced to use a pixel width due to the banner image).  I think you
can avoid the keepright class entirely by adding margin-left: 12.5em; to
#content.

Thanks,
Ricky

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/fedora-websites-list/attachments/20070624/4ae89db4/attachment.sig>


More information about the Fedora-websites-list mailing list