Skip to content
This repository has been archived by the owner on Jan 8, 2019. It is now read-only.

Commit

Permalink
add note about top-border
Browse files Browse the repository at this point in the history
  • Loading branch information
sgarrity committed Jan 19, 2012
1 parent 3a15850 commit fd9d708
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ As the universal tab does inject HTML/CSS into the DOM, some there are some requ

1. Background images must not be attached to the ```<body>``` element.
2. Absolutely positioned elements must not be positioned relative to the ```<body>``` element.
3. An element other than the ```<body>``` should add a 2 pixel white border to the top of the page (```border-top: 2px solid #fff;```)

Any background image or absolutely positioned element attached to the ```body``` element would not move with the rest of the contents when the tab slides open. Instead, any such background or element should be attached to anoter HTML element in the page (a wrapper div, for example). Note that this issue does not apply to solid background colors, or backgrounds that do not vary vertically (solid vertical stripes, for example).

Expand Down

0 comments on commit fd9d708

Please sign in to comment.