Page 1 of 1

IE 8 css problem

PostPosted: Mon Jul 05, 2010 2:45 am
by atticus
Hi guys,

I am having a css problem in IE 8. The code below runs on FF without a problem. However it seems that in IE 8 the css style is not applied to the select element.
Do you know what could cause the problem in IE 8? I want it to be compatible with both browsers.

Here's the code:

Code: Select all
   <style type="text/css">
      border-style: solid;
      border-width: 2px;
      border-color: #FF0000;
            <select class="highlight" >
            <option value="125" >Test1 - Test2</option>


Re: IE 8 css problem

PostPosted: Thu Jul 08, 2010 10:55 am
by thedotmaster
Use a DOCTYPE. Currently your page is running in quirks mode. <-- get doctype from here <-- validate your page here