I am trying to make a navbar that uses images as the links, with one larger image in the center. my problem it that i want the buttons to be a dynamic distance from each other, from the center. they are displaying a certain distance from each other across the whole width of the bar. I would also like the center image to display as taller than the buttons.
I didn’t know about that until now. I think it’s actually useful, as there was no way of “grouping” <dd>s with associated <dt> which made custom styling of <dl>s difficult.
Presumably the intent is for the <div> to contain <dt>s and <dd>s, otherwise it is stupid and open to abuse.
Yes that’s interesting and allows for proper grouping of dt and dd elements when you have multiple sets in the dl list. Previously it was awkward (if not impossible) to achieve certain layouts without starting a new dl for each pair of dt and dd.
I saw that one. Don’t think I approve. It seems sloppy/hacky to me, like disjointed bits of code thrown in as an after thought, scattered about the page.
Plenty have been doing it for a while regardless, but I don’t see the need or benefit.
this worked out perfectly, thank you. Thanks as well for correcting my mistake with the image being outside of the list tags. One more thing to know to avoid in the future!