Chris S
Retired
- Messages
- 2,055
- Reaction score
- 1
- Points
- 38
I need some javascript code that works in both IE, Firefox. I need it to detect the screen resolution. and if the resolution is greater then 800x600 use the code below
Code:
#main {
text-align: left;
margin: 10px auto;
width: 700px;
background: #fff;
padding: 20px 30px 70px;
border-top: 1px solid #E6E6DF;
border-right: 1px solid #E6E6DF;
border-bottom: 5px solid #E6E6DF;
border-left: 1px solid #E6E6DF;
}