Posted by kevstav13 on August 4, 2011 at 10:02pm
3 followers
Jump to:
| Project: | Flag |
| Version: | 6.x-2.x-dev |
| Component: | User interface |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
Is it possible to make the flag link a button?
Comments
#1
A button needs to be placed in a
<form>element in order to be valid HTML, so generally I'd say "no" this isn't really possible. I'd suggest using CSS to just make the link look like a button. With some significant theming you could probably make it a button through some JavaScript, but really CSS is the much easier approach to take here.#2
it's possible also to not use button, but an image as an item of list style, only by CSS, for example:
/*to make Flag as "Add to .." styled as list for image injection*//*START*/
div.node-cv ul.inline
{ list-style-type: none; }
div.node-cv ul.inline li
{ list-style-type: circle;
list-style-image:url("../images/star.png"); }
div.node-cv ul.inline li span.flag-favorites
{ display:list-item;
list-style-position:inherit; }
/*END*/
I use it for D7, I suppose for D6 should be approximately the same.