SAX
» Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next
» View previous topic :: View next topic  
I say, bump it up 12 pixels anyways:



As the page loading and url preview for hyperlinks overlaps the div box. And, it doesn't seem to be affected by the scroll bar in Chrome (that it rests over rather than on top).
All set; I think this is better now. Smile How does it looks to you?
It doesn't seem to be bumped up for me... I'm using Chrome on Windows.
Deep Thought wrote:
It doesn't seem to be bumped up for me... I'm using Chrome on Windows.
Be sure to hit Ctrl-F5 to grab a new SaxJax.js if you haven't done so already. Wink
Nope, still no good:



KermMartian wrote:
Deep Thought wrote:
It doesn't seem to be bumped up for me... I'm using Chrome on Windows.
Be sure to hit Ctrl-F5 to grab a new SaxJax.js if you haven't done so already. Wink
Don't you have a cache breaker at the ended of saxjax.CSS?
comicIDIOT, I didn't update it for this new change. And Deep Thought, I'm not seeing the problem; it looks to me like the SAX highlight box is above your horizontal scrollbar, no?
Oh, nvm then Smile I thought you moved it entirely above the scrollbar.
Deep Thought wrote:
Oh, nvm then Smile I thought you moved it entirely above the scrollbar.
On Firefox I did; I guess the scrollbars are different heights. How many more pixels up should I move the box for Chrome?
Not much. I'm guessing about 4 would make it exactly on the line.

It also depends on the OS version, right?
Deep Thought wrote:
Not much. I'm guessing about 4 would make it exactly on the line.

It also depends on the OS version, right?
Most likely. It's a real pain in the neck that the browsers won't tell you the real height of the viewable web page area taking the scrollbars into account. Sad
It floats above/on the scroll bar in OS X Chrome, and just under the "URL display" message, much like the scroll bar in Deep's image above.
Blargh, then four pixels northward it goes. Smile I can't help but wonder if I'm missing something, and getting the real height of the window taking scrollbars into account is possible. Do any of you happen to know if that's the case or not?
Kerm, you know you can use the "bottom" and "left" CSS properties instead?

I've found that using something like:
Code:
#MyElement {
     position:fixed; /* (NOT absolute, silly me) */
     bottom:0px
     left:0px;
}
should position it nice and snug in the bottom left corner Smile

No need for excessive javascript. The same works if you were to using 'right:0px' instead of left to have it in the bottom right. Interestingly, almost everyone I know seems to overlook the right and bottom CSS properties. They tend to go straight to the sophisticated methods of doing things.

KISS. Keep it simple, stupid.
[An old saying my grampa passed along to me Razz ]

Hope that helps! Smile
No, it doesn't help, because bottom positioning makes it position relative to the bottom of the page, not the visible window. I make the highlight always appear at the bottom of the apparent user window, so a simple bottom positioning wouldn't work. Thanks anyway, though. Smile
*gasp*! Apologies. As you may have noticed, I posted that at 2AM. I forgot that you must use `position:fixed` along with the bottom and left properties, and voilĂ ! Smile
Wait, that really does it? position: fixed will make it stay at the browser window bottom even when I scroll? Without the use of funky javascript?
Indeed. Always has since CSS 2, always will. I don't see why the use of funky javascript has ever been used, honestly. The `fixed` property value is there for a reason! Smile

I guess there are not very many people who know about `position: fixed` and/or what it does. I constantly remind people about it. It's a very good tool Smile
swivelgames wrote:
Indeed. Always has since CSS 2, always will. I don't see why the use of funky javascript has ever been used, honestly. The `fixed` property value is there for a reason! Smile

I guess there are not very many people who know about `position: fixed` and/or what it does. I constantly remind people about it. It's a very good tool Smile
That worked beautifully; thanks, Swivelgames! If it isn't working for anyone, be sure to ctrl-F5.
Cache breaker?

?2
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
SAX
» Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next
» View previous topic :: View next topic  
Page 4 of 10
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement