Skip to main content

Internet Explorer não respeita IE=8; IE=9;

Se você estiver usando a seguinte tag nas suas páginas imaginando que seu site não será exibido no IE 7:
<meta http-equiv="X-UA-Compatible" content="IE=9; IE=8" > Você está enganado!!!
Para sites da zona 'intranet' o Internet Explorer 9 irá trabalhar em modo de compatibilidade. Para resolver esse problema você pode fazer duas coisas:
  1. Acessar o menu Ferramentas> Opções de modo de compatibilidade e desmarcar a opção de exibir sites da intranet como modo de compatibilidade.
  2. Alterar a tag das suas páginas para <meta http-equiv="X-UA-Compatible" content="IE=Edge"> e ela deve aparecer antes de qualquer import de CSS.
Ou seja, se tem de funcionar no IE... o preço muda.

Comments

  1. Bet365 casino app review - jtmhub.com
    Bet365 공주 출장안마 casino app review · bet365 casino is a fully licensed online sportsbook 광양 출장마사지 and casino. 이천 출장마사지 · Bet365 남원 출장마사지 casino app features great games and a welcome bonus up to 화성 출장마사지

    ReplyDelete

Post a Comment

Popular posts from this blog

Thunderbird with Microsoft OWA in Ubuntu 11.10

So, you as I are tired of Evolution's problems in Ubuntu 11.10 ? Move on to Thunderbird... To have it working with Microsoft OWA following the these steps: Install DavMail Download and install  DavMail . It will act as a proxy between Thunderbird and your Microsoft webmail. Configure DavMail Some tips:  Exchange 2003: https://mail.company.com/exchange/ Exchange 2007 Webdav mode: https://mail.company.com/owa/ Exchange 2007 EWS mode: https://mail.company.com/owa/ Exchange 2010 EWS mode: https://mail.company.com/owa/ Exchange 2010 EWS mode with unsupported authentication form e.g. Windows Live login:https://mail.company.com/ews/exchange.asmx In my case as I'm behind a proxy I had to mark the option "Use system proxy settings" in the Proxy tab: Click save then you should see a message in your system tray, saying that DavMail is correctly configured. Configuring Thunderbird In Thunderbird main window click menu Fil...

Page Object Pattern + WebDriver + Spring

During the last week I had start creating a test suite for a existing web-application which my team is currently working on. So now is good time to share some experience: The application A normal old java web application: Java 1.4, Struts 1.1, EJB 2.1, JDBC to persist the data and the anemic design (VO+BO+DAO) but I will talk about in another post... Page Object Pattern To map the web page's components inside the test code I used the page object pattern. This patterns helped me to eliminate duplicated code to access web-page's components. Basically it consists of classes that maps web-pages, so that if you want to fill a login form from your test classes instead of doing this: @Test public void someTest() throws Exception { WebElement userNameField = driver.findElement(By.name("j_username")); userNameField.sendKeys(username); WebElement passwordField = driver.findElement(By.name("j_password")); passwordField...

Remote Pairing

Remote Pairing In the last few weeks I had an effective remote pairing experience. I'm locate in Brazil and my pair is located in USA. That experience gave me some thoughts about remote pairing that I would like to share here. Tools To share the screen, we used VNC (TightVNC to be more specific). It works well and you can config the compression and color resolution, what helps with slow connections. To voice chatting we have used Skype, with a two-ear head-set. In my opinion the two-ear is very important, because it helps you to don't be disturbed by any noise from your local office. Normally I use a two monitors set-up with a virtual-box filling one of the monitors, that helps to you not open your personal e-mail in a shared screen. The pairs were in different timezones. Brazil is 4 hours ahead of USA ET. For this reason we did not pair for the entire work-day. And it was a good thing, as both sides had time to do other work which is not related to the story at hand. A...