Computing.Net > Forums > Web Development > Image Size

Image Size

Reply to Message Icon

Original Message
Name: Mario (by mpartida)
Date: February 8, 2006 at 17:30:18 Pacific
Subject: Image Size
OS: WinXP SP2
CPU/Ram: 3.0 Ghz, 1.0 GB
Comment:

I am designing a web page with three images that make up the top border:

Company Logo
Tranisition
Spacer

Their sizes are encoded as follows:

\\

\\

The width in pixles total the screen size. What I want to do is replace the last pictures width size ("504") with a formula:

Screen Width - 508

(508 Being the total pixles in the logo and transition pictures)

The point of this would be the spacer would adjust to the screens width so the third image does not wrap to the next line.

Can Anyone tell me how I could go about doing this in html code?

Or if I can't in HTML, any other code.

Thanks in advanced,

-Mario-


Report Offensive Message For Removal

Response Number 1
Name: Mario (by mpartida)
Date: February 8, 2006 at 17:37:44 Pacific
Subject: Image Size
Reply: (edit)

Sorry the code did not come out:

img src="UpperLogo.jpg" width="402" height="120"

img src="Upper-Connector.jpg" width="114" height="120"

img src="Right-Connector.jpg" width="504" height="120"


-Mario-


Report Offensive Follow Up For Removal

Response Number 2
Name: Tautitan
Date: February 9, 2006 at 04:01:41 Pacific
Subject: Image Size
Reply: (edit)

http://www.pixy.cz/blogg/clanky/css-3col-layout/

hope that helps

Matt

matt@bbcomputing.co.uk

www.bbcomputing.co.uk


Report Offensive Follow Up For Removal

Response Number 3
Name: Mario (by mpartida)
Date: February 9, 2006 at 08:02:11 Pacific
Subject: Image Size
Reply: (edit)

That is exactly what I was looking for!

Thanks a million Matt!

-Mario-


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: Image Size

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software