View Full Version : Additional html attributes on elements
rosemeyer2
11-16-2008, 11:16 AM
Hi,
is it possible to add some extra html to an element? I want to add style="width: 200px;" just to one element and not to the whole css class.
Thanks and regards,
Rudolf
cheesegrits
11-16-2008, 07:01 PM
Sure, just add an id rather than a class to your css ...
#element_id {
your_style: foo;
}
Obviously just look at the source of your form to get the exact element id (usually 'table_name___element_name'.
-- hugh
cheesegrits
11-16-2008, 07:02 PM
OBTW, remember to clone the template to a custom one (just copy and rename the template folder) before editing it, otherwise you'll blow away your changes next time you update.
-- hugh
rosemeyer2
11-17-2008, 07:25 PM
Thanks, this works for me.
vBulletin® v3.8.6, Copyright ©2000-2010, Jelsoft Enterprises Ltd.