Joystiq has you covered with all things Metal Gear Solid 4!
AOL Tech

Add page numbers and other information to Google Documents

As Google Docs slowly begins to take form as a legitimate office replacement, there are still a few glaring feature absences. One of those is the inability to add custom-formatted page numbers or dates to your documents.

If you don't mind rolling up your sleeves and getting your hands a little dirty, Google Operating System tells us how to add page numbers and other information to your document's header or footer. This involves a little HTML editing, so consider yourself warned.

Note: If you simply want page numbers added to your Google Doc, and you don't need to customize them by adding color, size, or scheme, then you're better off exporting the document as a PDF and selecting the bullet that adds page numbers to your document. In other words, the following method is useful only if you want more customization than Google Docs by default provides.

In order to add a header that displays, for example, "Page (current page number) of (total number of pages)", open your Google Doc, click on "Edit HTML" (right next to the Revisions tab), and add this code at the very beginning of the code:

<div style="text-align: right;" class="google_header">Page <span class="google_pagenumber">1</span> of <span class="google_pagecount">1</span></div>

To add the same information to the footer, add this code to the bottom of the document:

<div style="text-align: right;" class="google_footer" id="google_footer">Page <span class="google_pagenumber">1</span> of <span class="google_pagecount">1</span></div>

Now that the code is in, you can customize it any way you desire.

Related Headlines

Reader Comments (Page 1 of 1)

Download Squad Features


Geeking out on the squadcast. Tune in and then tune out.

View Posts By

  • Windows Only
  • Mac Only
  • Linux Only
Categories
Audio (830)
Beta (325)
Blogging (685)
Browsers (18)
Business (1361)
Design (803)
Developer (925)
E-mail (511)
Finance (127)
Fun (1734)
Games (544)
Internet (4752)
Kids (129)
Office (491)
OS Updates (574)
P2P (175)
Photo (457)
Podcasting (167)
Productivity (1298)
Search (245)
Security (532)
Social Software (1083)
Text (436)
Troubleshooting (51)
Utilities (1899)
Video (1009)
VoIP (138)
web 2.0 (728)
Web services (3310)
Companies
Adobe (182)
AOL (48)
Apache Foundation (1)
Apple (466)
Canonical (35)
Google (1296)
IBM (28)
Microsoft (1304)
Mozilla (455)
Novell (19)
OpenOffice.org (43)
PalmSource (11)
Red Hat (17)
Symantec (14)
Yahoo! (350)
License
Commercial (667)
Shareware (194)
Freeware (1944)
Open Source (895)
Misc
Podcasts (13)
Features (380)
Hardware (167)
News (1107)
Holiday Gift Guide (15)
Platforms
Windows (3572)
Windows Mobile (421)
BlackBerry (44)
Macintosh (2047)
iPhone (82)
Linux (1569)
Unix (78)
Palm (176)
Symbian (121)
Columns
Ask DLS (10)
Analysis (24)
Browser Tips (293)
DLS Podcast (5)
Googleholic (195)
How-Tos (97)
DLS Interviews (19)
Design Tips (14)
Mobile Minute (125)
Mods (68)
Time-Wasters (374)
Weekend Review (38)
Imaging Tips (32)

RESOURCES

RSS NEWSFEEDS

Powered by Blogsmith

Sponsored Links

Advertise with Download Squad

Most Commented On (60 days)

Recent Comments

Urlesque Headlines

BloggingStocks Tech Coverage

More from AOL Money and Finance

More Tech Coverage

Weblogs, Inc. Network

Other Weblogs Inc. Network blogs you might be interested in: