[css-d] IE7: Conditional Statement needed?
Hi there, I have just 4 styles that need some attention for ie7, these are: *:first-child+html .mainWrapper { right: -1px; } *:first-child+html #copyright p { padding: 10px 10px 20px; } *:first-child+html #c-front-page #l-col, *:first-child+html #c-front-page #c-col { overflow: hidden; } I have never really understood why IE throws out my layout by 1px hence the hack. My question really is: Do I need to create a conditional statement for just those styles and is there a way to fix the 1px layout problem without using the above? -- Regards Karl __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
[css-d] Embedded Fonts
Hi All, Can I embedded ttf font inside my website through css so that any browser can open and view the font ? Regards, Feris __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] Embedded Fonts
You need Open Type fonts for that. True Type or Postscript fonts aren't supported. HTH A. __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] How To Position Banner Amidst Floated Layout
Thanks for the clarification! Elli V --- Gunlaug Sørtun [EMAIL PROTECTED] wrote: Elli Vizcaino wrote: I was just wondering if this syntax is correct: #content {position: relative; float: left; width: 954px; border-top: 1px solid #162581;} That's a perfectly fine way to solve the problem at hand. You're simply doing several, separate, things with/on the same element, and the properties/values you have used do *not* exclude each other. - containment of floats - 'float: left'. Floats will expand to contain floating children in accordance with rules for 'block formatting context'[1]. - positioning of container - 'float: left'. Floats do position themselves in accordance with float rules[2]. - establishing a relationship for absolute positioned child - 'position: relative'. Relative positioning[3] can be used to offset elements - even floating ones, and/or to establish a relationship - a base - for A:P children. There are other ways to achieve the same, but they are no better than the solution you have now, IMO. regards Georg [1]http://www.w3.org/TR/CSS21/visuren.html#q15 [2]http://www.w3.org/TR/CSS21/visuren.html#floats [3]http://www.w3.org/TR/CSS21/visuren.html#relative-positioning -- http://www.gunlaug.no __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/ My Sites: www.jadynteal.com www.eliazer.com www.e7flux.com Get your own web address. Have a HUGE year through Yahoo! Small Business. http://smallbusiness.yahoo.com/domains/?p=BESTDEAL __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
[css-d] Absolute positioned img, z-index problem safari
Hi, I can't figure this out. My portfolio site: http://ellenoneill.nl/ uses absolute positioned images with z-indexes. No problems in IE6, IE7 and Firefox, only Safari 2.0.4 ignores my z-indexes. I tried reordering the images in de HTML, but that doesn't seem to matter either. I hope there's a solution ... Thanks in advance. Regards, Ellen __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] Embedded Fonts
Dino CSS ink wired: Can I embedded ttf font inside my website through css so that any browser can open and view the font ? There is a Microsoft API for that... it isn't CSS and it isn't very reliable either... -- I made magic once. Now, the sofa is gone. http://dwacon.blogspot.com __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] Absolute positioned img, z-index problem safari
On Apr 2, 2007, at 2:35 AM, Ellen O'Neill wrote: Hi, I can't figure this out. My portfolio site: http://ellenoneill.nl/ uses absolute positioned images with z-indexes. No problems in IE6, IE7 and Firefox, only Safari 2.0.4 ignores my z-indexes. I tried reordering the images in de HTML, but that doesn't seem to matter either. I hope there's a solution ... Thanks in advance. Something is going wrong with that little script of yours. Apparently, it changes the z-index even if not asked. Philippe --- Philippe Wittenbergh http://emps.l-c-n.com __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
[css-d] h1 border bottom
I have the following code in my stylesheet and the border bottom for the h1 is showing in everything except IE6. Is this just something I have to live with or is there a work around? h1 {font-size: 180%; color: #052760; font-family: Times New Roman, serif; margin-top: 0px; text-align: center; letter-spacing: 1px; border-bottom: 2px solid #f47937;} Joanne __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] h1 border bottom
Joanne wrote: I have the following code in my stylesheet and the border bottom for the h1 is showing in everything except IE6. Is this just something I have to live with or is there a work around? h1 {font-size: 180%; color: #052760; font-family: Times New Roman, serif; margin-top: 0px; text-align: center; letter-spacing: 1px; border-bottom: 2px solid #f47937;} Joanne The CSS is valid. And is it is working as intended on a local file in IE7, IE6, IE5.5, and 5.01on XP. Best, ~dL -- http://chelseacreekstudio.com/ __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
[css-d] ie/5.01 float drop
On this rough layout http://chelseacreekstudio.com/ca/cssd/index.html, the sidebar float drops in ie/5.01 /only/. There is no logical reason for this. Its got to be a human bug.. Just can't find it for the life of me. Anyone? Thanks. Best, ~dL -- http://chelseacreekstudio.com/ __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] styling a ul
Question: if I style the ul element the way I want it to appear for the sub-navigation, won't that make it unusable for other ul instances where I want other styling? How can I style this one instance of a ul and still be able to use the ul element for other purposes with other styling? This suggestion might be completely unhelpful because I haven't seen the context of your sub-navigation, but if your sub-nav lists are descended from a nav-list (ie nested lists) you could target the sub-nav using... ul ul { rules go here } making sure your rules for the regular lists appear first (so not overwriting these others) regards, David __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/