View Full Version : Definition List problems

08-15-2005, 12:09 AM
I have a definition list on this page http://www.kelrick.com/local-information.asp

Looks ok? But what I'd really like to do is have the dds lining up flush left, so in effect I'd get something looking like this:

Blahblah: Description
Blahblah: Description
Blahblah: Description
Blahblah: Description

Hope that makes sense?

Any help greatly appreciated :)

P.s. Please don't comment on design - I pretty much had my hands tied on this one :p

kind Regards,


08-15-2005, 12:30 AM
are you going for something like this?

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"

<html xmlns="http://www.w3.org/1999/xhtml">
<meta http-equiv="Content-Language" content="en" />
<style type="text/css">
dt {
float: left;
margin-right: 1em;
width: 180px;
<dl id="useful-links">
<dt>Wigan Council</dt>
<dd><a href="www.wiganmbc.gov.uk">www.wiganmbc.gov.uk</a></dd>
<dt>Local Information</dt>
<dd><a href="www.upmystreet.com">www.upmystreet.com</a></dd>
<dt>Route Planner</dt>
<dd><a href="www.greenflag.co.uk">www.greenflag.co.uk</a></dd>
<dt>Database of Local Schools</dt>
<dd><a href="www.schoolswebdirectory.co.uk">www.schoolswebdirectory.co.uk</a></dd>
<dt>School Inspection Reports</dt>
<dd><a hrefwww.ofsted.gov.uk>www.ofsted.gov.uk</a></dd>
<dd><a href="www.wiganleigh.nhs.uk">www.wiganleigh.nhs.uk</a></dd>
<dt>General Information</dt>
<dd><a href="www.touchwigan.com">ww.touchwigan.com</a></dd>
<dd><a href="www.yell.com & www.thomweb.co.uk">www.yell.com & www.thomweb.co.uk</a></dd>

08-15-2005, 12:49 AM
A - that is just the job! works perfectly :thumbsup:

Genius, genius! :)

Thanks mate,


08-15-2005, 01:14 AM
G - no problem. if it works for you, it works for me :thumbsup:

08-15-2005, 09:44 AM
Please get off the XML prolog. It throws IE into quirks mode, wich you seriously don't want.

08-15-2005, 09:58 AM
xml prologue: Oh yeah, fair point - forgot about that, thanks mate :thumbsup:


08-15-2005, 11:18 AM
you missed the =" " from the ofsted link.... :D A-

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum