/    Sign up×
Community /Pin to ProfileBookmark

Hello,
I wish to have a marker on my application to assist in targeting a screen capture.
The idea is to place a 1×1 span or div in the corners but these codes always produce something 1wX2h.

<span id=”mark1″ style=”position:absolute;top:-1;left:0;width:1px;height:1px;z-index:30;background:#ff0000;font-size:1px”></span>
<span id=”mark2″ style=”font-size:1px;background:#FF0000;position:absolute;top:’+(cropH-1)+’;left:’+(cropW-1)+’;z-index:30;height:1px;width:1px;”></span>

What can be done to get a true 1×1 marker? and, I can’t use an image because that would mean I’d have to completely rewrite a lot of script.

to post a comment
HTML

1 Comments(s)

Copy linkTweet thisAlerts:
@justinbarneskinauthorDec 09.2007 — Ok forget it, I got it solved.

overflow:hidden
×

Success!

Help @justinbarneskin spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.13,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...