Om de ûnderfining foar jo te ferbetterjen is tydlik de funksjonaliteit dan dizze website troch ûnderhâldswurk beheind. Wannear in artikel jo probleem net oplost en jo in fraach stelle wolle, kin ús stipemienskip jo helpe yn @FirefoxSupport op Twitter en /r/firefox op Reddit.

Sykje yn Support

Mij stipescams. Wy sille jo nea freegje in telefoannûmer te beljen, der in sms nei ta te stjoeren of persoanlike gegevens te dielen. Meld fertochte aktiviteit mei de opsje ‘Misbrûk melde’.

Mear ynfo

Dizze konversaasje is argivearre. Stel in nije fraach as jo help nedich hawwe.

Firefox 3 displayed leading spaces in html text. Firefox 7 collapses adjacent spaces. How can I tell Firefox to display the leading and adjacent spaces?

  • 5 antwurd
  • 1 hat dit probleem
  • 7 werjeftes
  • Lêste antwurd fan gcmozilla

more options

I have my bookmarks defined in an HTML file that is my home page. These bookmarks are categorized. This is how they would display in Firefox 3 ...

Category

    Bookmark 1
    Bookmark 2

This is how they display in Firefox 7 ...

Category Bookmark 1 Bookmark2

How can I make Firefox 7 display the leading spaces?

I have my bookmarks defined in an HTML file that is my home page. These bookmarks are categorized. This is how they would display in Firefox 3 ... Category Bookmark 1 Bookmark 2 This is how they display in Firefox 7 ... Category Bookmark 1 Bookmark2 How can I make Firefox 7 display the leading spaces?

Keazen oplossing

You need to add some CSS code to restore the indention used in previous Firefox version.

Firefox 4 and later treat the DT element differently and that causes a quirk CSS rule (dl > dl) not to get applied.

  • resource://gre-resources/quirk.css line 220

Use this in Firefox 4 and later:

<style>
dl > dt > dl { display: block; -moz-margin-start: 40px; }
</style>
Dit antwurd yn kontekst lêze 👍 0

Alle antwurden (5)

more options

Keazen oplossing

You need to add some CSS code to restore the indention used in previous Firefox version.

Firefox 4 and later treat the DT element differently and that causes a quirk CSS rule (dl > dl) not to get applied.

  • resource://gre-resources/quirk.css line 220

Use this in Firefox 4 and later:

<style>
dl > dt > dl { display: block; -moz-margin-start: 40px; }
</style>
more options

I think this is the kind of solution I need to fix a similar problem. Please see this thread: https://support.mozilla.com/en-US/questions/881454#answer-254986

How do we apply a fix such as that?

more options

Thank you for the help. I should have supplied more information. This file originated with Netscape Navigator years ago. I use Compass Bookmarks to maintain it. I am not an HTML coder. Here is a sample of the code from the file (the file is displayed correctly in IE 9.0 as well as Firefox 3.6.23):


   
<p> <DT><A HREF="http://www.facebook.com" ADD_DATE="1273166709" LAST_VISIT="0" LAST_MODIFIED="0" STATUS="0">Face Book</A> <DT><A HREF="http://www.filesonic.com/" ADD_DATE="1311435120" LAST_VISIT="0" LAST_MODIFIED="0" STATUS="0">Filesonic</A> <DT><A HREF="http://www.google.com" ADD_DATE="1009520078" LAST_VISIT="1018304430" LAST_MODIFIED="1009639774" STATUS="200">Google Search</A> <DT><A HREF="http://www.timeanddate.com/" ADD_DATE="1287429909" LAST_VISIT="0" LAST_MODIFIED="0" STATUS="0">Time and Date</A> <DT><A HREF="http://www.wunderground.com/US/TX/Dallas.html" ADD_DATE="1218534504" LAST_VISIT="0" LAST_MODIFIED="0" STATUS="0">Wunderground Dallas</A> <DT><A HREF="http://www.wunderground.com/maps/" ADD_DATE="1076939653" LAST_VISIT="0" LAST_MODIFIED="0" STATUS="200">Wunderground Weather</A> <DT><A HREF="http://www.youtube.com" ADD_DATE="1246305528" LAST_VISIT="0" LAST_MODIFIED="0" STATUS="0">You Tube Videos</A>
<p>


How would this file be modified? I was hoping to find a setting in Firefox to fix this issue as opposed to modifying the HTML file.

Thank you very much.

more options

Add the code that cor-el posted above the < Title > Bookmarks < /Title > tags. I just tested it on a NETSCAPE-Bookmark-file-1 file and it works.

more options

To the-edmeister and cor-el -- Thank you!