Have a menu bar of link wrapped buttons e.g., link "www.google.com" <| button.... Here is a screen shot of plain old buttons
Here is code for this in action.
What I did & What Actually Happened
Here is the code and resulting output when the buttons are wrapped with a tags. Despite the parent of the link being width fill and all the buttons being width fill, height fill, this scrunching results.
I can see how it would be problematic, from an API design standpoint, to allow an attributes array for link elements. I'm definitely eager to hear a different technique to this achieve the menu bar buttons. I tried using el's instead of buttons, but the scrunching persists.
What I'm trying to do
Have a menu bar of link wrapped buttons e.g.,
link "www.google.com" <| button...
. Here is a screen shot of plain old buttons Here is code for this in action.What I did & What Actually Happened
Here is the code and resulting output when the buttons are wrapped with
a
tags. Despite the parent of thelink
beingwidth fill
and all the buttons beingwidth fill, height fill
, this scrunching results.I can see how it would be problematic, from an API design standpoint, to allow an attributes array for
link
elements. I'm definitely eager to hear a different technique to this achieve the menu bar buttons. I tried usingel
's instead of buttons, but the scrunching persists.Thanks Coury
Versions