Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder zro@rtv's Avatar
    Join Date
    Feb 2005
    Location
    on the network
    Posts
    433
    Thanks
    0
    Thanked 1 Time in 1 Post

    css tooltips and the edge of the screen

    sorry.... wasnt sure how to phrase this so maybe my searching could have been better.... i hope this isnt answered already...

    html: http://lansingpa.org/lpa/archives/calendar/2005mar

    css: http://LansingPA.org/lpa/cal.css



    i am using css mouse overs here....
    my problem is that the ones on the right hang off the screen.
    is there any genius fix around this, that im just not thinking of?

    I tried some things with margin.
    that didnt work.
    I guess i have to set up seperate classes for the ones on the weekends and give them different span classes??

    thats going to suck if i hvae to somehow write "if sunday span class="other" "
    or whatever.


    hmmm... thanks so much!
    ._-zro
    zro@redtv
    zro.redtv.org

    "If HTML and the Web made all the online documents look like one huge book, RDF, schema, and inference languages will make all the data in the world look like one huge database"
    -Tim Berners-Lee, Weaving the Web, 1999

  • #2
    Senior Coder
    Join Date
    Nov 2003
    Location
    Minneapolis, MN
    Posts
    2,879
    Thanks
    2
    Thanked 65 Times in 56 Posts
    Looks like that's the only real choice you have, seeing as how the hover elements are placed absolutely. You could always make the calendar a little smaller...

  • #3
    Senior Coder
    Join Date
    Jun 2002
    Location
    near Oswestry
    Posts
    4,508
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You need javascript really - then you can read and adjust its position with respect to the window edge.

    Have a look at this, where I've done something similar for focus-activated tooltips -- http://www.brothercake.com/scripts/t.../tooltips.html
    "Why bother with accessibility? ... Because deep down you know that the web is attractive to people who aren't exactly like you." - Joe Clark


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •