Sent by Hacksaw on 20 August 2004 15:03
This must be possible.
I have some icons, with captions. The captions is centered under the icon. The
icons are on a line. They should be inline, and centered, so that if the
window get closed down really small, the icons flow to the next line.
The html is something like this:
<div id="navbar">
<div class="iconbox">
<a href="dest1.html"><img src="some/icon1.png" alt="icon 1" /></a>Icon 1
</div>
<div class="iconbox">
<a href="dest2.html"><img src="some/icon2.png" alt="icon 2" /></a>Icon 2
</div>
<! ... !>
<div class="iconbox">
<a href="destN.html"><img src="some/iconN.png" alt="icon N" /></a>Icon N
</div>
</div>
Setting .navbar to have display: inline doesn't do anything, and setting
..iconbox to display: inline makes the caption go inline with it's icon, which
is wrong.
What's the magic incantation?
--
Sharp tools prevent accidents, and foster intent.
http://www.hacksaw.org -- http://www.privatecircus.com -- KB1FVD
______________________________________________________________________
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/