MozillaZine

Too much wasted space between bookmarks on the bar.

User Help for Mozilla Firefox
Frank Lion

User avatar
 
Posts: 20102
Joined: April 23rd, 2004, 6:59 pm
Location: ... The Exorcist....United Kingdom

Post Posted November 30th, 2018, 1:48 pm

RobertJ wrote:.
You should have this and NOTHING MORE.

The bookmark code is fine. The problem is caused by a double trailing brace on the line above the red part. i.e. the existing code was faulty.
Metal Lion latest SeaMonkey & Thunderbird Themes - Sea Monkey and Silver Sea Monkey
"The only thing necessary for the triumph of evil, is for good men to do nothing." - Edmund Burke (attrib.)

RobertJ
Moderator

User avatar
 
Posts: 10714
Joined: October 15th, 2003, 7:40 pm
Location: Chicago IL/Oconomowoc WI

Post Posted November 30th, 2018, 2:09 pm

.
Frank Lion wrote: The problem is caused by a double trailing brace on the line above the red part. i.e. the existing code was faulty.


Thanks, missed that.

.
FF 64.0- FF 64b13 - FF 65a - TB 60.3.1 - Mac OSX 10.13.6
Computers I've used: IBM 7094/UNIVAC 1108/IBM 360/DEC PDP11/DEC VAX-11 780/DEC VAXstation 8000/Sun SPARCstation 2/Mac from 1984 to 2018

Frank Lion

User avatar
 
Posts: 20102
Joined: April 23rd, 2004, 6:59 pm
Location: ... The Exorcist....United Kingdom

Post Posted November 30th, 2018, 2:35 pm

RobertJ wrote:Thanks, missed that

No problem.

The trick with syntax errors in long code is to remember that the code above the error will (very often) still work and will break immediately below it. Saves you having to read the dross line by line - you just check immediately below the last working section of code.
Metal Lion latest SeaMonkey & Thunderbird Themes - Sea Monkey and Silver Sea Monkey
"The only thing necessary for the triumph of evil, is for good men to do nothing." - Edmund Burke (attrib.)

jscher2000

User avatar
 
Posts: 10361
Joined: December 19th, 2004, 12:26 am
Location: Silicon Valley, CA USA

Post Posted November 30th, 2018, 5:06 pm

LoveMyFoxy wrote:Jscher's didn't work either. I wrote this. Did I do something wrong?

/* 11-28-2018 THIS makes less SPACING between ITEMS ON THE BOOKMARK TOOLBAR */

#PlacesToolbarItems toolbarbutton.bookmark-item {
padding-left: -4px !important; /* default is 4px */
padding-right: -4px !important; /* default is 4px */
}
#PlacesToolbarItems .toolbarbutton-icon {
margin-right: -4px !important; /* default is 4px */
}

That is most definitely not what I posted!!

When it comes to padding, "Negative values are invalid." https://developer.mozilla.org/docs/Web/CSS/padding

LoveMyFoxy

User avatar
 
Posts: 2169
Joined: December 11th, 2009, 11:23 am
Location: USA

Post Posted November 30th, 2018, 11:14 pm

I didn't know that. What should I delete or change?
2 Desktops--Win 7 Ult. 64-bit, 6GB RAM /FF 52ESR 64/ Thunderbird 52 / MS Sec. Essent./ Windows firewall / Verizon FIOS wired network

RobertJ
Moderator

User avatar
 
Posts: 10714
Joined: October 15th, 2003, 7:40 pm
Location: Chicago IL/Oconomowoc WI

Post Posted December 1st, 2018, 7:43 am

.
LoveMyFoxy, you are I assume of the school of why do something simple when you can make it complicated. As noted above this

Code: Select all
/* THIS REDUCES SPACING  [-6px] TO THE ITEMS ON THE BOOKMARK TOOLBAR */
 
#personal-bookmarks .bookmark-item {
      margin-left: -6px !important;
}


You can of course do a different amount of px depending an the length of your bookmark/folder names.
These are the results for the folders on the bookmark toolbar, +6px top and -6px bottom.

Image

It works. It is simple. Yet you resist?????????

.
FF 64.0- FF 64b13 - FF 65a - TB 60.3.1 - Mac OSX 10.13.6
Computers I've used: IBM 7094/UNIVAC 1108/IBM 360/DEC PDP11/DEC VAX-11 780/DEC VAXstation 8000/Sun SPARCstation 2/Mac from 1984 to 2018

jscher2000

User avatar
 
Posts: 10361
Joined: December 19th, 2004, 12:26 am
Location: Silicon Valley, CA USA

Post Posted December 1st, 2018, 11:35 am

LoveMyFoxy wrote:I didn't know that. What should I delete or change?

Are you referring to my last post? You can find my original rule suggestions on the first page of this thread: viewtopic.php?p=14816639#p14816639

LoveMyFoxy

User avatar
 
Posts: 2169
Joined: December 11th, 2009, 11:23 am
Location: USA

