Sent by Jukka K. Korpela on 30 January 2005 18:06
On Sun, 30 Jan 2005, OwlService wrote:
> I am getting very very confused (probably on the computer too long). I
> want to create this:
>
> My graphic representation: http://www.nuveautek.com/example.gif
Looks like an image with some text on its right, consisting (probably) of
a paragraph and two very short pieces of text.
> using CSS but I don't know what is the best option: Do I use
> definition lists, unordered lists or just paragraphs?
You should decide on the markup according to the logical structure of the
data, then write CSS for that markup. You probably have something that is
best described as a <p> followed by two <div> elements, but the logical
role of the image cannot be determined.
Depending on the actual details (you have only shown dummy, or lorem
ipsum, content), the best approach might be to put the <img> element
inside the <p> element and assign float: left to the image. This would
basically result in the desired approach.
--
Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/