Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

  1. Index
  2. » Archives
  3. » Ie & Css

#1 2006-02-28 06:58:37

vicco
Member
Registered: 2005-12-07
Posts: 21

Ie & Css

I’m just starting a couple of projects after a long hiatus. I’m curious what IE hacks should I know and use when designing. I’m curious whether I still need to use the basic IE hack that deals with Padding?

Offline

#2 2006-02-28 14:07:44

kemie
Plugin Author
From: mexico<-->sweden
Registered: 2004-05-20
Posts: 495
Website

Re: Ie & Css

ie6 behaves as it should with regards to widths and padding as long as you’re in strict mode, that is if you have a valid doctype on your page. if you want to support ie5.x, then you will have to use the box model hack.

otherwise… well, there’s a jillon ie bugs but you’re better off exploring them as you run across them.

~~~~~~~~~~~~~| monolinea.com | pixilate.com | istockphoto.com/kemie |~~~~~~~~~~~~~

Offline

#3 2006-02-28 15:46:31

vicco
Member
Registered: 2005-12-07
Posts: 21

Re: Ie & Css

Thanks, I didn’t realize about the doctype, and I should be standards compliant anyway.

Offline

#4 2006-03-01 00:25:29

stdmedia
Member
From: Canada
Registered: 2006-01-05
Posts: 51

Re: Ie & Css

I’d hold off on the hacks, as when IE 7 rolls around, all will be rendered useless. I use IE conditional tags, they’ll work through the next generation.

Offline

#5 2006-03-01 20:43:54

NyteOwl
Member
From: Nova Scotia, Canada
Registered: 2005-09-24
Posts: 539

Re: Ie & Css

The IE conditionals remind me of a hack I used to use:

<code>
<!—#set var=“agent” value=”${HTTP_USER_AGENT}” —>
<!—#if expr=”$agent = /Netscape/” —> do something here
<!—#elif expr=”$agent = /MSIE/” —> do something else here
<!—#elif expr=”$agent = /Opera/” —> do something else here
<!—#else —> do something else here
<!—#endif —>
</code><br />

modifiable as needed.

<i>I always forget the code tags and have to edit my posts grrrrr</i>

Last edited by NyteOwl (2006-03-01 20:46:43)


Obsolescence is just a lack of imagination. / 36-bits Forever! / #include <disclaimer.h>;

Offline

  1. Index
  2. » Archives
  3. » Ie & Css

Board footer

Powered by FluxBB