473,748 Members | 11,145 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Frame-like fixed column?

Masters:

On two or three-column layouts, one column often has a list
of links. Scrolling the page hides them. I'm aware there's
supposed to be the ability to fix the column (frame-like).
I have some bits of such code but haven't yet made it
work well.

Question: Why have I never seen an example on the web?
Not that I've seen everything, but I've seen numerous pages
that use CSS and never a fixed column where badly needed.

Is it practical? Any tips on how to do it?

Mason C
Jul 20 '05 #1
6 5407
On Fri, 30 Jan 2004 07:24:32 GMT, Mason A. Clark
<ma*******@THIS ix.netcom.comQ> wrote:
Masters:

On two or three-column layouts, one column often has a list
of links. Scrolling the page hides them. I'm aware there's
supposed to be the ability to fix the column (frame-like).
I have some bits of such code but haven't yet made it
work well.

Question: Why have I never seen an example on the web?
Not that I've seen everything, but I've seen numerous pages
that use CSS and never a fixed column where badly needed.

Is it practical? Any tips on how to do it?

Mason C


I've got some good news and some bad news.

Good news: CSS does allow for position: fixed where when you scroll the
page the positioned element will stay put.

Bad news: IE does not support fixed positioning. So if you use it, be sure
it can work as absolute positioning.

I tried a fixed navigation div on a site. It stayed put in non-IE
browsers. In IE it behaved like absolute. Someone in this or another forum
told me they've seen it not behave like absolute in IE, but I've never
observed this phenomenon. Assuming that's the case, though, you could
always use the old fool-IE-and-fix-for-Opera trick (usually used for the
box model problem) to make it absolute in IE and fixed in other browsers.

#nav {
position: absolute;
voice-family: "\"}\"";
voice-family: inherit;
position: fixed;
}

html>body #nav{
position: fixed;
}
Jul 20 '05 #2
"Neal" <ne*****@spamrc n.com> schrieb im Newsbeitrag
news:op******** ******@news.rcn .com...
On Fri, 30 Jan 2004 07:24:32 GMT, Mason A. Clark
<ma*******@THIS ix.netcom.comQ> wrote:
Masters:

On two or three-column layouts, one column often has a list
of links. Scrolling the page hides them. I'm aware there's
supposed to be the ability to fix the column (frame-like).
I have some bits of such code but haven't yet made it
work well.

Question: Why have I never seen an example on the web?
Not that I've seen everything, but I've seen numerous pages
that use CSS and never a fixed column where badly needed.

Is it practical? Any tips on how to do it?

Mason C


I've got some good news and some bad news.

Good news: CSS does allow for position: fixed where when you scroll the
page the positioned element will stay put.

Bad news: IE does not support fixed positioning. So if you use it, be sure
it can work as absolute positioning.

I tried a fixed navigation div on a site. It stayed put in non-IE
browsers. In IE it behaved like absolute. Someone in this or another forum
told me they've seen it not behave like absolute in IE, but I've never
observed this phenomenon. Assuming that's the case, though, you could
always use the old fool-IE-and-fix-for-Opera trick (usually used for the
box model problem) to make it absolute in IE and fixed in other browsers.

#nav {
position: absolute;
voice-family: "\"}\"";
voice-family: inherit;
position: fixed;
}

html>body #nav{
position: fixed;
}


If you understand German you might be interested in the following article:

http://www.jendryschik.de/wsdev/css/fixed/

If you don't understand German you might still understand the code examples
in the article that provide another IE fix which works well on a page that I
am building at the moment.

--
Markus
Jul 20 '05 #3
On Fri, 30 Jan 2004 10:28:27 +0100, "Markus Ernst" <derernst@NO#SP #AMgmx.ch>
wrote:
"Neal" <ne*****@spamrc n.com> schrieb im Newsbeitrag
news:op******* *******@news.rc n.com...
On Fri, 30 Jan 2004 07:24:32 GMT, Mason A. Clark
<ma*******@THIS ix.netcom.comQ> wrote:
> Masters:
>
> On two or three-column layouts, one column often has a list
> of links. Scrolling the page hides them. I'm aware there's
> supposed to be the ability to fix the column (frame-like).
> I have some bits of such code but haven't yet made it
> work well.
>
> Question: Why have I never seen an example on the web?
> Not that I've seen everything, but I've seen numerous pages
> that use CSS and never a fixed column where badly needed.
>
> Is it practical? Any tips on how to do it?
>
> Mason C
>
>


