Just did a bit more testing and found this css to do the job for me! I think
this is a ok solution to use, since the css code is only for IE.
* html #cont {
/* IE Dynamic Expression to set the width */
width:expression(document.body.clientWidth = 1024 ? 800px : 1024px
);
border: 1px solid green;
}
If anybody have any other ideas please do send them.
Kind Regards
Jacobus van Niekerk
Creative Consultant
web: http://www.catics.com/ | http://www.azapi.com |
http://www.freelancecontractors.com
tel: +27 21 982 7805
fax: +27 88 021 982 7805
Skype: catics1
This e-mail message is confidential and intended solely for the person to
whom or the entity to which it is addressed. All the contents and any
attachments remain the property of Catics Ltd unless so stated. If you are
not the intended recipient, you are prohibited from reading, copying, using
or disclosing this message to others. If you received this message in error,
please notify the sender immediately by replying to this e-mail or by
telephoning +27 21 9827805 and thereafter delete the message. Catics Ltd
does not accept liability for any personal views expressed in this message.
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.10.16/83 - Release Date: 2005/08/26
**
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list getting help
**