I've been looking at view-source:mail.google.com/mail for a while, and can't seem to find GMail's CSS.

Does anyone know where to find it? I'm wondering if all the script in it "obfuscates" where the CSS is.

Just toying with the developer tools, Greasemonkey, GMail themes and such.

migrated from superuser.com Mar 27 '11 at 17:37

This question came from our site for computer enthusiasts and power users.


As it has been already pointed out a couple of times Gmail uses a whole bunch of iframes for its interface. You can use Firebug to view the source code of Gmail, however Gmail is known to crash your browser and slow it to a crawl when inspecting the page with Firebug.

Although not only does Gmail use iframes, but it uses quite a lot of obfuscated (well, heavily compressed) Javascript code which modifies the DOM after the page has loaded, hence why you would not be able to see the proper contents of Gmail when using your browsers standard view source option.

I prefer using Dragonfly in Opera as it tends to be a bit more stable navigating the contents of Gmail, good luck.

  • 1
    thanks. sorry I looked for previous questions on Superuser -- but it was migrated here. – kalaracey Mar 28 '11 at 23:51

You can use Firebug's CSS tab.

Note that the main content is in an <iframe>.

Looking briefly at the page, it appears that the CSS is injected inline into the <iframe>'s content using Javascript.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.