HighDots Forums  

Browser mouse pointer location?

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Browser mouse pointer location? in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Steve Swift
 
Posts: n/a

Default Browser mouse pointer location? - 10-17-2007 , 02:23 AM






Do any of the main browsers have a mechanism for displaying the absolute
pixel location of the mouse pointer within their display area?

I recall such a mechanism in VisProRexx (an OS/2 REXX GUI application
builder from long ago) and now that I'm tinkering with CSS I'm starting
to wonder about things like "Is that DIV one pixel offset or is it my
eyes?".

I can manage vertical/horizontal alignment by switching to the
cross-hair cursor temporarily, but even that is a little cumbersome.

--
Steve Swift
http://www.swiftys.org.uk/swifty.html
http://www.ringers.org.uk

Reply With Quote
  #2  
Old   
dorayme
 
Posts: n/a

Default Re: Browser mouse pointer location? - 10-17-2007 , 03:29 AM






In article <47170697$1 (AT) news (DOT) greennet.net>,
Steve Swift <Steve.J.Swift (AT) gmail (DOT) com> wrote:

Quote:
Do any of the main browsers have a mechanism for displaying the absolute
pixel location of the mouse pointer within their display area?

I recall such a mechanism in VisProRexx (an OS/2 REXX GUI application
builder from long ago) and now that I'm tinkering with CSS I'm starting
to wonder about things like "Is that DIV one pixel offset or is it my
eyes?".

I can manage vertical/horizontal alignment by switching to the
cross-hair cursor temporarily, but even that is a little cumbersome.
This is absolutely classical! May I use it in a little hobby
project of mine to show the wrong tendency to be concerned with
pixel perfection in web design?

--
dorayme


Reply With Quote
  #3  
Old   
Rik Wasmus
 
Posts: n/a

Default Re: Browser mouse pointer location? - 10-17-2007 , 03:34 AM



On Wed, 17 Oct 2007 10:29:33 +0200, dorayme
<doraymeRidThis (AT) optusnet (DOT) com.au> wrote:

Quote:
In article <47170697$1 (AT) news (DOT) greennet.net>,
Steve Swift <Steve.J.Swift (AT) gmail (DOT) com> wrote:

Do any of the main browsers have a mechanism for displaying the absolute
pixel location of the mouse pointer within their display area?

I recall such a mechanism in VisProRexx (an OS/2 REXX GUI application
builder from long ago) and now that I'm tinkering with CSS I'm starting
to wonder about things like "Is that DIV one pixel offset or is it my
eyes?".

I can manage vertical/horizontal alignment by switching to the
cross-hair cursor temporarily, but even that is a little cumbersome.

This is absolutely classical! May I use it in a little hobby
project of mine to show the wrong tendency to be concerned with
pixel perfection in web design?
Well, on sufficient resolutions bugs like the MSIE 3px bug are sometimes
hard to notice, and especially when it's a result of a float left of it,
one might very well think the mind plays tricks on them...

Pixel perfect should not be needed, but lining things out either
horizontally/vertically should be possible.
--
Rik Wasmus


Reply With Quote
  #4  
Old   
Jon Fairbairn
 
Posts: n/a

Default Re: Browser mouse pointer location? - 10-17-2007 , 04:41 AM



"Rik Wasmus" <luiheidsgoeroe (AT) hotmail (DOT) com> writes:

Quote:
In article <47170697$1 (AT) news (DOT) greennet.net>,
Steve Swift <Steve.J.Swift (AT) gmail (DOT) com> wrote:

Do any of the main browsers have a mechanism for displaying the absolute
pixel location of the mouse pointer within their display area?
Pixel perfect should not be needed, but lining things out
either horizontally/vertically should be possible.
For this, use firefox + webdeveloper and
WebDeveloper=>Miscellaneous=>Display Line Guides

You can drag the line guides around, and as you do, you get
a box giving the pixel position of the guide.

--
Jón Fairbairn Jon.Fairbairn (AT) cl (DOT) cam.ac.uk


Reply With Quote
  #5  
Old   
John L.
 
Posts: n/a

Default Re: Browser mouse pointer location? - 10-17-2007 , 06:12 AM



Steve Swift wrote:
Quote:
Do any of the main browsers have a mechanism for displaying the absolute
pixel location of the mouse pointer within their display area?

I recall such a mechanism in VisProRexx (an OS/2 REXX GUI application
builder from long ago) and now that I'm tinkering with CSS I'm starting
to wonder about things like "Is that DIV one pixel offset or is it my
eyes?".

I can manage vertical/horizontal alignment by switching to the
cross-hair cursor temporarily, but even that is a little cumbersome.
I prefer to hit Prt Scr then paste the screenshot into Macromedia
Fireworks. I can then zoom in and use the Rectangle tool to make sure
things align.

Any decent graphics application will suffice for this.


Reply With Quote
  #6  
Old   
Rik Wasmus
 
Posts: n/a

