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.RobertJ wrote:.
You should have this and NOTHING MORE.
Too much wasted space between bookmarks on the bar.
- Frank Lion
- Posts: 21178
- Joined: April 23rd, 2004, 6:59 pm
- Location: ... The Exorcist....United Kingdom
- Contact:
Re: Too much wasted space between bookmarks on the bar.
"The only thing necessary for the triumph of evil, is for good men to do nothing." - Edmund Burke (attrib.)
.
.
- RobertJ
- Moderator
- Posts: 10880
- Joined: October 15th, 2003, 7:40 pm
- Location: Chicago IL/Oconomowoc WI
Re: Too much wasted space between bookmarks on the bar.
.
.
Thanks, missed that.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.
.
FF 92.0 - TB 78.13 - Mac OSX 10.13.6
- Frank Lion
- Posts: 21178
- Joined: April 23rd, 2004, 6:59 pm
- Location: ... The Exorcist....United Kingdom
- Contact:
Re: Too much wasted space between bookmarks on the bar.
No problem.RobertJ wrote:Thanks, missed that
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.
"The only thing necessary for the triumph of evil, is for good men to do nothing." - Edmund Burke (attrib.)
.
.
- jscher2000
- Posts: 11772
- Joined: December 19th, 2004, 12:26 am
- Location: Silicon Valley, CA USA
- Contact:
Re: Too much wasted space between bookmarks on the bar.
That is most definitely not what I posted!!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 */
}
When it comes to padding, "Negative values are invalid." https://developer.mozilla.org/docs/Web/CSS/padding
- lovemyfoxy
- Posts: 2337
- Joined: December 11th, 2009, 11:23 am
- Location: USA
Re: Too much wasted space between bookmarks on the bar.
I didn't know that. What should I delete or change?
2 Desktops--Win 7 Ult.SP1 x64/6GB RAM /Firefox 52.9ESR/Waterfox64 2022.11/Thunderbird 52.9ESR/BitWarden PW Manager/Verizon FIOS wired network
- RobertJ
- Moderator
- Posts: 10880
- Joined: October 15th, 2003, 7:40 pm
- Location: Chicago IL/Oconomowoc WI
Re: Too much wasted space between bookmarks on the bar.
.
LoveMyFoxy, you are I assume of the school of why do something simple when you can make it complicated. As noted above this
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.
It works. It is simple. Yet you resist?????????
.
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;
}
These are the results for the folders on the bookmark toolbar, +6px top and -6px bottom.
It works. It is simple. Yet you resist?????????
.
FF 92.0 - TB 78.13 - Mac OSX 10.13.6
- jscher2000
- Posts: 11772
- Joined: December 19th, 2004, 12:26 am
- Location: Silicon Valley, CA USA
- Contact:
Re: Too much wasted space between bookmarks on the bar.
Are you referring to my last post? You can find my original rule suggestions on the first page of this thread: http://forums.mozillazine.org/viewtopic ... #p14816639LoveMyFoxy wrote:I didn't know that. What should I delete or change?
- lovemyfoxy
- Posts: 2337
- Joined: December 11th, 2009, 11:23 am
- Location: USA
Re: Too much wasted space between bookmarks on the bar.
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
You can of course do a different amount of px depending an the length of your bookmark/folder names.Code: Select all
/* THIS REDUCES SPACING [-6px] TO THE ITEMS ON THE BOOKMARK TOOLBAR */ #personal-bookmarks .bookmark-item { margin-left: -6px !important; }
These are the results for the folders on the bookmark toolbar, +6px top and -6px bottom.
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.SP1 x64/6GB RAM /Firefox 52.9ESR/Waterfox64 2022.11/Thunderbird 52.9ESR/BitWarden PW Manager/Verizon FIOS wired network
- Frank Lion
- Posts: 21178
- Joined: April 23rd, 2004, 6:59 pm
- Location: ... The Exorcist....United Kingdom
- Contact:
Re: Too much wasted space between bookmarks on the bar.
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.LoveMyFoxy wrote:I didn't resist, it just didn't move anything. Nor did Jscher's code.
It's no good thanking people for their time, when you have deliberately gone out of your way to waste it.
"The only thing necessary for the triumph of evil, is for good men to do nothing." - Edmund Burke (attrib.)
.
.
- lovemyfoxy
- Posts: 2337
- Joined: December 11th, 2009, 11:23 am
- Location: USA
Re: Too much wasted space between bookmarks on the bar.
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.
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.SP1 x64/6GB RAM /Firefox 52.9ESR/Waterfox64 2022.11/Thunderbird 52.9ESR/BitWarden PW Manager/Verizon FIOS wired network
- Frank Lion
- Posts: 21178
- Joined: April 23rd, 2004, 6:59 pm
- Location: ... The Exorcist....United Kingdom
- Contact:
Re: Too much wasted space between bookmarks on the bar.
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.LoveMyFoxy wrote:This time I copied it exactly as written. It doesn't work for me.
Both sets of code work fine.
"The only thing necessary for the triumph of evil, is for good men to do nothing." - Edmund Burke (attrib.)
.
.
- lovemyfoxy
- Posts: 2337
- Joined: December 11th, 2009, 11:23 am
- Location: USA
Re: Too much wasted space between bookmarks on the bar.
The code has been changed.
2 Desktops--Win 7 Ult.SP1 x64/6GB RAM /Firefox 52.9ESR/Waterfox64 2022.11/Thunderbird 52.9ESR/BitWarden PW Manager/Verizon FIOS wired network
-
- Posts: 182
- Joined: September 9th, 2018, 1:41 pm
Re: Too much wasted space between bookmarks on the bar.
Programmer's notepad http://www.pnotepad.org/ may reveal unmatched braces.
- RobertJ
- Moderator
- Posts: 10880
- Joined: October 15th, 2003, 7:40 pm
- Location: Chicago IL/Oconomowoc WI
Re: Too much wasted space between bookmarks on the bar.
.
I'm done.
.
I'm done.
.
FF 92.0 - TB 78.13 - Mac OSX 10.13.6
- lovemyfoxy
- Posts: 2337
- Joined: December 11th, 2009, 11:23 am
- Location: USA
Re: Too much wasted space between bookmarks on the bar.
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 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.SP1 x64/6GB RAM /Firefox 52.9ESR/Waterfox64 2022.11/Thunderbird 52.9ESR/BitWarden PW Manager/Verizon FIOS wired network