I've got some good news and some bad news.

Good news: CSS does allow for position: fixed where when you scroll the
page the positioned element will stay put.

Bad news: IE does not support fixed positioning. So if you use it, be sure
it can work as absolute positioning.

I tried a fixed navigation div on a site. It stayed put in non-IE
browsers. In IE it behaved like absolute. Someone in this or another forum
told me they've seen it not behave like absolute in IE, but I've never
observed this phenomenon. Assuming that's the case, though, you could
always use the old fool-IE-and-fix-for-Opera trick (usually used for the
box model problem) to make it absolute in IE and fixed in other browsers.

#nav {
position: absolute;
voice-family: "\"}\"";
voice-family: inherit;
position: fixed;
}

html>body #nav{
position: fixed;
}


If you understand German you might be interested in the following article:

http://www.jendryschik.de/wsdev/css/fixed/

If you don't understand German you might still understand the code examples
in the article that provide another IE fix which works well on a page that I
am building at the moment.


(I hate bottom posting.)

Thank you, Neal and Marcus. I'm elated by the prospects.

HEY! It works -- worken sie gut -- Ich nicht sprachen
Deutch but copied the code and played with it. It works in Opera 7 and
Netscape 7.1 and with some jitter of the fixed boxes in MSIE 6.

I put the suggested MSIE things in and out with no difference in MSIE 6 but
can't test in earlier version of any of these browsers. Since they're all
free (?) I can urge the viewer to update :-) Or *hope* the boxes stay
visible, but scrolling as most do.

Here's my test page, crap and all:

http://home.earthlink.net/~frontal-lobe/no-scroll.html

no comments re: content or validation please :-)

but if you can fix the MSIE6 jitter !

Mason C
Jul 20 '05 #4
Status report: a real page in process:

http://home.earthlink.net/~frontal-l...no-scroll.html

( in development -- the sidebar links are dummies)

A moment ago the jitter disappeared from MSIE6. I have no
idea where it went but it was after I entered body details and
filled in the text content.

This seems to me an excellent trick for all those many pages
that have a sidebar with links -- or whatever.

Mason C in how many browsers?
Jul 20 '05 #5
On Sat, 31 Jan 2004 02:15:53 GMT, Mason A. Clark
<ma*******@THIS ix.netcom.comQ> wrote:
Status report: a real page in process:

http://home.earthlink.net/~frontal-l...no-scroll.html

( in development -- the sidebar links are dummies)

A moment ago the jitter disappeared from MSIE6. I have no
idea where it went but it was after I entered body details and
filled in the text content.

This seems to me an excellent trick for all those many pages
that have a sidebar with links -- or whatever.

Mason C in how many browsers?

Just take care it isn't so tall that smaller viewports might not see the
whole thing. That's the one danger. With fonts full size the height
shouldn't be more than say 450 pixels. Anything taller you run the risk of
part of the sidebar being unusable.
Jul 20 '05 #6
Neal wrote:
On Sat, 31 Jan 2004 02:15:53 GMT, Mason A. Clark
<ma*******@THIS ix.netcom.comQ> wrote:
http://home.earthlink.net/~frontal-l...no-scroll.html


Just take care it isn't so tall that smaller viewports might not see the
whole thing. That's the one danger.


There is a second issue in this case, too - width. On the test page at
my preferred (largish) text size, the sidebar links overflow into the
content area. IE's broken overflow behavior expands the width of the
sidebar column so the first few characters of each content line are
obliterated by the black background color of the sidebar. In mozilla,
the text overflows the black background so it looks broken.

Tis the problem of setting the width of a text element in px units. I
suggest using em units instead.

