Re: [css-d] blog: centering multiple line content with css

2007-10-06 Thread Alan Gresley
Roger Keays wrote: Hi All, I've just finished a blog on centering multiline content (horizontally and vertically): http://www.sunburnt.com.au/publications/design/center-multiple-lines-with-css The method used is display: table/table-cell for standards browsers, and a javascript

Re: [css-d] Reliable Opera-only filter?

2007-10-06 Thread David Laakso
Micky Hulse wrote: I would prefer to use a filter for the latest version of Opera that will be a good long-term fix. Basically, Opera gives a few extra pixels of top-padding, on a form input, that I would like to compensate for... I can live with how it is now, but thought I would ask ya'll

[css-d] clearfix tweak needed on IE7

2007-10-06 Thread Phillip Cavaco
Hi guys. Normally I use the following CSS code for clearfix. For exemple the following code does not clear properly on IE7: div class=clearfix div style=width:50px; height:50px: background-image:url(image.png) no-repeat 0 0; float:left /div p blablabla blablablabla blablabla

Re: [css-d] Reliable Opera-only filter?

2007-10-06 Thread Philippe Wittenbergh
On Oct 6, 2007, at 10:15 PM, David Laakso wrote: @media screen and (min-width: 0px){ #foo { padding: ... ;} } And mind the last brace. Unreliable. That will also target Safari 3 and newer, Konqueror 4 (afaik). Philippe --- Philippe Wittenbergh http://emps.l-c-n.com

Re: [css-d] clearfix tweak needed on IE7

2007-10-06 Thread Philippe Wittenbergh
On Oct 6, 2007, at 10:27 PM, Phillip Cavaco wrote: Normally I use the following CSS code for clearfix. For exemple the following code does not clear properly on IE7: [...] .clearfix:after{ content:.; display:block; height:0; clear:both; visibility:hidden; } *

Re: [css-d] Reliable Opera-only filter?

2007-10-06 Thread Alex Robinson
Rare is the day Opera gets it wrong. @media screen and (min-width: 0px){ #foo { padding: ... ;} } This is hardly a long term fix. Safari 3 (due for release along with the next version of OS X within the next couple of weeks) will support media queries. To exclude it (and other browsers using

Re: [css-d] Reliable Opera-only filter?

2007-10-06 Thread Rafael
You could check at this page http://www.webdevout.net/css-hacks#in_css-selectors Micky Hulse wrote: I would prefer to use a filter for the latest version of Opera that will be a good long-term fix. Basically, Opera gives a few extra pixels of top-padding, on a form input, that I would

Re: [css-d] Safari Overflow:Auto Issue?

2007-10-06 Thread Chris Davis
I see, so the element using overflow (#cast) is caught up in the float as well, and part of its height is hidden by the floated element (in this case the #marquee div). Does that sound right? Since the #cast element is the only one that uses overflow:auto, I simply cleared it with clear:both.

Re: [css-d] blog: centering multiple line content with css

2007-10-06 Thread Gunlaug Sørtun
Roger Keays wrote: http://www.sunburnt.com.au/publications/design/center-multiple-lines-with-css http://www.gunlaug.no/contents/wd_additions_20.html If only I had found that yesterday! Options are always nice to have. Since your source-code construction is far from valid, and the CSS quite

Re: [css-d] Safari Overflow:Auto Issue?

2007-10-06 Thread Philippe Wittenbergh
On Oct 6, 2007, at 11:33 PM, Chris Davis wrote: I see, so the element using overflow (#cast) is caught up in the float as well, and part of its height is hidden by the floated element (in this case the #marquee div). Does that sound right? No, the width of that element collapses to near

Re: [css-d] Safari Overflow:Auto Issue?

2007-10-06 Thread tedd
At 9:33 AM -0500 10/6/07, Chris Davis wrote: I see, so the element using overflow (#cast) is caught up in the float as well, and part of its height is hidden by the floated element (in this case the #marquee div). Does that sound right? Since the #cast element is the only one that uses

Re: [css-d] repeating a header style

2007-10-06 Thread David Hucklesby
On Fri, 5 Oct 2007 17:32:00 +0100, Donna Watch wrote: [...] I am trying to achieve: the html has the text for, say, H1 and then using css, to obtain the result of image left, H1 as defined in html text, image right followed by an image underneath all in the same class? i.e the style and

Re: [css-d] clearfix tweak needed on IE7

2007-10-06 Thread David Hucklesby
On Oct 6, 2007, at 10:27 PM, Phillip Cavaco wrote: Normally I use the following CSS code for clearfix. For exemple the following code does not clear properly on IE7: [...] .clearfix:after{ content:.; display:block; height:0; clear:both; visibility:hidden; } * html .clearfix{

[css-d] CSS to eliminate dotted borders on hyperlink clicks

2007-10-06 Thread Bruce Gilbert
I remember reading somewhere about CSS you can add, so that links won't get the dotted border around them when you click on the links , but I cannot remember what it is. Can anyone refresh my memory? This may be just a Firefox thing. -- ::Bruce::

Re: [css-d] CSS to eliminate dotted borders on hyperlink clicks

2007-10-06 Thread Rafael
I guess you're talking about outline. Bruce Gilbert wrote: I remember reading somewhere about CSS you can add, so that links won't get the dotted border around them when you click on the links , but I cannot remember what it is. Can anyone refresh my memory? This may be just a Firefox

Re: [css-d] Validation problems

2007-10-06 Thread David Dorward
On 06/10/2007, Tim Offenstein [EMAIL PROTECTED] wrote: I am reviewing a page for a client (www.physics.uiuc.edu) that uses a hover class and some events. On lines 178, 194, and 202 in the HTML a call for onmouseover, onfocus, onmouseout, and onblur events occurs. You're trying to apply onblur

Re: [css-d] setting width on items in a row

2007-10-06 Thread Adam Hardy
Gunlaug Sørtun on 03/10/07 01:45, wrote: Adam Hardy wrote: I'm looking for a simple solution to a width problem on a page showing rows of items with various other bits of info for each row. http://www.gargantus.com/sylvie/list.html In the first block on this page, I use a div per row

Re: [css-d] setting width on items in a row

2007-10-06 Thread Gunlaug Sørtun
Adam Hardy wrote: Gunlaug Sørtun on 03/10/07 01:45, wrote: Are you thinking along these lines...? http://www.gunlaug.no/tos/alien/ah/test_07_1003.html Yes I am thinking along those lines - and your solution is tantalisingly close, if only it behaved itself in IE6, which annoyingly drops

Re: [css-d] clearfix tweak needed on IE7

2007-10-06 Thread Bob Rosenberg
At 11:00 AM -0700 on 10/6/07, David Hucklesby wrote about Re: [css-d] clearfix tweak needed on IE7: Of course, you could simply use: .clearfix {zoom: 1;} since only IE 5/6/7 Win recognize zoom. Won't fix IE 5.01 Win though. You will still need the height: 1%; if you care about that