The dl-Tags allowes you to specify what you have in front of a list (not the standart dot).
But when using the dl-Tag the line is always broken.
Any idea to get everything in one line?
example: http://www.panzer-kompanie.de/?seite...eich/main.html
The dl-Tags allowes you to specify what you have in front of a list (not the standart dot).
But when using the dl-Tag the line is always broken.
Any idea to get everything in one line?
example: http://www.panzer-kompanie.de/?seite...eich/main.html
No, a dl element is a definition list; a glossary (usually). The dt elements within it specify terms which are then described by definition description (dd) elements.Originally Posted by raudi
In any case, you can use CSS to specify your own list marker.
Definition lists are block-level elements (like forms, tables, paragraphs, etc.) so line breaks are implied before and after the element.But when using the dl-Tag the line is always broken.
CSS can be used to suggest that the element is rendered as an inline element.Any idea to get everything in one line?
What exactly are you trying to achieve, and why? Please either give a detailed example, or provide some form of illustration. Having myself of others guessing will likely result in sub-optimal solutions.
Mike
i got a solution from elsewhere.
it's this:
dt{
float:left;
}
so here you see it at work: http://www.panzer-kompanie.de/?seite...eich/main.html
Bookmarks