RE: How does one resize a DIV element?

by Rowland Shaw <Rowland.Shaw(at)crystaldecisions.com>

 Date:  Tue, 12 Mar 2002 04:29:49 -0800
 To:  "'Carlyle Sutphen'" <carlyle.sutphen(at)db.com>
 Cc:  "'hwg-style(at)hwg.org'" <hwg-style(at)hwg.org>
  todo: View Thread, Original
Surely the width is being overridden by the right and left properties =
you've
got set?

PS, I'm not sure why you explicitly set the bottom as auto, when you =
already
specify a height


-----Original Message-----
From: Carlyle Sutphen [mailto:carlyle.sutphen(at)db.com]=20
Sent: 12 March 2002 11:37
To: hwg-style(at)hwg.org
Subject: How does one resize a DIV element?


Hello,

I have this style

#topbar {
  display: block;
  position: absolute;
  width: auto;
  height: 142px;
  margin: 0;
  padding: 0;
  border-color: #FF0000;
  border-style: solid;
  border-width: 5px;
  top: 0;
  bottom: auto;
  left: 0;
  right: 0;
  z-index: 80;
}

and IE is not calculating the width at all. Is there a way to resize an
absolutely positioned block element on the fly?

Carlyle

--
Pay no attention to the following text. It is autoappended by our =
corporate
firewall.



--

Diese E-Mail enth=E4lt vertrauliche und/oder rechtlich gesch=FCtzte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese =
E-Mail
irrt=FCmlich erhalten haben, informieren Sie bitte sofort den Absender =
und
vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte
Weitergabe dieser Mail ist nicht gestattet.

This e-mail may contain confidential and/or privileged information. If =
you
are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in =
this
e-mail is strictly forbidden.

HWG hwg-style mailing list archives, maintained by Webmasters @ IWA

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.