Previous Message
Next Message

CSS to format <dl> as tabbed pane

Sent by Paul Novitski on 30 March 2006 02:02

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:

<dl id="jstabs" class="item#">

         <dt class="item#"><a href="?item=#">Coffee</a></dt>
         <dd class="item#">Black hot drink</dd>

where "#" is the tab/panel number, suppied by the server-side script.

When a tab is clicked, the page reloads, the server-side script 
supplying the requested item#.

Doing so, however, assumes the CSS is enabled.


css-discuss [EMAIL-REMOVED]]
IE7b2 testing hub --
List wiki/FAQ --
Supported by --
Previous Message
Next Message

Message thread:

Possibly related: