Another IE (now 7) Hack

April 21st, 2009

Hi, i always, or 90%, talk about the Flash or Actionscript tips, classas and more, but today i have to work again with XHTML and CSS and one more time i hate the Internet Explorer – Microsoft Windows too. But well, the problem is: my css code work with Google Chrome and Mozilla Firefox but don’t in IE.

I thought to make other CSS file and import it with conditional only for IE like show my post about the CSS Conditional Comments, but searching and reading one more i saw one article that resolve my problem, use an IE7 Hack, YES! The Hack work easelly and fine  like i will show.

In IE 6 to make a Hack into the CSS file you put the ‘underline’ symbol before the CSS and work fine only into the IE 6. The Internet Explorer Seven this Hack die but the IE Team forgot the *. Simple, right? You need only put the * symbol before your CSS code and work your CSS code only into the IE7.

32
33
34
35
36
37
38
39
40
41
.scroll
{
  	height: 100px;
  	overflow: auto;
  	position: absolute; /* fix for IE to respect overflow */
	left:50px;
	*left:15px; /* Hack for IE 7 */
	width:630px;
	float:left;
}

For Firefox, Safari and Chrome you will see the left equal 50 pixels but only for Internet Explorer the left will be 15 pixels, with this you cannot create other files for your Hacks. Try it!

Png fix para IE 6

July 16th, 2008

Quem não tem problemas e mais problemas ao desevolver um projeto web para o IE 6? Qualquer um já passou por isso e é um sufoco, assumo. Uma versao simples de um PNG fix para o Internet Explorer 6 é o “Unit PNG Fix”, somente dois 2kb de javascript e bem eficiente. Suporta autosize nas imagens, diferente de outras versoes de fix para esse problema. Abaixo link do site e download.

Link: Unit PNG Fix Site

Internet Explorer 8 chegou

March 6th, 2008

É isso mesmo. Depois de derrota visivel de campo do Internet Explorer na sua versão 7 para o Mozilla Firefox, a Microsoft parece ter acordada inspirada e de bem com os designer e desenvolvedores dando o ar da graça com o novo IE na sua versão 8.

O novo navegador promete entre outras coisas dar suporte total à CSS – o que jamais aconteceu com as versões anteriores do IE – e hoje de manha fiz download dessa versão e pelo pouco tempo de uso  não me parece ter ser tão instável. Se vc quiser também pode fazer download no link disponibilizado abaixo.

Link: Microsoft Internet Explorer 8 Download