* * *

Author Topic: About forum suggestions  (Read 12201 times)

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 4280
    • wiki
Re: About forum suggestions
« Reply #30 on: October 27, 2015, 11:15:54 pm »
You should set padding-left: 3em on the ol, or so. At least for Firefox

edit: or use a table instead li. Then there probably won't be empty lines on copying
There is an option for using a table (global setting, not per user. I tried it. I dont remember what went wrong. But results were worse.
Left padding with 3 em, will waste a lot of space to fix a broken browser.

Out of all the settings, the current were the best compromise for firefox, chrome, and IE.
Actually I found a small tweak.
* IE messes up either way, no line breaks in copy, but line numbers included.
* Opera puts extra empty lines into copied source
* firefox, chrome, Safari all worked fine for me.


shobits1

  • Sr. Member
  • ****
  • Posts: 275
  • .
Re: About forum suggestions
« Reply #31 on: October 27, 2015, 11:56:32 pm »
Did you test it with the "zoom text only" option enabled?

nope the `zoom text only` was unchecked.

BeniBela

  • Hero Member
  • *****
  • Posts: 555
    • homepage
Re: About forum suggestions
« Reply #32 on: October 28, 2015, 01:06:45 am »

Left padding with 3 em, will waste a lot of space to fix a broken browser.


It should not change anything, if the line number are already visibile

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 4280
    • wiki
Re: About forum suggestions
« Reply #33 on: October 28, 2015, 01:33:43 am »
Left padding with 3 em, will waste a lot of space to fix a broken browser.
It should not change anything, if the line number are already visibile

Edit the page in your browsers "inspect" mode. I tested in firefox and it added a huge white margin, reducing the space available for the code.

I zoomed in Chrome, Firefox, Opera, Safari, and IE and all of them kept the full number visible.

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus