can i put asp.net in css? -


i need stand alone page search, have built independent of master page , master.vb, there info in the.vb file believe has fix ie8 drop down menus, , need in stand alone page (which supposed rest of site, , does, except dropdown menu doesn't work properly).

this code in master.vb file:

    dim ie8 new htmlmeta     ie8.httpequiv = "x-ua-compatible"     ie8.content = "ie=7"     h.controls.addat(0, ie8) 

i think code makes dropdown menu render in ie8. acts there's no css , there way can add stand-alone page maybe via css @ top? can give me appreciated, prob obv, don't know enough type of thing. : )

by way, dropdown works in compatibility mode of ie8, find solution have main site works fine without compatibility mode on. thank in advance -- if can.

you can't in css. need meta tag in head of search page.

<head> <meta http-equiv="x-ua-compatible" content="ie=7" /> </head> 

Comments