Go Back   CodingForums.com > :: Client side development > JavaScript programming > JavaScript frameworks

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 10-01-2008, 06:42 PM   PM User | #1
pddesigns
New to the CF scene

 
Join Date: Oct 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
pddesigns is an unknown quantity at this point
Positioning for htmltoolkit script

Hi, I've added the htmltooltip script here:
http://www.socc.edu/dashboard/pgs/te...e2/index.shtml

My mouse over text boxes aren't quite positioned right. On a 1024 size screen the third dial, on the right the box is pushed to the center. Anyway I can fix this so that is closer to the dial instead of over the center dial?

Could I position it to be more centered with each dial?

Here's the css:

div.htmltooltip{
position: absolute; /*leave this and next 3 values alone*/
z-index: 1000;
left: -1000px;
top: -1000px;
background: #E0E0E0;
border: 10px solid #990000;
color: black;
padding: 3px;
width: 250px; /*width of tooltip*/
}

I tried to put 'right: -1000px;' but that didn't even change at all. I'm not used to using negative positioning so I'm not sure how to make it centered.

Thanks, Pat
pddesigns is offline   Reply With Quote
Old 10-01-2008, 07:31 PM   PM User | #2
pddesigns
New to the CF scene

 
Join Date: Oct 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
pddesigns is an unknown quantity at this point
I changed the width to 200px instead of 250px and that fixed the positioning on the third dial.

Thanks!
pddesigns is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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

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

Forum Jump


All times are GMT +1. The time now is 07:02 PM.


Advertisement
Log in to turn off these ads.