ie-hack

Help me work around these two IE6 layout bugs

My webpage is suffering from two IE6 rendering bugs. Each of them have workarounds, but unfortunately said workarounds are incompatible with each other. Here's a minimized test case. The behavior in Firefox/Safari is the desired/correct one. IE7 is unknown, since I don't have access to it right now. First bug: #content has overflow: au...

IE adds extra top-margin to every li-element.

I am currently doing IE-hacks on a website I'm working on: http://www.timkjaerlange.com/wip/co2penhagen/ I got a problem with this unordered list. IE seems to add extra top-margin for every li-element, making my navigation look like a flight of stairs: http://dl.getdropbox.com/u/228089/ie-prob.jpg I'm using conditional comments to tar...

Embed xsl into an XML file

I'm trying to embed an xsl into a XML file. The reason for doing this is to create a single file that could be moved to different computers, this would prevent the need to move the xsl file. The xsl file is creating a table and grabbing a test step from the xml and whether it passed or failed, pretty simple. The issue I'm having, I t...

using #IEroot for ie-targeted styling?

Has anyone been able to succesfully use the IE CSS hack #IEroot? I stumbled upon it from this article but it doesn't seem to work for me. I'm trying to fix/hack the inline styling bug to produce li inline blocks #featured li { margin:0px; padding:0px; width:317px; height:310px; display:inline-block; border-left:1px #bdbdbd solid;...

How to stop IE "moving" text around within a <div>?

Hi folks, Humbly asking for help with (of course) IE. I have a div that is a simple background color block (#greenback) and it contains two other divs. The first (#billboard) is some centered text and the second (#picright) holds an image. They are arranged next to each other, text on left, image on right. Looks ok in most FF etc but ...

How are programmers tackling ie6 bugs these days?

I have been using dean edwards ie7/8 script. Not sure if it's my implementation or not but sometimes I would experience ie6 issues that weren't quite fixed or required special handling which meant I would be back where I started, caring about ie6. So, I was wondering if ie7/8 is still the go or if some other practice/solution was better....

What is the best solution for using transparent PNGs in Internet Explorer 6?

Lack of proper PNG support in IE6 is a well-known issue, with several solutions. There does not appear to be a clear best accepted practice or method. What do you propose the best solution is, and why? ...

Can you tweak the left and right padding on an HTML input button?

The longer an input button's text (value) is, the wider the left and right padding seems to get (IE). Explicit CSS padding seems to have no effect. Does anyone have a hack for this? ...

IE 6 and the multiple button elements all sending their name & values.

When using multiple button elements in a form, I realised that IE7 sends the innerHTML instead of the value of the button. All good I thought, I'll simply change my PHP code to this <?php if (isset($_POST['button-name'])) { add_product_to_cart(2); } ?> Now my old friend IE6 is going a little step further at being a nuisance. It s...

CSS method to include IE6 hacks

CSS has @import, right? IE6 understands *html selector hack, right? Is it possible to combine them like //*html @import url(ie6hacks.css); or, possibly, //*html { @import url(ie6hacks.css); } ? Good browsers must skip this, will it still work in IE6? How does it look as a solution? I can clearly see it looks ugly as normal CSS....

CSS: How can I overcome negative margin and absolute position issues in IE6?

I'm using absolute positioning and negative margins (with top: and left:) to position logos and other such things in my website. I'm aware that IE6 has problems with negative margins and absolute positioning, how can I overcome these issues to ensure they work correctly in IE6? ...

Is there any way to modify the HTTP headers for IE6?

I need to be able to modify the HTTP headers for Internet Explorer for testing purposes. Basically, I want to achieve the exact same thing that the Modify Headers plugin for Firefox does. ...

Valid IE6 css hacks?

Select all the CSS hack(s) that IE6 can understand for class red <p class=”red”>text</p> <!—[if IE 6]> .red{color:red}>![endif]--> .red{_color:red} .red{*color:red} * html .red{color:red} .red{color:red} Line 1, 3 Line 2, 3 Line 2, 4 Line 1, 2, 4 All of the above I encounter this question in a quiz. Don't have IE6 in my pc to expe...

What kinds of css hack for IE do you know?

I know these so far: *width:to hack all IE _width:to hack IE6 only Can you guys continue? ...

parsing CSS with Java

I need to parse CSS files in Java, and have tried using the Batik and CSSParser libs with success. The issue I am having is that when I run into IE hacks, I loose the formatting; it appears to me that the DOM used by org.w3c.css.sac won't accommodate the IE Hacks. e.g.- /* The '\' isn't retained */ someselector { padding:...

Strange IE7 borders behaviour

Hello everyone, my website looks ok in all browsers expect for IE7 I have lot of issues with this browser. Below is the image with which I have problems : I made a pagination which has a problem with IE7, the border bottom and top doesn't render, anyone knows why? here is my css mayber that will give you hint what is wrong? div.Page...

jQuery css() function won't apply IE hack attributes

I'm trying to apply an inline-block style to an element (a div to be specific). And in order to achieve this in IE you have to use a hack: $('#element').css( { 'display' : 'inline-block', //applies inline-block to matched elements in all browsers except IE due to hasLayout bug 'zoom' : 1, ...

Website not working properly on IE (One more IE hack needed)

http://shikebali.co.cc Its working fine on Firefox but started to act weirdly on IE as it used to work fine. Anyone here to help finding what went wrong ?? ...