Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Spacing in FireFox

  • 3 replies
  • 1 has this problem
  • 19 views
  • Last reply by cor-el

more options

Well, I recently noticed it while making a site for one of my clients. You know when you're structuring the front-end output to be more organized and you use tabs to space it on the doc? The problem is that Firefox recognize these structuring tabs as a space which leads to breaking the page and the only way around it is to not structure your front-end output, which then produce a very unorganized code - which ultimately makes it difficult to maintain.

Will this be fix any time in the near future? I know that even if it will be fixed, this will still exist in older versions of Firefox so I still wont be able to structure it the way I need to.

This usually happens for grids and certain elements, in the condition they are positioned inside a container like the below example:

< style >
#wrapper {
 width:1000px;
}

#block-one {
 width:60%;
}

#block-two {
 width:40%;
}
< /style >

< div id="wrapper" >
    < div id="block-one" >< /div >
    < div id="block-two" >< /div >
< /div >

When child elements expected to use the entire space of the parent, the spaces are noticed more and because of those spaces - the child elements breaks as if #block-one is say width 61%, then #block-two (40%) is too big to fit there so it will be displayed below #block-one.

Not sure I explained it in an understandable way but hope you got what I'm trying to say.

Well, I recently noticed it while making a site for one of my clients. You know when you're structuring the front-end output to be more organized and you use tabs to space it on the doc? The problem is that Firefox recognize these structuring tabs as a space which leads to breaking the page and the only way around it is to not structure your front-end output, which then produce a very unorganized code - which ultimately makes it difficult to maintain. Will this be fix any time in the near future? I know that even if it will be fixed, this will still exist in older versions of Firefox so I still wont be able to structure it the way I need to. This usually happens for grids and certain elements, in the condition they are positioned inside a container like the below example: <pre><nowiki> < style > #wrapper { width:1000px; } #block-one { width:60%; } #block-two { width:40%; } < /style > < div id="wrapper" > < div id="block-one" >< /div > < div id="block-two" >< /div > < /div ></nowiki></pre> ---------------------------------------------------------------------------------- When child elements expected to use the entire space of the parent, the spaces are noticed more and because of those spaces - the child elements breaks as if #block-one is say width 61%, then #block-two (40%) is too big to fit there so it will be displayed below #block-one. Not sure I explained it in an understandable way but hope you got what I'm trying to say.

Modified by cor-el

All Replies (3)

more options

You can try to ask advice at the Stack Overflow forum site.

more options

cor-el said

You can try to ask advice at the Stack Overflow forum site.

This is not a help thread, I was just reporting it and asking if anyone else has it too, and also seeing if anyone has a better solution for this than the one I mentioned above, but regardless, I wasn't asking for help or for a solution by posting this, main reason I posted it is to make sure it's known to Mozilla.

Thanks for suggesting though. :)

more options

Mozilla probably won't notice this if you post on this support forum. The people who answer questions on this forum are mostly volunteers that have no connection to Mozilla. It might work if you try the Stack Overflow forum or you could consider to create a bug report if you consider this a bug in Firefox.