Bob Hendry Posted January 7, 2006 Share Posted January 7, 2006 Greetings form Southern Maryland. This is my first post.I've built a page with a banner at the top (.gif file) that will not automatically resize and the browser window is increased or decreased. So as the browser window is made smaller, the text shrinks so that all is still displayed, but the banner is cut off at the right edge. The page ws prepared in MS Word and saved as a web page, producing the code listed below, which exceeds my knowledge of html (which is VERY limited - I'm a beginner . . .): <body lang=EN-US link=blue vlink=purple style='tab-interval:.5in'><div class=Section1><p class=MsoNormal><!--[if gte vml 1]><v:shapetype id="_x0000_t75" coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f"> <v:stroke joinstyle="miter"/> <v:formulas> <v:f eqn="if lineDrawn pixelLineWidth 0"/> <v:f eqn="sum @0 1 0"/> <v:f eqn="sum 0 0 @1"/> <v:f eqn="prod @2 1 2"/> <v:f eqn="prod @3 21600 pixelWidth"/> <v:f eqn="prod @3 21600 pixelHeight"/> <v:f eqn="sum @0 0 1"/> <v:f eqn="prod @6 1 2"/> <v:f eqn="prod @7 21600 pixelWidth"/> <v:f eqn="sum @8 21600 0"/> <v:f eqn="prod @7 21600 pixelHeight"/> <v:f eqn="sum @10 21600 0"/> </v:formulas> <v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"/> <o:lock v:ext="edit" aspectratio="t"/></v:shapetype><v:shape id="_x0000_i1025" type="#_x0000_t75" alt="NAIS Letterhead" style='width:612pt;height:118.5pt'> <v:imagedata src="acq%20planning_files/image001.png" o:title="nais ltrhd-1"/></v:shape><![endif]--><![if !vml]><img width=816 height=158src="acq%20planning_files/image002.gif" alt="NAIS Letterhead" v:shapes="_x0000_i1025"><![endif]></p> Can anyone here help me learn how to do this?Thanks! Link to comment Share on other sites More sharing options...
Bob Hendry Posted January 7, 2006 Author Share Posted January 7, 2006 The page can be viewed here:http://www.nais-testbed.us/docs/acq%20plan...%20planning.htm Link to comment Share on other sites More sharing options...
Turbo Posted January 8, 2006 Share Posted January 8, 2006 You need a script which will change the width and height properties of the banner on the window size changes... I don't actually know if it is possible in JavaScript Link to comment Share on other sites More sharing options...
F-Man Posted January 8, 2006 Share Posted January 8, 2006 Use percentage values. width="70%" per example. Link to comment Share on other sites More sharing options...
Turbo Posted January 8, 2006 Share Posted January 8, 2006 Use percentage values. width="70%" per example.<{POST_SNAPBACK}> It works with images? Link to comment Share on other sites More sharing options...
Bob Hendry Posted January 9, 2006 Author Share Posted January 9, 2006 Thanks F-Man - that did the trick. It does indeed work on images - and I KNEW that - DUHHH! Brain Cramp?? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now