On Apr 30, 2007, at 10:04 AM, CK wrote:
http://working.bushidodeep.com/dom_site/template.php
On Apr 29, 2007, at 10:23 PM, Philippe Wittenbergh wrote:
as Paul mentioned: why the pointer over the dt/headings ?
At 4/29/2007 09:12 PM, CK wrote:
For Show/Hide Dom Switching
I strongly suggest you
1) mark up the DTs as hyperlinks that reload the page with the
selected item expanded, then
2) add javascript that converts the links to show/hide DOM switches
That way the page will function correctly whether javascript is
enabled or not, and when javascript is enabled it will work faster &
more smoothly. Everybody wins. [Google 'progressive enhancement']
See this <http://working.bushidodeep.com/dom_site/template_02.php>
The method you're using to present the definition list in two columns
is to split the markup into two lists. However, I believe it's
really just one list, so you're changing the markup in a way that
misrepresents the semantics of the page purely for presentational purposes.
You can accomplish the dual-column list in CSS by moving the first DT
in column 2 back up the page with a negative margin-top, then
shifting all the items in column 2 over with a postive
margin-left. This technique is illustrated in example 6 in my A List
Apart article
<http://www.alistapart.com/articles/multicolumnlists/>. It does
require that the height of column 1 is predictable if you're using
static CSS or calculable if you're generating your CSS on the fly.
Regards,
Paul
__________________________
Paul Novitski
Juniper Webcraft Ltd.
http://juniperwebcraft.com
*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************