Archive for the 'Conditional Comment' Category
IE7.css is at 146 lines and counting…
2 Comments Published 2 years, 3 months ago in CSS, Conditional Comment, Hacks, IE7 and Quick Tips Digg ThisHow good is IE7? I was wondering about that today as I reloaded it to do another batch of bug fixing. The proof may be in your CSS pudding.
We are using conditional comments to import either ie6.css or ie7.css to control our hacks.
<! –[if IE 7]>
<link href=“/css/ie7.css” type=“text/css” rel=“stylesheet” media=“all”/>
<![endif]–>
<! –[if lte IE [...]
IE7 measuring sprites from bottom up?
2 Comments Published 2 years, 3 months ago in Browsers, CSS, Conditional Comment, Hacks, IE7, Image Sprites and background Digg ThisI’m doing some IE7 hacking and was wondering what was going on with some of my sprites. They look fine in all of the browsers except IE7. For that lovely browser, I say with my teeth clinched, I’m getting really strange results. At first I thought it was a hasLayout issue, that I needed [...]
Add a conditional comment with XSL
1 Comment Published 2 years, 3 months ago in Browsers, CSS, Conditional Comment, HTML Elements, Quick Tips and XSL Digg ThisThis is probably one of those posts that I’ll use a million times and everyone else will say… that’s nice. Here’s how you create a conditional comment for IE6 with xsl. you need to use an xsl:comment and a cdata and don’t add any extra spacing.
<xsl:comment><![CDATA[[if lte IE 6]>
IE6 only element, such as an [...]
Hacking to fix for IE7
2 Comments Published 2 years, 4 months ago in :absolute, :block, :relative, CSS, Conditional Comment, Hacks, IE7, Image Sprites and background Digg ThisI’ve played around with IE7 for a while, but haven’t really started debugging with it until now. Fortunately, I’ve already set up the site to use conditional comments and deliver an IE6.css file and a separate IE7.css file. This has made it much easier to target the offending areas of the site.
IE7 has had [...]
Preparing for IE7 - Hacks and Conditional Comments
1 Comment Published 2 years, 5 months ago in CSS, Conditional Comment, Hacks and IE7 Digg ThisCSS filters and Hacks are so 2005
I think the future of CSS is not in hacks but looking seriously into using conditional comments. I’m saying this as someone that is trying to figure out the best approach for retrofitting older conversions.
Conditional comments are IE statements that say if IE6 or any other version, use this [...]
About
You are currently browsing the Advanced CSS Design Resources - last-child.com weblog archives for the 'Conditional Comment' category.
Longer entries are truncated. Click the headline of an entry to read it in its entirety.Latest
- ARIA support with the YUI library
- Yahoo Search Monkey in Paris
- Adding style to your rel attributes with CSS
- Progressive enhancement of links using the CSS attribute selector
- UTF-8 compatible accented characters
- Flickr Video is live
- Captioning Sucks and Needs a Jump Start
- How to fix your K2 powered wordpress blog after upgrading to 2.5
- Multiple asides categories in Wordpress?
- IE7 and IE8 hack behavior
Archives
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- April 2007
- March 2007
- February 2007
- January 2007
- December 2006
- November 2006
- October 2006
- September 2006
- August 2006
- July 2006
- June 2006
- May 2006
- April 2006
- March 2006
- February 2006
Categories
- :absolute (5)
- :after (2)
- :block (3)
- :fixed (1)
- :focus (1)
- :hover (1)
- :none (2)
- :relative (4)
- Accessibility (26)
- AJAX (10)
- atmedia (6)
- attribute selector (7)
- background (10)
- Book Resources (4)
- Book Review (4)
- border (1)
- Browsers (10)
- Class (4)
- Code (1)
- Conditional Comment (7)
- CSS (67)
- CSS2 (7)
- CSS3 (5)
- Definition List (2)
- Developers (4)
- DHTML (15)
- display (3)
- Div (3)
- Dreamweaver (1)
- Firefox (9)
- first-child (1)
- Flash (8)
- FLORWAX (2)
- Form (2)
- Form Button (2)
- Form Input (2)
- Form Select (1)
- Hacks (13)
- HTML Elements (10)
- Id (2)
- IE7 (24)
- IE8 (3)
- Image (2)
- Image Replacement (2)
- Image Sprites (9)
- JavaScript (29)
- JSON (3)
- Link (7)
- margin (1)
- media (1)
- microformats (6)
- min-height (2)
- negative margins (1)
- Online Resource (46)
- Opera (3)
- Other Links (1)
- overflow (2)
- padding (2)
- paxilled (2)
- PEAR (1)
- PHP (7)
- position (10)
- Pre (1)
- Quick Tips (33)
- Safari (1)
- Span (2)
- Standardista (20)
- Table (1)
- Table Body (1)
- Table Head (1)
- Table Header (1)
- Table Header Scope (1)
- Table Summary (1)
- text-indent (2)
- Uncategorized (4)
- Unordered List (1)
- vertical-align (1)
- Video (1)
- visibility (1)
- W3C (8)
- Wordpress (2)
- XHTML (2)
- XML (3)
- XSL (3)
- Yahoo! (24)
- YUI (6)
- Z-Index (4)

