• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: limit textbox width

limit textbox width 10 years 10 months ago #28006

I have 2 textboxes on my form which I need to control the width of.

athene-host.co.uk/richardtuck/index.php/property-valuation

Both of these textboxes flow into the right hand column where I have placed an image - I'd like to cut off the width just short of the image area - but how do I do this? I'm assuming I'll need to add an element of custom html to the RSForms area - but how/what?!!

Any help gratefully received :-)
The administrator has disabled public write access.

limit textbox width 10 years 10 months ago #28008

  • cosmin.cristea
  • cosmin.cristea's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 756
  • Thank you received: 144
You can achieve this by using the CSS and Javascript section of RSForm!Pro, a simple solution would be to add CSS declarations to the id's #Address and #Message example for your scenario:
#Address, #Message{
width:210px;
}

Further styling explanations can be found in the following article:How to perform layout and style changes.
My help is not official customer support. To receive your support, submit a ticket by clicking here
The administrator has disabled public write access.

limit textbox width 10 years 10 months ago #28010

Thanks

I've added the following to the CSS & Javascript area of RSForms but nothing appears to have changed? Have I done something incorrect - the field's affected are labelled "Address" and "Message" as you correctly pointed out...
<style type="text/css">
#Address, #Message {
width: 210px;
}
</style>
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!