![]() | |
![]() |
| | Thread Tools | Display Modes |
#21
| |||
| |||
|
|
On 2 Nov, 16:10, lcplben <b... (AT) sellmycalls (DOT) com> wrote: So: in the face of the user's resizing the page, is there any way I can put the ever-encroaching banner out of the way? How about using Z index and sizing it with ems? |
|
Lets say your banner has content that needs "a few lines of text" height to read it in. So set it to a good size for that (in ems), and use Z to make it sacrifice and suffer first if the window gets really squashed. |
|
The problem is that you're now resizing an image on the browser, which tends to look bad. So instead, why not keep your banner image displayed at the same size as the bitmap you're sending (always a good idea, and with the obvious corrolary) and size it in pixels instead. Your banner is now "displayable" and might even be viewable (depending on the user's eyes). Z index against keeps it secondary to the content. Neither of these use cms. You just can't guarantee how big a virtual cm is going to be when it hits the real world. |
![]() |
| Thread Tools | |
| Display Modes | |
| |