Skip to Content
Google Apps Hacks
book

Google Apps Hacks

by Philipp Lenssen
April 2008
Intermediate to advanced
384 pages
15h 52m
English
O'Reilly Media, Inc.
Content preview from Google Apps Hacks
103  - ADJUST YOUR GMAIL LAYOUT
HaCK 41:

By adding a user stylesheet to your browser, you can tweak the
design of any web page, including Gmail.com.
The default Gmail layout is already good, but you might want to adjust some details to improve on it.
For instance, you might think the font size of messages is too small to comfortably read. One thing
you can do is press Ctrl-+ (Command-+ on the Macintosh) in your browser (this works in Internet
Explorer 7 or Firefox 2, among others). But, depending on your browser, this technique may also
change other web pages that you read.
Another approach to tweak the Gmail layout is to add a user stylesheet. Stylesheets—or CSS (short
for “cascading style sheets”)—come in two avors: user stylesheets and author stylesheets. An
author stylesheet is created by the webmaster and delivered to you from the server. (In theory, the
webmaster can create several author stylesheets, one for each medium—printed hard copy, mobile
devices, computer screen, and so on.) A user stylesheet, on the other hand, is stored locally on your
computer, and can override the settings of the author stylesheet. Together, the two styles will be
merged into what you will see displayed in the browser.
Let’s use a simple stylesheet that will turn the background of every web page (not just Gmail) gray:
body {
background-color: gray !important;
}
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Google.pedia: The Ultimate Google Resource

Google.pedia: The Ultimate Google Resource

Michael Miller
Web Geek’s Guide to the Android™-Enabled Phone

Web Geek’s Guide to the Android™-Enabled Phone

Jerri Ledford, Bill Zimmerly, Prasanna Amirthalingam
YouTube™ for Dummies®

YouTube™ for Dummies®

Doug Sahlin, Chris Botello

Publisher Resources

ISBN: 9780596515881Catalog PageErrata