Henri
Henri

Reputation: 5113

Overlaying with CSS

I want to load a website in an iframe, and overlay the website with some hints about the website that is shown. However, i got stuck at the point that the website has a variable passive white space at the left and right site (just like in stackoverflow).

This means that i cannot position the overlays absolute or relative to the div the iframe is located in.

How can i make sure that the overlays are on the same places across browsers and across different screen resolutions?

Nobody has an answer? Or is my question not clear?

Upvotes: 0

Views: 89

Answers (2)

erenon
erenon

Reputation: 19118

CSS:

body{ 
   padding: 0;
   margin: 0;
}

Upvotes: 1

BalusC
BalusC

Reputation: 1108752

Position it to the <body>.

Upvotes: 0

Related Questions