S
shapper
Hello,
I am using a JQuery plugin to create tooltips from input titles so it
can be styled using CSS.
IMHO, I think the markup of the tooltip should be something like:
<div class="Tooltip">Please, insert the full name</div>
Or something as follows to allow more styling flexibility:
<div class="Tooltip"><span>Please, insert the full name</span></div>
The plugin in fact does something really different:
<div class="Tooltip">
<h3 class="title">Please, insert the full name</h3>
<div class="body" style="display: none;"/>
<div class="url" style="display: none;"/>
</div>
In this case body and url are not defined.
To me it does not make any sense to have a header on a tooltip.
What do you think?
Thanks,
Miguel
I am using a JQuery plugin to create tooltips from input titles so it
can be styled using CSS.
IMHO, I think the markup of the tooltip should be something like:
<div class="Tooltip">Please, insert the full name</div>
Or something as follows to allow more styling flexibility:
<div class="Tooltip"><span>Please, insert the full name</span></div>
The plugin in fact does something really different:
<div class="Tooltip">
<h3 class="title">Please, insert the full name</h3>
<div class="body" style="display: none;"/>
<div class="url" style="display: none;"/>
</div>
In this case body and url are not defined.
To me it does not make any sense to have a header on a tooltip.
What do you think?
Thanks,
Miguel