https://antibiotiqueaugmentin.com/surdosage-augmentin-bebe/
× Welcome to the ToolsJX forum!


Space between filter title and filter input box

  • saabeirik
  • saabeirik's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 11 months ago #2178

Hi!

I can't figure out why the space is so big between the filter title and the input box (Se image).

What is the best way to control this?


Please Log in or Create an account to join the conversation.

More
10 years 11 months ago #2180

Hi,

Apparently your template stretches all tables on 100%. This can be overridden by using another css rule. If you have your website somewhere online, I could inspect it a bit and tell you the exact rule that should stand there.

Anyway, if this is the only grid on this page, you can do something like

#data_listings2_pj_0 table form table {
 width: 300px;
}

But this is just a blind guess. The last number in the selector #data_listings2_pj_0 is the number of the grid displayed on the same page (in the same article) starting with 0. "2_pj" is the html id of your grid. You can of course adjust the width according to your wishes.

The following user(s) said Thank You: saabeirik

Please Log in or Create an account to join the conversation.

  • saabeirik
  • saabeirik's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 11 months ago #2181

Thanks for your time tomaz!
Here's the link to my site with the table
saabarchive.net/index.php/colorsmenu

If you're willing to take a look, that would be great! :-) (the site is still under construction)

Please Log in or Create an account to join the conversation.

More
10 years 11 months ago #2182

If you put this in your css file it should work for the table that appears on that link that you have posted. But as said before the selector #data_listings2_vs_0 depends on a lot of things.

#data_listings2_vs_0 table form table {
 width: 275px;
}

You could also remove
width: 100%;
and maybe
border: 1px solid #e1e1e1;
from line 3 in your styles.css file which will remove the general properties of table being 100% wide and having a border. In this case this will apply to all tables on your page. You would not need to use my first suggestion in this case.

The following user(s) said Thank You: saabeirik

Please Log in or Create an account to join the conversation.

Moderators: tomaz
Time to create page: 0.164 seconds

Contact Us

Contact us on Discord

Contact us on Facebook