HighDots Forums  

How to autoadjust width of a banner image ?

HTML Writing HTML for the Web (comp.infosystems.www.authoring.html)


Discuss How to autoadjust width of a banner image ? in the HTML forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
Yohann L.
 
Posts: n/a

Default Re: How to autoadjust width of a banner image ? - 12-05-2007 , 12:11 PM






In article <op.t2u1mgbe5bnjuv (AT) metallium (DOT) lan>, luiheidsgoeroe (AT) hotmail (DOT) com
says...
Quote:
Float the fixed size images left and right, set a repeat-x background of
the middle portion on a containing div, or just a block level div/element
with margins left and right exactly equal to the width of the images.

http://rwasmus.nl/banner/

You might want to set a min-width, as the right image would drop below the
'banner' on a screen narrower then the combined widths of the images.

OK, done ! It works ! I've choosen the second method with middle part in
a div because I have better control about horizontal position.

Now, I just have to limit the page width.

Thanks again, Rik


Reply With Quote
  #12  
Old   
Bergamot
 
Posts: n/a

Default Re: How to autoadjust width of a banner image ? - 12-05-2007 , 12:29 PM






Rik Wasmus wrote:
Quote:
On Wed, 05 Dec 2007 13:28:28 +0100, rf <rf (AT) invalid (DOT) com> wrote:
"Rik Wasmus" <luiheidsgoeroe (AT) hotmail (DOT) com> wrote in message
newsp.t2u1uql95bnjuv (AT) metallium (DOT) lan...

only use gifs it you want transparancy in MSIE < 7.
That's a common misconception.

Quote:
On what evidence to you base these statements?

GIF: limited pallet, dithering, often bigger then jpg despite the terrible
loss in detail.
Using gif for things like photos is silly. Use the right format for the
particular content.

Quote:
PNG: lossless, alpha-transparancy, often smaller then gif, to name but a
few.
FYI, png does not have to use alpha transparency. Use an indexed (8-bit)
pallet and you'll get the same results as gif, with comparable or better
file sizes. A 32-bit png with alpha transparency can be quite weighty by
comparison. If your graphics editor doesn't give you a choice of
pallets, get a better editor.

BTW, I use png with indexed transparency all the time and IE has no
trouble with them whatsoever.

--
Berg


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.