Jump to content

IE and Firefox appearance


GranDad

Recommended Posts

In my surfing thru html and css sites I came across something that commented code so only IE would use it.It was something like if[iE] ... something. I can''t remember it and can't find the web site that had it. Does this ring a bell?I am having trouble with positioning a textarea and its caption which follows a table. (My design is too far along to use CSS instead of a table.) In IE the caption follows to the right of the last table element. I fixed this with:<p> </p><p> </p><p> </p><p> </p>which pushes the caption down until it floats to the left and above the textarea. But in Firefox this just pushes the textarea and its caption down 4 extra lines.So I want to bracket the above with something that only IE uses.Any help is appreciated!!

Link to comment
Share on other sites

In my surfing thru html and css sites I came across something that commented code so only IE would use it.It was something like if[iE] ... something.  I can''t remember it and can't find the web site that had it.  Does this ring a bell?... snip...I
I found the answer by searching on Google for "[if IE]"this is 1 of the URL'shttp://www.dithered.com/css_filters/html_o...omments_ie.htmland this is the syntax for HTML (it also gives an example CSS style)"<!--[if ( ! )* ( comparison )* IE ( version number )* ]>HTML content to parse if the condition is true goes here<![endif]-->Thanks for listenning.GranDad
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...