Default Re: Browser mouse pointer location? - 10-17-2007 , 06:40 AM



On Wed, 17 Oct 2007 11:41:02 +0200, Jon Fairbairn
<jon.fairbairn (AT) cl (DOT) cam.ac.uk> wrote:

Quote:
"Rik Wasmus" <luiheidsgoeroe (AT) hotmail (DOT) com> writes:

In article <47170697$1 (AT) news (DOT) greennet.net>,
Steve Swift <Steve.J.Swift (AT) gmail (DOT) com> wrote:

Do any of the main browsers have a mechanism for displaying the
absolute
pixel location of the mouse pointer within their display area?
Pixel perfect should not be needed, but lining things out
either horizontally/vertically should be possible.

For this, use firefox + webdeveloper and
WebDeveloper=>Miscellaneous=>Display Line Guides

You can drag the line guides around, and as you do, you get
a box giving the pixel position of the guide.
Yup, allthough I'd use the ruler. For some reason the 'Guide Lines' here
are only 1px wide, and only selectable/draggable if you click on _exactly_
that pixel, a major pain to work with. The ruler serves just as well and
is a lot easier to work with.
--
Rik Wasmus


Reply With Quote
  #7  
Old   
Andy Dingley
 
Posts: n/a

Default Re: Browser mouse pointer location? - 10-17-2007 , 08:07 AM



On 17 Oct, 08:23, Steve Swift <Steve.J.Sw... (AT) gmail (DOT) com> wrote:
Quote:
Do any of the main browsers have a mechanism for displaying the absolute
pixel location of the mouse pointer within their display area?
I use the Firefox extension MeasureIt for this sort of task.

As dorayme points out, most of the uses for this feature are just
wrongly intentioned. Don't ask the best way to do something like this,
ask first if you really ought to be doing it!

It's also generally more useful to have a "ruler" to measure sizes or
distances between things than it is merely to have an output of the
cursor location. You really shouldn't care about absolute positions
within the window.



Reply With Quote
  #8  
Old   
CMC
 
Posts: n/a

Default Re: Browser mouse pointer location? - 10-17-2007 , 08:14 AM



On Wed, 17 Oct 2007 08:23:33 +0100, Steve Swift
<Steve.J.Swift (AT) gmail (DOT) com> wrote:

This page needs some work. When I pressed the refresh button in
Firefox the image disappeared and all I got was a line saying "You
need images turned on to see this page" which is your alt tag. Alt
tags are used to describe what the image is, not what you need to have
turned on to see the image. Image you are visually impaired and you
are on the page and the page reader says "Alt You need images turned
on to see this page" that doesn't tell me jack about what you are
seeing on the page.

Just something to think about.

Cheers,
Colin


Reply With Quote
  #9  
Old   
dorayme
 
Posts: n/a

Default Re: Browser mouse pointer location? - 10-17-2007 , 06:19 PM



In article <wfk5pmw029.fsf (AT) calligramme (DOT) charmers>,
Jon Fairbairn <jon.fairbairn (AT) cl (DOT) cam.ac.uk> wrote:

Quote:
"Rik Wasmus" <luiheidsgoeroe (AT) hotmail (DOT) com> writes:

In article <47170697$1 (AT) news (DOT) greennet.net>,
Steve Swift <Steve.J.Swift (AT) gmail (DOT) com> wrote:

Do any of the main browsers have a mechanism for displaying the absolute
pixel location of the mouse pointer within their display area?
Pixel perfect should not be needed, but lining things out
either horizontally/vertically should be possible.

For this, use firefox + webdeveloper and
WebDeveloper=>Miscellaneous=>Display Line Guides

You can drag the line guides around, and as you do, you get
a box giving the pixel position of the guide.
Well, I never! Looking at this rather nifty feature (for the
first time), I wondered if it might be more useful with more
lines available so you could leave lines at convenient spots and
then noticed the Display Ruler, this looking quite sophisticated
when you drag and make grids and see info in the bar above...

--
dorayme


Reply With Quote
  #10  
Old   
dorayme
 
Posts: n/a

Default Re: Browser mouse pointer location? - 10-17-2007 , 06:20 PM



In article <5nm913Fg9dujU1 (AT) mid (DOT) individual.net>,
"John L." <cv (AT) edombmtech (DOT) co.uk> wrote:

Quote:
Steve Swift wrote:
Do any of the main browsers have a mechanism for displaying the absolute
pixel location of the mouse pointer within their display area?

I recall such a mechanism in VisProRexx (an OS/2 REXX GUI application
builder from long ago) and now that I'm tinkering with CSS I'm starting
to wonder about things like "Is that DIV one pixel offset or is it my
eyes?".

I can manage vertical/horizontal alignment by switching to the
cross-hair cursor temporarily, but even that is a little cumbersome.

I prefer to hit Prt Scr then paste the screenshot into Macromedia
Fireworks. I can then zoom in and use the Rectangle tool to make sure
things align.
O my God, you go in too...

--
dorayme


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.