--
To email a reply, remove (dash)un(dash). Mail sent to the un
address is considered spam and automatically deleted.
Jul 20 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1847
by: Shankar Iyer (siyer | last post by:
Hi, I am still new to Python and Tkinter, so I apologize in advance if I do not word my question optimally. I am trying to use a frame widget as the parent for other widgets. There is a class with the header "class classtitle(Frame):" in a script called classtitle.py. Having imported classtitle, I create a Frame widget within my gui using the command "w = Frame(self)." Then, I grid this widget and issue the command "classinstance =...
4
9257
by: Kathryn | last post by:
I hope you can help as this is driving me crazy! I have an asp which has 3 frames on it as follows: <FRAMESET rows="50%,*,10%"> <FRAME src="rundetailstop.asp" name="rundetailstop" scrolling="no"> <FRAME src="rundetails.asp" name="rundetails" scrolling="auto"> <FRAME src="rundetailsbottom.asp" name="rundetailsbottom" scrolling="no"> </FRAMESET>
13
2720
by: Kai Grossjohann | last post by:
I have a web app which comprises different frames: a menu bar frame, a search form frame, a result list frame. Depending on the state, only a subset of these frames is available. (Eg, after login, only the menu bar frame exists to allow the user to select a search form. After this, only the menu bar and the search form are visible.) Now the users are to be able to resize the frames. WIBNI the webapp could remember the frame sizes...
2
3443
by: Maik Wiege | last post by:
Hi! I want to show a blinking text over my derived CMDIChildWnd-class. The blinking is done by one view which is hold by my frame. I set up a timer and write text to the parent frame, which works fine. But I can't get the text away the next time the timer fires. Here is some code: void MyView::OnTimer(UINT nIDEvent) { if (nIDEvent!=1) return; showText = !showText;
1
3234
by: Justin | last post by:
Hi, I have a simple frameset defined: ---------------- index.html ---------------- <FRAMESET COLS = "225,*"> <FRAME NAME = "a" SRC = "one.html"> <FRAME NAME = "b" SRC = "one.html"> </FRAMESET>
17
4177
by: Bruno | last post by:
I have a feature that is hosted on a different domain from the primary one in a frame, and need to retain values in a cookie. example: A web page at one.com contains a frame which has a page hosted at two.com If I view the frameset from one.com in Firefox, all works well with the content from two.com. But if trying to view this using IE (with standard security settings), the cookie set by two.com is not accessible.
11
16959
by: Rob | last post by:
I know, I know, don't use frames. Well, I'm stuck with these frames and I'm trying to add functionality without a complete redsign. You can look at this as a nostalgic journey. Anyway, I've got the following frame structure at the top level: FRAMESET CODE <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"> <html><head><title>Server List</title></head> <frameset frameborder="1" border="1" framespacing="1" rows="10%,89%">
3
1903
by: Axel Gallus | last post by:
I wrote a javascript function which should return the html code between a frame's body tag: function load_frame_as_string( Framename ) { var Frame = document.getElementsByName(Framename); var Frame_document = Frame.document; var Frame_Body = Frame.document.getElementsByTagName("body");
3
2855
by: rajarya | last post by:
Hi, I m designing a HTML page(index.html),here i have 2 frames,by defult both frames have index1.html and index2.html as their source . in first frame(index.html) ,i have some redio buttons,and a submmit button. so when I select one ption and click the submit button in the left side frame(or frame 1 or in index1.html) my right side frame should be reloded with a new html page as per the javascript method in main html page. but insted I...
4
4852
by: sumitha | last post by:
Hi I am using wxpython to develop my GUI. I have 3 frame. On the first frame I have ok button and when I click that it will open 2nd frame. And when I click ok button on 2nd frame, it will open 3rd frame. But I want my 2nd frame to be closed when I open the 3rd frame. I tried self.Close() it closes 2nd and 3rd frame. I am attaching my code. Please help import wx import os, sys import string import re import cfgparse import cmd
0
9537
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9367
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9319
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8241
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6795
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4599
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4869
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3309
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 we have to send another system
3
2213
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.