- This topic is empty.
-
AuthorPosts
-
May 13, 2011 at 6:03 am #32703BrightonmikeMember
I can only test the site on one computer with IE7.
I have this in the header:
But IE is not removing the comments. Help? Site is: Site
May 13, 2011 at 6:07 am #76347TT_MarkMemberConditional stylesheets must come AFTER your standard stylesheets, otherwise everything will just get overwritten by the main styles :-)
May 13, 2011 at 6:10 am #76348BrightonmikeMemberI know, but regardless, IE is not stripping out the comments? So it’s not even trying to load the stylesheet.
May 13, 2011 at 7:22 am #76352TT_MarkMemberNot sure what you mean? I.E. doesn’t remove the comment tags, they are there so other browsers ignore them
May 13, 2011 at 7:43 am #76354BrightonmikeMemberThat doesn’t make sense. If it doesn’t strip the comment tags, then the link to the stylesheet is a comment and will be ignored. However which way it loads the stylesheet – it isn’t loading the stylesheet.
May 13, 2011 at 7:47 am #76355BrightonmikeMemberWhat makes this so much more frustrating is I make a change to the sites code, and it takes about half an hour for IE to show the change, doesn’t matter what I do, clear cache, browser data etc.
May 13, 2011 at 8:12 am #76335TT_MarkMemberYou could probably do with reading up on how IE Conditional comments actually work
“Explorer Windows, though, has been programmed to recognize the special
May 13, 2011 at 8:39 am #76336BrightonmikeMemberYeah, I get that.
But like I said, regardless of how they work, IE7 is NOT actually applying the adjusted styles. I’ve over-ridden the defaults, but it won’t work. I’ve a feeling it’s an issue with the computer I’m using, changes seem to take years to show up on it.
May 13, 2011 at 9:01 am #76332TT_MarkMemberCould be the hosting provider? Do all changes take a while to show or just those to the conditional stylesheet?
May 13, 2011 at 9:11 am #76333BrightonmikeMemberAll other changes are instant and I can see the code changes instantly on browsers on this PC. It’s just the PC running IE7.
May 13, 2011 at 1:27 pm #76324TheDocMemberI don’t see your stylesheet anywhere in your code on the home page.
May 13, 2011 at 2:59 pm #76323TT_MarkMemberI can vouch for it being there earlier when the conversation started. It has now disappeared
May 16, 2011 at 5:06 am #75995BrightonmikeMemberEric – how do I do that? Is it really the best way?
May 17, 2011 at 4:15 am #75920BrightonmikeMemberOkay, that makes sense. So the header on IE7 is too short, I want to make it taller, but just for IE7.
This will work?
*+html #header {height:160px;}
May 17, 2011 at 4:21 am #75921BrightonmikeMemberIt works – brilliant, thank you :)
AuthorPostsViewing 15 posts - 1 through 15 (of 15 total)- The forum ‘CSS’ is closed to new topics and replies.