By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,447 Members | 1,136 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,447 IT Pros & Developers. It's quick & easy.

Floating navigation that acts like a fixed background picture

P: n/a
Hello!

I want a menu to be visible all the time, not scrolling when the text
around it gets too long. Something like this:
+------------+------+
|TextTextText| Menu |
|TextTextText| |
|TextTextTextTextTex|
+-------------------+

Now two questions:
1. How do I do this?
2. If the positiong is absolute, is there any way to make the Text not
being hidden behind the menu?
Jul 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Tom Tyler wrote:
I want a menu to be visible all the time, not scrolling when the text
around it gets too long. Something like this: Now two questions:
1. How do I do this?
position: fixed.

Shame about MSIE really, but JavaScript hacks exist.
2. If the positiong is absolute, is there any way to make the Text not
being hidden behind the menu?


Same as absolute positioning. Make sure there isn't any text where its going
to go. A margin-right on the content is good in this case.

--
David Dorward http://dorward.me.uk/
Jul 20 '05 #2

P: n/a
*David Dorward* <do*****@yahoo.com>:

position: fixed.

Shame about MSIE really, but JavaScript hacks exist.


Btw.: I'm curious, is there a ready to use .htc for that anywhere which one
could use with the proprietary 'behavior' property? I wouldn't though, fixed
positioning is neither that important nor very ergonomic in general.

--
Useless Fact #4:
Coca Cola was originally green.
Jul 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.