As a precautionary health measure for our Google support specialists in light of COVID-19, some support options may be unavailable or delayed. We apologize for any inconvenience this may cause and appreciate your patience. This message will be updated as the situation changes.

Create a one-pixel border for ads

Publishers often require ads to have a one-pixel contrasting border.

Add a border when publishing the ad

When you publish an ad in Google Web Designer, the publish dialog gives you the option to add a border and pick the border color.

Add a border while building the creative

If you want to build the border into your creative before publishing, you can create a div, give it a border, and make sure it all fits inside the ad.

  1. Select the Element tool from the toolbar and click the Div element icon on the tool options bar. Make sure the Background color is set to No color.
  2. Draw the div as a rectangle from the top left corner (position 0,0), then open the Properties panel and set the width and height to 100% so the div is the same size as the page.
  3. In the Style section of the Properties panel, set the border color so that it contrasts with the ad's background color, and set the border size to 1 pixel.
  4. Open the CSS panel and add the property box-sizing: border-box in order to keep the border inside the div.
Was this helpful?
How can we improve it?

Need more help?

Sign in for additional support options to quickly solve your issue

Clear search
Close search
Google apps
Main menu
Search Help Center