An inline-block has auto-width and will stretch to fit the error message. I 
don't see why you need the extra div wrapper. You could also change your 
error message to be inline.

On Friday, March 2, 2012 11:00:11 AM UTC-6, Richard wrote:
>
> Hello,
>
> Could we consider this change :
>
> Wrapping error div inside an other div?
>
> Reason :
>
> Allow auto width of error box base on length of error message.
>
> Try this with chrome dev tool on a triggered validator page :
>
> <div style="block;"> <!-- error box wrapper --> <div class="error" 
> id="myfield__error" style="display: inline-block; ">field can't be 
> empty</div> <!-- change to the actual error box : style="display: 
> inline-block; " --> </div>
>
> I think it will work every where 3cols 2cols and divs... I try it with 3 
> cols and divs.
>
> Thanks
>
> Richard
>

-- 



Reply via email to