# Mac Firefox renders localhost rails pages smaller then safari or other browser

**URL:** <https://www.ruby-forum.com/t/mac-firefox-renders-localhost-rails-pages-smaller-then-safari-or-other-browser/206481>\
**Category:** Rails\
**Created:** [May 2, 2011, 8:15pm UTC](https://www.ruby-forum.com/t/mac-firefox-renders-localhost-rails-pages-smaller-then-safari-or-other-browser/206481 "2011-05-02T20:15:12Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![luislavena](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/0ea827/32.png) [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Post date:** [May 2, 2011, 8:15pm UTC](https://www.ruby-forum.com/t/mac-firefox-renders-localhost-rails-pages-smaller-then-safari-or-other-browser/206481/1 "2011-05-02T20:15:12Z")

</div>

Hi there,

I’m using mac with snow leopard and ruby on rails in different version.

Every html-page from the internet is dispalyed on safari or firefox (4)  
in the same way/size.

But my problem is, that only the pages from my rails projects (with  
mogrel) are rendered on firefox about 15% smaller than in my stylsheets  
defined.

If I’m using Safari on Mac or Firefox and IE8 with windows,everything is  
rendered like defined.

Have anybody an Idea why?

Thanks ahead for every suggestion.

Regs

Hermann

---

<div class="post-metadata">

**Author:** ![pink-ink](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/9dc877/32.png) [@pink-ink](https://www.ruby-forum.com/u/pink-ink)\
**Post date:** [May 2, 2011, 9:35pm UTC](https://www.ruby-forum.com/t/mac-firefox-renders-localhost-rails-pages-smaller-then-safari-or-other-browser/206481/2 "2011-05-02T21:35:15Z")

</div>

did you ever press option-minus or option+plus for change the sizes in  
firefox? because firefox remembers this… just a guess

---

<div class="post-metadata">

**Author:** ![pink-ink](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/9dc877/32.png) [@pink-ink](https://www.ruby-forum.com/u/pink-ink)\
**Post date:** [May 3, 2011, 8:41am UTC](https://www.ruby-forum.com/t/mac-firefox-renders-localhost-rails-pages-smaller-then-safari-or-other-browser/206481/3 "2011-05-03T08:41:04Z")

</div>

On 2 May 2011 19:15, Herman Müller [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Hi there,
> 
> I’m using mac with snow leopard and ruby on rails in different version.
> 
> Every html-page from the internet is dispalyed on safari or firefox (4)  
> in the same way/size.
> 
> But my problem is, that only the pages from my rails projects (with  
> mogrel) are rendered on firefox about 15% smaller than in my stylsheets  
> defined.

Whenever a page renders differently on different browsers the first  
thing to do is to check the source for html validity. View the page  
in the browser then view the source (View \> Page Source or similar)  
copy the complete html text and paste it into the w3c html validator.  
It may not be the problem but is always worth doing first.

Colin

---

<div class="post-metadata">

**Author:** ![pink-ink](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/9dc877/32.png) [@pink-ink](https://www.ruby-forum.com/u/pink-ink)\
**Post date:** [May 3, 2011, 6:33pm UTC](https://www.ruby-forum.com/t/mac-firefox-renders-localhost-rails-pages-smaller-then-safari-or-other-browser/206481/4 "2011-05-03T18:33:38Z")

</div>

Hi Thomas,

unbelievable, that’s it!!!

Thank you very much!!

I musst be more than one year ago when I pressed cmd+.

Regs

Hermann

Thomas M. wrote in post #996272:

> did you ever press option-minus or option+plus for change the sizes in  
> firefox? because firefox remembers this… just a guess

---

<div class="post-metadata">

**Author:** ![pink-ink](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/9dc877/32.png) [@pink-ink](https://www.ruby-forum.com/u/pink-ink)\
**Post date:** [May 3, 2011, 7:12pm UTC](https://www.ruby-forum.com/t/mac-firefox-renders-localhost-rails-pages-smaller-then-safari-or-other-browser/206481/5 "2011-05-03T19:12:06Z")

</div>

On May 3, 2011, at 12:40 PM, Colin L. wrote:

> Strange, almost unbelievable in fact.
> 
> Colin

If they all had the same address – localhost:3000 – then that’s not  
_too_ surprising.

Walter

---

<div class="post-metadata">

**Author:** ![pink-ink](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/9dc877/32.png) [@pink-ink](https://www.ruby-forum.com/u/pink-ink)\
**Post date:** [May 3, 2011, 7:10pm UTC](https://www.ruby-forum.com/t/mac-firefox-renders-localhost-rails-pages-smaller-then-safari-or-other-browser/206481/6 "2011-05-03T19:10:51Z")

</div>

On 3 May 2011 17:33, Herman Müller [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Hi Thomas,
> 
> unbelievable, that’s it!!!
> 
> Thank you very much!!
> 
> I musst be more than one year ago when I pressed cmd+.

So that only affected your rails apps and not other websites?  
Strange, almost unbelievable in fact.

Colin

---

<div class="post-metadata">

**Author:** ![pink-ink](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/9dc877/32.png) [@pink-ink](https://www.ruby-forum.com/u/pink-ink)\
**Post date:** [May 3, 2011, 9:50pm UTC](https://www.ruby-forum.com/t/mac-firefox-renders-localhost-rails-pages-smaller-then-safari-or-other-browser/206481/7 "2011-05-03T21:50:36Z")

</div>

On 3 May 2011 17:58, Walter D. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > > I musst be more than one year ago when I pressed cmd+.
> > 
> > So that only affected your rails apps and not other websites?  
> > Strange, almost unbelievable in fact.
> > 
> > Colin
> 
> If they all had the same address – localhost:3000 – then that’s not _too_  
> surprising.

Apologies, I had missed the fact that FF remembers the setting on a  
site by site basis. In which case, with some embarrassment, I  
unreservedly withdraw my disbelief.

Colin

---

<div class="post-metadata">

**Author:** ![pink-ink](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/9dc877/32.png) [@pink-ink](https://www.ruby-forum.com/u/pink-ink)\
**Post date:** [May 4, 2011, 6:12am UTC](https://www.ruby-forum.com/t/mac-firefox-renders-localhost-rails-pages-smaller-then-safari-or-other-browser/206481/8 "2011-05-04T06:12:55Z")

</div>

if you need to reset it you can simply use cmd-0 to reset to default.

They are all together 0 - + right next to each other.

I’m on ff4 and it looks like they implemented = so there is no need to  
shift for + and here it’s control ( 0, -, +/= ) to control the  
browser’s text accessibility option.

~
