bwh: (Default)
[personal profile] bwh

The front page of www.royalmail.com displays wrongly in Firefox on Linux (though apparently not Windows). Worst of all, it is impossible to focus the input fields near the top of the page by clicking on them. However, I worked out some style rules that will fix it. These have been tested in Firefox 1.5 on Debian etch and Fedora Core 5.

To apply these, you need to copy/add the following text to ~/.mozilla/firefox/profile/chrome/userContent.css and then restart the browser. Perhaps someone who knows about GreaseMonkey can work out a rule for that, which would make it easier to install them.

@-moz-document url-prefix(http://www.royalmail.com) { 
  div.Content-Region {  position: static !important; }
  div.Content-Region div {  position: static !important; }
  div.List-Container { height: auto !important; }
  div.hpBottomWide { clear: left; }
}

WFM

Date: 2006-11-02 11:39 pm (UTC)
From: (Anonymous)
If you're talking about the "Make your selection" and "Search" fields I have no trouble with them on firefox 1.5.0.7 on etch. (updated 20 min ago) and my userContent.css is blank ;)

Cheers,
Marc Fargas.

Re: WFM

Date: 2006-11-03 12:49 am (UTC)
From: (Anonymous)
I mean further down: the Postcode/Address Finder and Track and Trace forms, which are probably the most useful bits of the page, could only be focused by pressing the tab key.

the 'Stylish' extension...

Date: 2006-11-03 12:34 am (UTC)
From: (Anonymous)
...is the one that edits userContent.css. For this one:
Tools > Stylish > For www.royalmail.com ... then paste your code in the dialog that pops up.

I had a look at this from a mac, and they're doing dodgy browser sniffing - seems to think firefox 2 is mac ie 5 - ew. So I might not be getting the same content as you, certainly not the same css; but hpBottomWide isn't used on the page, only in the css?

-Baz

Re: the 'Stylish' extension...

Date: 2006-11-03 12:48 am (UTC)
From: (Anonymous)
I tried setting my User-Agent header to match Firefox 2 on a Mac and still got a page containing a div with class=hpBottomWide. However, I think there was a small difference in spacing at the top of the page.

Added this to userstyles

Date: 2006-11-03 11:03 am (UTC)
From: [identity profile] thumperward.livejournal.com
Thanks. For the record, trunk Solaris builds are affected as well. Cheers!

http://userstyles.org/style/show/1263

- Chris

Date: 2007-02-18 02:10 am (UTC)
From: (Anonymous)
Thanks for this.

February 2011

S M T W T F S
  12345
6789101112
13141516171819
20212223 242526
2728     

Most Popular Tags

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated Aug. 22nd, 2017 04:46 pm
Powered by Dreamwidth Studios