designedfree4u Posted March 7, 2009 Share Posted March 7, 2009 Is there a way in css to make a div position a certain way were everything else will scroll behind it. example:checkout the navigation on this. Example: http://guerrilladigital.cc/portfolio.php or is this java or somthing? thanks, Quote Link to comment Share on other sites More sharing options...
dbrimlow Posted March 8, 2009 Share Posted March 8, 2009 That site used "position:fixed". IE doesn't support position:fixed (but there are ways to get it to look similar in IE). Quote Link to comment Share on other sites More sharing options...
DamienRoche Posted March 8, 2009 Share Posted March 8, 2009 You can use position:absolute and then position with top,right,bottom,left attributes: #div{ position:absolute; bottom:0px; } That will keep the div positioned at the bottom of the screen no matter parent or otherwise. Hope that helps. Quote Link to comment Share on other sites More sharing options...
DamienRoche Posted March 8, 2009 Share Posted March 8, 2009 Ignore my above post. The post above mine cofused me. Position absolute does not keep the positioning of the div 'fixed' in respect to the screen. And position:fixed is fully supported by ie so not sure what experience brimlow has had. Hope that helps. Quote Link to comment Share on other sites More sharing options...
haku Posted March 8, 2009 Share Posted March 8, 2009 Well, you are both right and wrong. It doesn't work in IE6, but does work in IE7 and IE8. But brimlow was right in that it can be faked in IE6. Takes a bit of a hack, but so does most everything else in IE6. Quote Link to comment Share on other sites More sharing options...
designedfree4u Posted March 8, 2009 Author Share Posted March 8, 2009 Thanks allot guys, I really appreciate it. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.