Re: [css-d] CSS to format dl as tabbed pane

2006-03-29 Thread Paul Novitski
At 04:08 PM 3/29/2006, Peter Michaux wrote: I'd like to learn how to use CSS to display a definition list as a tabbed pane. I think this would be a nice way to relate the tab and the content in case the browser is not CSS or the document is being presented aurally. Any tips on how to do this might

Re: [css-d] CSS to format dl as tabbed pane

2006-03-29 Thread Paul Novitski
At 04:56 PM 3/29/2006, Paul Novitski wrote: If either JavaScript or CSS is disabled, the markup will render as a (vertical) sequence of DT-DD pairs. PS: The model I described works in the absence of JavaScript with a server-side script supplying the necessary classNames: __

Re: [css-d] CSS to format dl as tabbed pane

2006-03-29 Thread Peter Michaux
Hi Paul, Thanks for the reply. Interesting approach. Is there anyway to avoid this line? top: #em; /* move it down below list of DT tabs */ The reason this causes some grief is I don't know how many rows of tabs might exist or maybe I don't want to add padding to the dt elements

Re: [css-d] CSS to format dl as tabbed pane

2006-03-29 Thread Thierry Koblentz
Peter Michaux wrote: Hi, I'd like to learn how to use CSS to display a definition list as a tabbed pane. I think this would be a nice way to relate the tab and the content in case the browser is not CSS or the document is being presented aurally. Any tips on how to do this might get me