Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Canvas overlay problems, positioning + different screen resolutions #4

Open
tbx opened this issue Jun 6, 2010 · 1 comment
Open

Comments

@tbx
Copy link
Owner

tbx commented Jun 6, 2010

There are several (site-specific) problems with the canvas overlays:

  • Canvas overlay messes up on e.g. the new http://google.com or on http://fffff.at -> ?? just a css fixed position !important fix?
  • Sometimes the drawing is extremely off, like 1000px to the left -> css position fixed !important ?
  • Different Screen resolutions: We need to come up with a "hybrid" solution. Tags can't be stretched, but they should be centered on the webpage (very tricky but interesting problem).
@jamiew
Copy link
Collaborator

jamiew commented Jun 9, 2010

Hmm, horizontal centering seems the best solution to me. For vertical positioning we probably need to store the viewport coordinates, since you can tag a page if you are scrolled down, right? GML has fields for this (LaserTag uses them for scaling)

!important should also work for overriding existing CSS selectors

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants