473,467 Members | 1,951 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Floating navigation that acts like a fixed background picture

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
2 3826
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
*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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: Josh Renaud | last post by:
Hey everyone. First the requisite links: site: http://www.joshrenaud.com/bodies/index.html css: http://www.joshrenaud.com/bodies/stylesheets/style.css I have a UL that I'm using for a...
9
by: Theodore A. Jencks | last post by:
Hi All, I have a problem that is two fold. First a little about the enviroment I'm using; I am running Microsoft Windows XP with all security patches applied. I use Mozilla 1.6 for all testing...
40
by: Mark | last post by:
Hello i like to make the following lay out: - 3 columns - center column = fixed width - left and right columns are not fixed and must take all the available space there is left. - left...
1
by: StevePBurgess | last post by:
I have a website which, on the main page, has two floating divs. One contains a list of navigation menu items and the other is themain content of the page. Occasionally that div that contains...
3
by: Paul | last post by:
I want the <div id="navigation"column to be the same color all the way to the bottom. The "background-image: url(bg_menu_tile.gif);" was a try to force it with a long 1-pixel graphic - didn't...
1
by: Eniac0 | last post by:
Hello, ive been recently appointed to transforming our table-full site into a nice accessible and table-free website. to make the story short, everything was going rather smoothly until i got...
8
by: paul.denlinger | last post by:
Hi-- Things have gone well for me on this page design, but when I added a background image, it pushed everything down and messed up my page layout. Before I added the navigation background...
2
by: slaterino | last post by:
Hello, I'm hoping someone can help me with a couple of queries. I am in the process of designing a site which I have uploaded to: http://www.cca-ltd.co.uk/New/index.html, but I currently have 2...
2
by: Rob Clewley | last post by:
Dear Pythonistas, How many times have we seen posts recently along the lines of "why is it that 0.1 appears as 0.10000000000000001 in python?" that lead to posters being sent to the definition...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.