Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 08-15-2005, 12:09 AM   PM User | #1
Graft-Creative
Regular Coder

 
Graft-Creative's Avatar
 
Join Date: Aug 2004
Location: Web Designer - North East Lancashire U.K.
Posts: 842
Thanks: 0
Thanked 0 Times in 0 Posts
Graft-Creative will become famous soon enough
Definition List problems

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

kind Regards,

Gary
__________________
'cna ne1 plz giv cod'
Graft-Creative is offline   Reply With Quote
Old 08-15-2005, 12:30 AM   PM User | #2
harbingerOTV
Senior Coder

 
Join Date: Jan 2005
Location: Memphis, TN
Posts: 1,765
Thanks: 8
Thanked 123 Times in 121 Posts
harbingerOTV will become famous soon enough
are you going for something like this?

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

"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Language" content="en" />
<style type="text/css">
dt {
float: left;
margin-right: 1em;
width: 180px;
}
</style>
</head>
<body>
<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>
<dt>Hospital</dt>
<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>
<dt>Businesses</dt>
<dd><a href="www.yell.com & www.thomweb.co.uk">www.yell.com & www.thomweb.co.uk</a></dd>
</dl>
</body>
</html>
__________________
Stop making things so hard on yourself.
i is tugbucket :: help raise tugburg :: Whitehaven Kiwanis
harbingerOTV is offline   Reply With Quote
Old 08-15-2005, 12:49 AM   PM User | #3
Graft-Creative
Regular Coder

 
Graft-Creative's Avatar
 
Join Date: Aug 2004
Location: Web Designer - North East Lancashire U.K.
Posts: 842
Thanks: 0
Thanked 0 Times in 0 Posts
Graft-Creative will become famous soon enough
A - that is just the job! works perfectly

Genius, genius!

Thanks mate,

Gary
__________________
'cna ne1 plz giv cod'
Graft-Creative is offline   Reply With Quote
Old 08-15-2005, 01:14 AM   PM User | #4
harbingerOTV
Senior Coder

 
Join Date: Jan 2005
Location: Memphis, TN
Posts: 1,765
Thanks: 8
Thanked 123 Times in 121 Posts
harbingerOTV will become famous soon enough
G - no problem. if it works for you, it works for me
__________________
Stop making things so hard on yourself.
i is tugbucket :: help raise tugburg :: Whitehaven Kiwanis
harbingerOTV is offline   Reply With Quote
Old 08-15-2005, 09:44 AM   PM User | #5
mrruben5
Regular Coder

 
Join Date: Nov 2004
Location: The Netherlands
Posts: 551
Thanks: 0
Thanked 0 Times in 0 Posts
mrruben5 is an unknown quantity at this point
Please get off the XML prolog. It throws IE into quirks mode, wich you seriously don't want.
__________________
CATdude about IE6: "All your box-model are belong to us"
mrruben5 is offline   Reply With Quote
Old 08-15-2005, 09:58 AM   PM User | #6
Graft-Creative
Regular Coder

 
Graft-Creative's Avatar
 
Join Date: Aug 2004
Location: Web Designer - North East Lancashire U.K.
Posts: 842
Thanks: 0
Thanked 0 Times in 0 Posts
Graft-Creative will become famous soon enough
xml prologue: Oh yeah, fair point - forgot about that, thanks mate

Gary
__________________
'cna ne1 plz giv cod'
Graft-Creative is offline   Reply With Quote
Old 08-15-2005, 11:18 AM   PM User | #7
theexo51
Regular Coder

 
Join Date: Jul 2005
Location: Guildford, UK
Posts: 109
Thanks: 0
Thanked 0 Times in 0 Posts
theexo51 is an unknown quantity at this point
you missed the =" " from the ofsted link.... A-
theexo51 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:03 PM.


Advertisement
Log in to turn off these ads.