Remove Border on Form Separator

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
chris29
Posts: 173
Joined: Sat Feb 06, 2010 1:45 am
Location: Australia

Remove Border on Form Separator

Post by chris29 »

I am trying to remove borders from the separators on a form.

I have tried to use a custom css style and class option in the separator but this seems to have no effect. Is there an easier way of achieving this with scripts?
Capture.PNG
Capture.PNG (9.57 KiB) Viewed 5216 times
Version 8.5 - Windows using MySql 8 and SQL Server - 64bit
Jaymer
Posts: 2430
Joined: Tue Jan 13, 2015 10:58 am
Location: Tampa, FL
Contact:

Remove Border on Form Separator

Post by Jaymer »

easy.
long ago I created "nosep" CSS.
Just enter "nosep" as the Class and remove your style settings.

Code: Select all

.nosep { border: 0px; 	padding: 0px; 	 }
.nosep .aw-fieldset  {
	margin-top: 0px!important;
    margin-bottom: 0.7em!important;
	border: 0px  !important;}
.nosep .aw-fieldset-legend  {
	margin-bottom: 0em !important;  }
As you have discovered, you MUST use a separator sometimes.
So this removes the line around it, and tightens space.
I see you are actually using text in the Sep, so you might want to add some styling back in or adjust the padding. Just play with it.

--> JaymerTip
Click Here to see a collection of my tips & hacks on this forum. Or search for "JaymerTip" in the search bar at the top.

Jaymer
Aware Programming & Consulting - Tampa FL
chris29
Posts: 173
Joined: Sat Feb 06, 2010 1:45 am
Location: Australia

Re: Remove Border on Form Separator

Post by chris29 »

Thank you for your help, it works great.
Version 8.5 - Windows using MySql 8 and SQL Server - 64bit
gernotlg
Posts: 80
Joined: Fri Aug 27, 2021 1:24 am

Re: Remove Border on Form Separator

Post by gernotlg »

Gold. Thanks Jaymer.
V8.8 / Windows / MySQL
Post Reply