[css-d] My IE Hack is hacking all the other browsers!!

2009-08-06 Thread Chris Blake
Hi, After getting the website I created working in most browsers I saw that it was not working in IE. I have made a hack that has fixed it in IE: !--[if IE] td{ border: 1px solid #fff; } #main .content{ padding: 0px; margin-bottom: -20px; } ![endif]-- But now all the other browsers

Re: [css-d] My IE Hack is hacking all the other browsers!!

2009-08-06 Thread David Laakso
Chris Blake wrote: Hi, After getting the website I created working in most browsers I saw that it was not working in IE. I have made a hack that has fixed it in IE: !--[if IE] td{ border: 1px solid #fff; } #main .content{ padding: 0px; margin-bottom: -20px; } ![endif]--

Re: [css-d] My IE Hack is hacking all the other browsers!!

2009-08-06 Thread Rainer Wagener
Chris Blake schrieb: Hi, After getting the website I created working in most browsers I saw that it was not working in IE. I have made a hack that has fixed it in IE: !--[if IE] td{ border: 1px solid #fff; } #main .content{ padding: 0px; margin-bottom: -20px; }

Re: [css-d] My IE Hack is hacking all the other browsers!!

2009-08-06 Thread Chris Blake
On 06/08/2009, at 7:04 PM, Rainer Wagener wrote: Chris Blake schrieb: Hi, After getting the website I created working in most browsers I saw that it was not working in IE. I have made a hack that has fixed it in IE: !--[if IE] td{ border: 1px solid #fff; } #main .content{

Re: [css-d] My IE Hack is hacking all the other browsers!!

2009-08-06 Thread Chris Blake
Hello again, This didn't work because it was being read by all the browsers, not just IE: !--[if lte IE 7] style type=text/css td{ border: 1px solid #fff; } #main .content{ padding: 0px; margin-bottom: -20px; } /style ![endif]-- I looked at this ( http://www.ejeliot.com/blog/63 ) and

Re: [css-d] My IE Hack is hacking all the other browsers!!

2009-08-06 Thread David Laakso
Chris Blake wrote: UPDATE: I have done those two things, and it now looks like this (this is in a separate style sheet, not in the head or amongst the code): !--[if lte IE 7] style type=text/css td{ border: 1px solid #fff; } #main .content{ padding: 0px; margin-bottom: -20px; }

Re: [css-d] My IE Hack is hacking all the other browsers!!

2009-08-06 Thread David Laakso
Chris Blake wrote: Hi, After getting the website I created working in most browsers I saw that it was not working in IE. I have made a hack that has fixed it in IE: Did you mean this (note: style)? !--[if IE] style type=text/css td{ border: 1px solid #fff; } #main .content{

Re: [css-d] My IE Hack is hacking all the other browsers!!

2009-08-06 Thread David Laakso
Chris Blake wrote: In the head? I have that reset.css and one style sheet attached. i thought that it was OK to put the conditional comment in the normal style sheet. I could have made a separate style sheet for IE only, but it is just this one hack so seemed a bit unnecessary. The (*)

[css-d] Interesting issue with IE6, borders, and negative margins

2009-08-06 Thread Mike Smith
Hello all, I have some HTML being generated by our CMS that is creating a nested list for a menu. The issue at hand: The sub-navigation on this menu is supposed to have a divider between each item. I used a border-bottom on each link to achieve this. However, the last item shouldn't not have

Re: [css-d] My IE Hack is hacking all the other browsers!!

2009-08-06 Thread Erik Vorhes
Chris Blake wrote: In the head? I have that reset.css and one style sheet attached. i thought that it was OK to put the conditional comment in the normal style sheet. I could have made a separate style sheet for IE only, but it is just this one hack so seemed a bit unnecessary. It looks

[css-d] IE8 conditional styles bug ??

2009-08-06 Thread Allen Beach
It appears that the new IE8 (when in IE8 standards mode) will not work correctly when you have both inline and linked style sheets...if you're in quirks or ie7 mode its fine, but the moment you switch to IE8 standards mode (for both broser and docMode) your linked styles are gone! !--[if gte

[css-d] One Final Image gallery question

2009-08-06 Thread Debbie Roes
Hi All, Thanks to Tim Snadden, I have mostly solved the image gallery question I posted last night regarding centering the photos within the blue box background. There is one additional problem now. The image box (blue background with photo inside) for portrait sized images is aligned to the

Re: [css-d] IE8 conditional styles bug ??

2009-08-06 Thread Al Sparber
From: Allen Beach cmkbh...@ymail.com It appears that the new IE8 (when in IE8 standards mode) will not work correctly when you have both inline and linked style sheets...if you're in quirks or ie7 mode its fine, but the moment you switch to IE8 standards mode (for both broser and docMode)

Re: [css-d] IE8 conditional styles bug ??

2009-08-06 Thread Al Sparber
From: Al Sparber aspar...@roadrunner.com From: Allen Beach cmkbh...@ymail.com It appears that the new IE8 (when in IE8 standards mode) will not work correctly when you have both inline and linked style sheets...if you're in quirks or ie7 mode its fine, but the moment you switch to IE8

Re: [css-d] IE8 conditional styles bug ??

2009-08-06 Thread Ingo Chao
If I am not wrong, my IE8 Vista (Browser mode: IE8; Document mode: IE8 Standards) applies the rules in question. I can see a square div aquamarine, with text on it. test example --- http://mtroadwines.com/ie8test.htm __

Re: [css-d] IE8 conditional styles bug ??

2009-08-06 Thread Allen Beach
But are you seeing BOTH inline and linked styles? Thanks--- - Allen From: Ingo Chao ichaoc...@googlemail.com To: Allen Beach cmkbh...@ymail.com Cc: css-d@lists.css-discuss.org Sent: Thursday, August 6, 2009 11:43:20 AM Subject: Re: [css-d] IE8

Re: [css-d] IE8 conditional styles bug ??

2009-08-06 Thread Allen Beach
You should see 2 boxes, one with inline and one with linked styles... Al Sparber - I disagree, IE8 in standards mode still is far from perfect, and when creating a corporate site that works in IE6/7/8 and going forward, its important to have a seperate style sheet that takes certain items into

[css-d] Drop Down Menu in IE6- Z Index issue? Please help!

2009-08-06 Thread Rebecca Gessler
Hi everyone, This is really driving me crazy. I am pretty sure this has something to do with the way my z-indexes are set up. The problem is only with IE6... IE7 it works fine and also FireFox. The drop down menu in IE6 comes down and overlaps all appropriate divs, but it disappears before you

Re: [css-d] IE8 conditional styles bug ??

2009-08-06 Thread Al Sparber
From: Allen Beach cmkbh...@ymail.com You should see 2 boxes, one with inline and one with linked styles... Al Sparber - I disagree, IE8 in standards mode still is far from perfect, and when creating a corporate site that works in IE6/7/8 and going forward, its important to have a seperate

Re: [css-d] Interesting issue with IE6, borders, and negative margins

2009-08-06 Thread Mike Smith
On Thu, Aug 6, 2009 at 11:00 AM, Mike Smith grum@gmail.com wrote: Hello all, I have some HTML being generated by our CMS that is creating a nested list for a menu. The issue at hand: The sub-navigation on this menu is supposed to have a divider between each item. I used a

Re: [css-d] Image gallery question

2009-08-06 Thread tedd
At 8:19 PM -0700 8/5/09, Debbie Roes wrote: I used box by Tedd (http://sperling.com/examples/box/) for the blue background and I am SO happy to have found that solution! It works great except for one thing (which is probably more about my poor coding than Ted's box!)... For the portrait-sized

Re: [css-d] Image gallery question

2009-08-06 Thread Debbie Roes
Tedd, When I view your site via Safari (have not tested with other browsers), the portrait images look great. However, the landscape images force a vertical (yes vertical) scroll bar. One would think that making the page wider would cause a horizontal scroll bar to appear, but instead a

Re: [css-d] IE8 conditional styles bug ??

2009-08-06 Thread Ingo Chao
2009/8/6 Al Sparber aspar...@roadrunner.com: I disagree, but just follow the steps in my previous email. For the second step, I apologize for a typo... Instead of removing the ID, remove the Title. Yes, there are two preferred stylesheets (- HTML 4) visible for IE8 (A title=all and B

[css-d] Rounded corners in a css table layout?

2009-08-06 Thread Sander Marechal
Hi all, I need some help with my design. I want to display three equal-height boxes next to eachother, like this ASCI art: +--+ +--+ +--+ | | | | | | | | | | | | | | | | | | +--+ +--+ +--+ I also have an example online (with

Re: [css-d] Image gallery question

2009-08-06 Thread Tim Snadden
On 6/08/2009, at 5:26 PM, Debbie Roes wrote: #box { float: left; } /* will ensure that the box 'shrink-wraps' around you content. */ #wrapper { overflow: auto; } /* will ensure that your float is contained */ #footer { clear: both; } /* will ensure that your footer clears the floated

Re: [css-d] Image gallery question

2009-08-06 Thread Debbie Roes
Tim, A different approach... #mainGal { text-align: center; } #box { float: none; /* remove the float we added before */ display: inline-block; display: -moz-box; /* == for firefox 2 */ } To make inline-block work in IE8 you will need to use a conditional

Re: [css-d] My IE Hack is hacking all the other browsers!!

2009-08-06 Thread Adam Ducker
Chris Blake wrote: After getting the website I created working in most browsers I saw that it was not working in IE. I have made a hack that has fixed it in IE Send a link to the page and maybe one of us reading can figure out a way around your hack. I find most hacks are useless these

Re: [css-d] Drop Down Menu in IE6- Z Index issue? Please help!

2009-08-06 Thread Tim Snadden
On 7/08/2009, at 4:24 AM, Rebecca Gessler wrote: Hi everyone, This is really driving me crazy. I am pretty sure this has something to do with the way my z-indexes are set up. The problem is only with IE6... IE7 it works fine and also FireFox. The drop down menu in IE6 comes down and

Re: [css-d] Image gallery question

2009-08-06 Thread Michal Suchanek
Hello This site looks interesting. Quite simple but nice design. At first I wanted to ask if the links for changing the photo have to be JavaScript but I see that what you do cannot be done otherwise. Changing the photo for the first time takes very long but subsequent photo flipping is very

[css-d] menu flashes and disappears in IE6

2009-08-06 Thread Debbie Campbell
In this site, in IE6 only, http://www.redkitecreative.com/projects/horse/ my navigation menu (just a simple CSS text-based menu) flashes for a second, then disappears. Can someone shed some light on this issue? -- Debbie Campbell

Re: [css-d] My IE Hack is hacking all the other browsers!!

2009-08-06 Thread Adam Ducker
Erik Vorhes wrote: Whether you end up going with CSS hacks or conditional comments is your decision (though I prefer conditional comments because I know what I'm getting that way, and there aren't as many potential surprises). I second this as well, Chris. Only use a hack when you've

Re: [css-d] menu flashes and disappears in IE6

2009-08-06 Thread David Laakso
Debbie Campbell wrote: In this site, in IE6 only, http://www.redkitecreative.com/projects/horse/ my navigation menu (just a simple CSS text-based menu) flashes for a second, then disappears. Can someone shed some light on this issue? Debbie, Your URL is fine on my end in

Re: [css-d] IE8 conditional styles bug ??

2009-08-06 Thread Alan Gresley
Allen Beach wrote: It appears that the new IE8 (when in IE8 standards mode) will not work correctly when you have both inline and linked style sheets...if you're in quirks or ie7 mode its fine, but the moment you switch to IE8 standards mode (for both broser and docMode) your linked styles

Re: [css-d] My IE Hack is hacking all the other browsers!!

2009-08-06 Thread Adam Ducker
Alan Gresley wrote: Is this not valid CSS? * html div { background: green; } /* IE6- */ *+html div { background: green; } /* IE7 */ What you're outlining is valid and not a hack as far as I would define a hack, so I'm not sure what your point is. What Chris detailed as his solution is very

Re: [css-d] My IE Hack is hacking all the other browsers!!

2009-08-06 Thread Chris Blake
Thanks everyone, There is a problem in that the website is CMS generated so we don't actually have a head that we can edit. I will double check with my friend but I remember him saying that there was no editable head. I hear what you're saying, and as always I am really respectful and am