NetTalk Central

Author Topic: Room between parent and child browse  (Read 2561 times)

Rene Simons

  • Hero Member
  • *****
  • Posts: 649
    • View Profile
Room between parent and child browse
« on: April 09, 2018, 11:05:35 PM »
HI,

Is it possible to increase the space between a parent and child browse when they are placed next to eachother?
They seem a little bit crammed together.
I recall them being further apart in the past, or am I wrong here?

Cheers,
Rene
Rene Simons
NT14.14

bshields

  • Sr. Member
  • ****
  • Posts: 392
    • View Profile
    • Inhabit
    • Email
Re: Room between parent and child browse
« Reply #1 on: April 10, 2018, 05:21:27 AM »
Hi Rene,

I'll try and answer this off the top of my head.

Yes. Add a style to the right side child browse. Like in the picture.

If you don't already have a custom css file add one like in the pic. If you do add this css line to it, otherwise add this line into your new file.

.left-pad-20 {padding-left:20px;}

This is quick and crude as i'm in the middle of something so i cannot test it to check that i haven't made a silly mistake, but that is the idea.

Don't forget css is case sensitive and you browser will cache it which means if you make changes and they aren't working, good change its cached. Thats why I have move2.css?v=2.02 in my css file. If i edit the v=2.02 and change it to v=2.03 it has no effect on the file but tricks the browser into not using the cached version.

Regards
Bill

Rene Simons

  • Hero Member
  • *****
  • Posts: 649
    • View Profile
Re: Room between parent and child browse
« Reply #2 on: April 11, 2018, 02:25:43 AM »
OK I'll do that.
Thanks
Rene Simons
NT14.14

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11158
    • View Profile
Re: Room between parent and child browse
« Reply #3 on: April 12, 2018, 11:32:12 PM »
I thnk bill is on the right track,
although personally I might try with margin instead of padding.

.left-margin-20 {margin-left:20px;}

and I might be inclined to make it a right-margin of the parent, rather than the left margin of the child. But there's a fair amount of personal preference in this, and no "right" way.

cheers
Bruce


Rene Simons

  • Hero Member
  • *****
  • Posts: 649
    • View Profile
Re: Room between parent and child browse
« Reply #4 on: April 14, 2018, 01:00:15 AM »
Bruce,

I guess that your prefence to the right side of the parent is to prevent the child browse, when it is used on its own, being moved to the right, which might look "odd", right?

Rene
Rene Simons
NT14.14

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11158
    • View Profile
Re: Room between parent and child browse
« Reply #5 on: April 16, 2018, 12:18:54 AM »
yes.