Post Posted December 2nd, 2018, 1:22 am

RobertJ wrote:.
LoveMyFoxy, you are I assume of the school of why do something simple when you can make it complicated. As noted above this

Code: Select all
/* THIS REDUCES SPACING  [-6px] TO THE ITEMS ON THE BOOKMARK TOOLBAR */
 
#personal-bookmarks .bookmark-item {
      margin-left: -6px !important;
}


You can of course do a different amount of px depending an the length of your bookmark/folder names.
These are the results for the folders on the bookmark toolbar, +6px top and -6px bottom.

Image

It works. It is simple. Yet you resist?????????

.



I didn't resist, it just didn't move anything. Nor did Jscher's code. I took screenshots before and after. Thanks for your time.
2 Desktops--Win 7 Ult. 64-bit, 6GB RAM /FF 52ESR 64/ Thunderbird 52 / MS Sec. Essent./ Windows firewall / Verizon FIOS wired network

Frank Lion

User avatar
 
Posts: 20102
Joined: April 23rd, 2004, 6:59 pm
Location: ... The Exorcist....United Kingdom

Post Posted December 2nd, 2018, 2:19 am

LoveMyFoxy wrote:I didn't resist, it just didn't move anything. Nor did Jscher's code.

That's a somewhat dishonest version of what actually happened, isn't it? You actually incorrectly altered both sets of code yourself and that is the real reason it didn't move anything.

It's no good thanking people for their time, when you have deliberately gone out of your way to waste it.
Metal Lion latest SeaMonkey & Thunderbird Themes - Sea Monkey and Silver Sea Monkey
"The only thing necessary for the triumph of evil, is for good men to do nothing." - Edmund Burke (attrib.)

LoveMyFoxy

User avatar
 
Posts: 2169
Joined: December 11th, 2009, 11:23 am
Location: USA

Post Posted December 2nd, 2018, 2:58 am

This time I copied it exactly as written. It doesn't work for me. I'm thanking him because I have no more time for it.

It happens. I have a rare FlashPlayer disease that no one on the Flash forum can cure, although it's been viewed 117 times.
Last edited by LoveMyFoxy on December 2nd, 2018, 3:24 am, edited 1 time in total.
2 Desktops--Win 7 Ult. 64-bit, 6GB RAM /FF 52ESR 64/ Thunderbird 52 / MS Sec. Essent./ Windows firewall / Verizon FIOS wired network

Frank Lion

User avatar
 
Posts: 20102
Joined: April 23rd, 2004, 6:59 pm
Location: ... The Exorcist....United Kingdom

Post Posted December 2nd, 2018, 3:21 am

LoveMyFoxy wrote:This time I copied it exactly as written. It doesn't work for me.

You can copy it as much as you like, but until you change your existing faulty code, as mentioned above, it's not going to work.

Both sets of code work fine.
Metal Lion latest SeaMonkey & Thunderbird Themes - Sea Monkey and Silver Sea Monkey
"The only thing necessary for the triumph of evil, is for good men to do nothing." - Edmund Burke (attrib.)

LoveMyFoxy

User avatar
 
Posts: 2169
Joined: December 11th, 2009, 11:23 am
Location: USA

Post Posted December 2nd, 2018, 3:25 am

The code has been changed.
2 Desktops--Win 7 Ult. 64-bit, 6GB RAM /FF 52ESR 64/ Thunderbird 52 / MS Sec. Essent./ Windows firewall / Verizon FIOS wired network

lasardo
 
Posts: 156
Joined: September 9th, 2018, 1:41 pm

Post Posted December 2nd, 2018, 8:49 am

Programmer's notepad http://www.pnotepad.org/ may reveal unmatched braces.

RobertJ
Moderator

User avatar
 
Posts: 10714
Joined: October 15th, 2003, 7:40 pm
Location: Chicago IL/Oconomowoc WI

Post Posted December 2nd, 2018, 9:41 am

.
I'm done. ](*,) ](*,) ](*,)

.
FF 64.0- FF 64b13 - FF 65a - TB 60.3.1 - Mac OSX 10.13.6
Computers I've used: IBM 7094/UNIVAC 1108/IBM 360/DEC PDP11/DEC VAX-11 780/DEC VAXstation 8000/Sun SPARCstation 2/Mac from 1984 to 2018

LoveMyFoxy

User avatar
 
Posts: 2169
Joined: December 11th, 2009, 11:23 am
Location: USA

Post Posted December 3rd, 2018, 5:21 pm

Do you think I came just to troll, after being here so many years?

2 partial screenshots of last 3 folders in 2nd row, one before applying code, one after.
https://postimg.cc/TKyRhvJw
https://postimg.cc/7GZtYwSt
2 Desktops--Win 7 Ult. 64-bit, 6GB RAM /FF 52ESR 64/ Thunderbird 52 / MS Sec. Essent./ Windows firewall / Verizon FIOS wired network

Return to Firefox Support


Who is online

Users browsing this forum: No registered users and 16 guests