Click here to get back home

position div top right regardless of vertical length of page?

 HomeNewsGroups | Search

alt.www.webmaster - All aspects of webmastering business 

get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
position div top right regardless of vertical length of page? christek 02-28-2007
Posted by christek on February 28, 2007, 8:07 am
Please log in for more thread options


Hello,
Is there a way to have a div positioned to the top right of a page and
always visible regardless of the scrolled position to the vertical
length of the page?
This would of course be without javascript, just pure css...


Posted by SpaceGirl on February 28, 2007, 8:12 am
Please log in for more thread options


show/hide quoted text

Height :)

yes, you can use CSS to "fix" a DIV in plac, but it's not supported in
all browsers. So basically, if you want it to work in the most number
of browsers (IE6, I'm looking at YOU) you have to use js.


Posted by Chaddy2222 on February 28, 2007, 11:25 pm
Please log in for more thread options




show/hide quoted text
Well, yes and know, you could try floating it right and give the object a
position fixed, but that particular CSS property is not well supported by
many web browsers.

--
Regards Chad.
http://freewebdesign.cjb.cc



Similar ThreadsPosted
Web Optimization Easy 4.0 - Optimize website page to get top search engine ranking position. March 9, 2007, 11:31 am
vertical centering May 5, 2007, 3:28 pm
Vertical Centering June 25, 2008, 3:27 pm
removal of vertical scroll bar from div tag August 22, 2006, 10:51 am
Vertical aligning using floats instead of tables October 13, 2009, 4:26 pm
text position problem March 31, 2006, 6:49 am
Permanent Web Developer Position Available May 4, 2006, 11:40 am
Automatic cursor position March 19, 2009, 5:47 am
how to position layout? CSS2 or table? October 16, 2005, 5:52 am
Answering position:absolute query once and for all January 17, 2006, 7:21 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Driving a better car - Fuelzilla.com

Cabling site for homeowners and pros alike - Cabling-Design.com

Friends:

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap
Privacy Policy