[css-d] Stretch over a cell

2010-09-20 Thread Michal Čizmazia
Hi, which browsers render my test case correctly? http://cim.szm.com/stretch-over-cell.html Thank you. Michal Cizmazia __ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ

Re: [css-d] Stretch over a cell

2010-09-20 Thread David Laakso
On 9/20/10 5:31 AM, Michal Čizmazia wrote: Hi, which browsers render my test case correctly? http://cim.szm.com/stretch-over-cell.html Thank you. Michal Cizmazia On Mac OS X 10.4.11 Pass Opera/10.62 Fail Camino/2.0.3 Safari/4.1.2 WebKit nightly trunk 63031 [crashes browser]

Re: [css-d] Stretch over a cell

2010-09-20 Thread Michal Čizmazia
Wow, thank you David, is the specification clear in this case? Is there a way how can I stretch the nested span over a table cell in all browsers? The test case: - http://jsfiddle.net/Vwg7T/ - http://cim.szm.com/stretch-over-cell.html Michal Cizmazia

Re: [css-d] Stretch over a cell

2010-09-20 Thread David Laakso
On 9/20/10 6:46 AM, Michal Čizmazia wrote: Wow, thank you David, is the specification clear in this case? Is there a way how can I stretch the nested span over a table cell in all browsers? The test case: - http://jsfiddle.net/Vwg7T/ - http://cim.szm.com/stretch-over-cell.html Michal

Re: [css-d] Stretch over a cell

2010-09-20 Thread Philippe Wittenbergh
On Sep 20, 2010, at 7:46 PM, Michal Čizmazia wrote: is the specification clear in this case? Is there a way how can I stretch the nested span over a table cell in all browsers? The test case: - http://jsfiddle.net/Vwg7T/ - http://cim.szm.com/stretch-over-cell.html quote from the spec:

Re: [css-d] Stretch over a cell

2010-09-20 Thread Michal Čizmazia
Thanks Philippe, your test case works for me. Your quote from the specification seemed to be related to the relatively positioned element itself. I use relative positioning just to create a containing block: If the element has 'position: absolute', the containing block is established by the

Re: [css-d] Stretch over a cell

2010-09-20 Thread Philippe Wittenbergh
On Sep 20, 2010, at 9:24 PM, Michal Čizmazia wrote: Your quote from the specification seemed to be related to the relatively positioned element itself. I use relative positioning just to create a containing block: well you apply position relative to the table-cell. What happens in that case

Re: [css-d] Multiple select dropdown on a single line

2010-09-20 Thread Philip Taylor (Webmaster, Ret'd)
OK, but what you've drawn (posted) is not what you are trying to achieve, but what you can already achieve but which does not match your needs. What I (and perhaps others) need to see is what you are trying to achieve visually; we know from your prose description the intended effect, but not how

Re: [css-d] Multiple select dropdown on a single line

2010-09-20 Thread Mark Richards
Tod, It seems that when you make the height of the select too small there isn't room for the scrollbar. This simple hack might give you some ideas: select { height: 1.5em; } select:focus { height: 3em; } You can also use Javascript to achieve a similar effect. I tried playing around

[css-d] 3-column layouts, current state of play

2010-09-20 Thread Richard Grevers
It's a while since I did a 3 column layout, and while looking around a couple of sites (Alex Robinson's onetruelayout and Matthew James Taylor's) I realised that most of this information is 4-5 years old. Which of the gotchas are still valid in latest versions? (I recall not using onetruelayout

Re: [css-d] Making GridView's Header Fixed while Scrolling vertically or horizantally

2010-09-20 Thread Richard Grevers
On Fri, Sep 17, 2010 at 9:32 PM, Dilip Nagle nagle...@gmail.com wrote: *The Problem:* At present, I use following css to achieve above; This CSS is then associated with  gridview.header of the gridview HeaderStyle CssClass=gvFixedHeader_Aqua / .gvFixedHeader_Aqua{position:relative;

Re: [css-d] 3-column layouts, current state of play

2010-09-20 Thread Nate Turnage
I would say that Mathew James Taylor's 3-col holy grail layout is the way to go. He updated them last year I believe, so they're not all that old. On a site I am working on I am using a modified version of his 3col theory in a responisive layout with percentage-based widths. Works like a charm.

[css-d] property for aligning vertical text in a div

2010-09-20 Thread Lisa Frost
Hi, I have no idea what property i need to accomplish the following. If anyone can point me in the right direction i can then go and look it up. I have footer div which has a background image. Question 1: To get the background image to display i needed to add width and height values. Is that

Re: [css-d] property for aligning vertical text in a div

2010-09-20 Thread Venditelli, Daniel - Web Development Administrator
You can easily add a margin on the p tag within the footer to push the text down the page to where you need it to be. The height and width you added are NOT for your background image but rather for the DIV you are assigning it to. Otherwise that div will only grow as large as your content, the

Re: [css-d] property for aligning vertical text in a div

2010-09-20 Thread Lisa Frost
You can easily add a margin on the p tag within the footer to push the text down the page to where you need it to be. Never thought of that. Thanks, that's an easy solution. But going back to my original question. Is there an actual property to accomplish it, like you can have vertical-align

Re: [css-d] property for aligning vertical text in a div

2010-09-20 Thread Rick Gordon
Classing the div as display:table-cell would allow the vertical-align to operate -- and does not necessarily require that it be enclosed in table-rows or a table. -- On 9/21/10 at 7:27 AM +0700, Lisa Frost wrote in a message entitled Re: [css-d] property for aligning vertical