joomlavideotuts
04 Nov 2009, 06:27 PM
I would like to create a menu like the Joomla default menu in rhuk_milkyway.
The way this menu is set up, the two "endcaps" of the menu move out as the width of the menu content increases. This is done with the tables that Joomla generates through the menu manager. I understand that concept and how the table can grow.
My question is: can this be done with CSS and DIVs instead? I always thought you had to specify a width in a div otherwise it would expand the entire width of it's containing div.
I know I can create nested divs that hold the "endcaps" and ultimately the menu contents, but again, the div would expand without a width declaration.
Thanks!
The way this menu is set up, the two "endcaps" of the menu move out as the width of the menu content increases. This is done with the tables that Joomla generates through the menu manager. I understand that concept and how the table can grow.
My question is: can this be done with CSS and DIVs instead? I always thought you had to specify a width in a div otherwise it would expand the entire width of it's containing div.
I know I can create nested divs that hold the "endcaps" and ultimately the menu contents, but again, the div would expand without a width declaration.
Thanks!