Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8485543
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T20:40:44+00:00 2026-06-10T20:40:44+00:00

How do you style the whole page background color of your apps script embedded

  • 0

How do you style the whole page background color of your apps script embedded in a Google sites web page. Currently I could use a div like this.

function doGet() {
  return HtmlService.createHtmlOutput('<div style="background-color:#e9eccf"<h1>Hello</h1><p>Test</p></div>');
  }

Any other ways to CSS style the HtmlService output?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T20:40:44+00:00Added an answer on June 10, 2026 at 8:40 pm

    Normally you would do this by applying a style to the <body> element. Unfortunately there is currently a bug in the Caja engine, which HtmlService uses, that prevents it from working. For the time being the best solution is to use a wrapping div that you can style.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

<html> <head> <style type=text/css> body { background-color: #000000; font-family: Arial, Helvetica, sans-serif; font-size: 20px;
I have a style applied to my whole application: AndroidManifest.xml: <application android:theme=@style/ApplicationStyle android:icon=@drawable/icon android:label=@string/app_name>
I'm new to the whole MVC 3 style coding. I'm running into an issue,
I'd like to easily display custom-style popups across the whole application. For that in
Currently I've created a ASP.Net page that has a dropdown control with autopostback set
I'm using the following CSS to display images side by side: #gallery { background-color:
I have long known that you can load style rules into a page dynamically
I'm writing an html page with some jQuery for style. So I have the
I need a div to expand to the whole page width of the HTML
I currently have a div in the bottom right portion of a page, and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.