W3C home > Mailing lists > Public > www-svg@w3.org > October 2006

Re: Graphic %

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Tue, 17 Oct 2006 14:01:05 -0500
Message-ID: <45352871.10407@mit.edu>
To: blackheath1381@juno.com
CC: www-svg@w3.org, dsr@w3.org

blackheath1381@juno.com wrote:
> So, I wondered if there is language developed which would allow me to set
> a left-aligned graphic image to be 15% of the page in width, a
> right-aligned graphic to be 15% of the page in width, the vertical
> dimension to be proportional, and leave 70% of the page width, centered
> between them, for the headline?

Yes.  This language is called CSS:

#img1 { width: 15%; float: left; }
#img2 { width: 15%; float: right; }

should pretty much do what you want, if those are the IDs of the images 
in question.

-Boris
Received on Tuesday, 17 October 2006 19:01:50 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:35 GMT