Try a definition list.
dl
dtimg //dt
ddaddress 1/dd
ddPhone number/dd
...
/dl
Float the dt to the left and clear:
dt {float:left; clear:left}
That should sort it semantically.
mike 2k:)2
marqueeblink
e-mail: [EMAIL PROTECTED]
site: http://www.webSemantics.co.uk
Sorry Patrick,
Yes I was stating the image is a data object which comprised of many individual
characteristics (data definitions), sorta XML stylie.
I was also suggesting that Phone number was not necessarily attached to the address,
but definitely attached to the image.
dl
dtimg ...
From: Mike Foskett
Sorry Patrick,
Yes I was stating the image is a data object which comprised
of many individual characteristics (data definitions), sorta
XML stylie.
I was also suggesting that Phone number was not necessarily
attached to the address, but definitely attached to the
Hi,
Semantical question. I have a list of sportscenters I need to display.
I used to do this in a table layout. but how do I do this in
semantically correct CSS/XHTML ?
-
| pic1 | address1 |
-
| pic2 | address2 |
.
.
.
| pic x | addressx
There's probably no *one* really correct way of doing this, but off
the top of my head, two ideas would be:
1) make it an unordered list with addresses, and use CSS to leave enough
padding on the left and stick the image in there as a background
2) use a definition list, with the image as DT
I would do the following - http://trov.ath.cx/comm/~test/WSG/sportscenters.html
The reason for the hard line breaks in the address is because it is
part of the content, so when styles are removed, it still has the
appropriate structure.
**
The
Trovster wrote:
I would do the following - http://trov.ath.cx/comm/~test/WSG/sportscenters.html
My option nr 2) then ;-)
Agree, the line breaks in this case can be argued as being part of the
content (as we still don't have anything like the line element in xhtml2)
Patrick H. Lauke
Yes, your option, just marked-up completely and hopefully correctly!
On Thu, 28 Oct 2004 02:03:23 +0100, Patrick H. Lauke
[EMAIL PROTECTED] wrote:
Trovster wrote:
I would do the following - http://trov.ath.cx/comm/~test/WSG/sportscenters.html
My option nr 2) then ;-)
Agree, the line