---
title: "What declaration would you use to bring IE 6 on board? If you wanted both min-width and max- width."  
description: "What declaration would you use to bring IE 6 on board? If you wanted both min-width and max- width."  
author: "Andrew Deniel"  
published: 2013-06-15  
updated: 2013-06-15  
canonical: https://www.mindstick.com/forum/1131/what-declaration-would-you-use-to-bring-ie-6-on-board-if-you-wanted-both-min-width-and-max-width  
category: "html5"  
tags: ["html5"]  
reading_time: 1 minute  

---

# What declaration would you use to bring IE 6 on board? If you wanted both min-width and max- width.

Hi,\
What declaration would you use to bring IE 6 on [board](https://www.mindstick.com/blog/12258/preparation-tips-for-cbse-class-12-board-exam)? If you wanted both min-width and [max](https://www.mindstick.com/articles/1155/count-max-min-function-in-excel)- width.\
Thanks in advance.

## Replies

### Reply by AVADHESH PATEL

Hi,\
Somethingh like the following:\
**width: expression (****documentElement.clientWidth>=800? 800: (documentElement.clientWidth <= 500? 500: 'auto')****);**


---

Original Source: https://www.mindstick.com/forum/1131/what-declaration-would-you-use-to-bring-ie-6-on-board-if-you-wanted-both-min-width-and-max-width

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
