472,958 Members | 2,205 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,958 software developers and data experts.

visibility and positioning problem

Folks,
I've put my page online here at

www.fiprojects.com / wip /

(Note: I purposely separated the entire address to avoid spiders
having a sniff and... *And* before you ask why I am doing this design
with tables its because I'm more comfortable with tables and have yet
to familiarize myself with replacing tables with CSS positioning.

I have two questions and would appreciate some direction:

1 In Firefox the display shows pretty much what I want whereby the
Project "tab" is displayed and all the other "tabs" are collapsed. In
IE7 this is not the case, I get the error "Could not get the visbility
property" (yes, I know its a javascript error but its attempting to
hide/show my output using CSS) and the full page without anything
hidden/collapsed is shown. I guess there is a different method to
doing this in IE7 then Firefox? If so, can someone correct me as all
my end users are IE users with same version across the board.

2 One minor thing is itching me - If you click on Project tab, and
work you way clicking right over the next tabs you'll find the
"contents" of each tab starts slightly below the one previous. I've
tried to find out why but fail - can someone help?

Cheers!

Sep 13 '07 #1
4 1598
In article
<11*********************@22g2000hsm.googlegroups.c om>,
Randell_D <fi************@gmail.comwrote:
Folks,
I've put my page online here at

www.fiprojects.com / wip /

(Note: I purposely separated the entire address to avoid spiders
having a sniff and... *And* before you ask why I am doing this design
with tables its because I'm more comfortable with tables and have yet
to familiarize myself with replacing tables with CSS positioning.

I have two questions and would appreciate some direction:

1 In Firefox the display shows pretty much what I want whereby the
Project "tab" is displayed and all the other "tabs" are collapsed.
"Collapsed"? They all look the same on my Safari and FF.

If you click on Project tab, and
work you way clicking right over the next tabs you'll find the
"contents" of each tab starts slightly below the one previous. I've
tried to find out why but fail - can someone help?
Can't see what you mean, sorry?

Before doing anything more, you need to validate your site, the
html and css validators pick up faults many of which you will be
able to fix quickly (like no units with dimensions in the css).

Best not to have this sort of thing anywhere, and certainly not
in body:

font-size: 12px;
line-height: 24px;

Use % or em for font-size. And a useful rule, don't use
line-height at all unless you *really* are not happy with what is
defaulted and then avoid using units (for this particular
property) unless you know better.

--
dorayme
Sep 14 '07 #2
On 2007-09-14, Joshua Cranmer <Pi*******@verizon.netwrote:
[...]
2. Avoid using the visibility, and use display: none instead. It works
better across all browsers.
It's much less efficient though. When you change display between none
and non-none, the browser is much more likely to have to do a complete
reflow of large pieces of the page since it isn't obvious how the
positions and sizes of other things are affected.

But visiblity: hidden/visible is known not to affect anything else
except the rendering of that element itself. It would be expected to
give much more snappy pop-up menus and things, although you won't notice
if you have a fast PC.
Sep 14 '07 #3
Jonathan N. Little wrote:
>
http://www.littleworksstudio.com/temp/usenet/tabs.html
FYI, only the first tab is accessible to keyboard users. It does degrade
well with CSS disabled, though.

--
Berg
Sep 14 '07 #4
Bergamot wrote:
Jonathan N. Little wrote:
>http://www.littleworksstudio.com/temp/usenet/tabs.html

FYI, only the first tab is accessible to keyboard users. It does degrade
well with CSS disabled, though.
It was just a demo and it does not support the keyboard because the tabs
are not links. Use links and you can process a keyboard focus...

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Sep 15 '07 #5

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

Similar topics

9
by: Bryan R. Meyer | last post by:
Hello Everyone, The problem of browser resizing has become an issue for me. While redesigning my webpage, I set the left and right margins to be auto so that my content would be centered. ...
4
by: Jane Withnolastname | last post by:
I am trying to re-work an old site by replacing the html with css. On the main page, I have a logo image which I needed centred on the initial screen. I found the solution here:...
4
by: lawrence | last post by:
Can anyone tell me why this code works in Netscape 7.1 but not in IE??? <SCRIPT type='text/javascript'> function makeVisible(nameOfDiv) {...
3
by: bitsyboffin | last post by:
Hi all, does anybody know of a bug in MacIE which prevents style.display = 'none' and style.visibility = 'hidden' from "sticking" in MacIE? I'm making some graphical checkboxes & radios (I know,...
1
by: Mark Denardo | last post by:
I stumbled across a weird problem that I don't seem to understand and was wondering if anyone could help explain why it is occurring: Basically I have set up a client/server application where the...
11
by: -D- | last post by:
How can I turn the visibility of the xml control on or off? <%@ Control Language="c#" AutoEventWireup="false" Codebehind="TopNavBar.ascx.cs" Inherits="compass.user_controls.TopNavBar"...
2
by: nino9stars | last post by:
Hello, I have just started messing with absolute positioning on webpages, and it definitely let's you do some creative things. Well, after much searching and help, I got the images I was using...
2
by: TheCruelPanda | last post by:
Hey there. My name is Rowan, and it's been three weeks since I last used tables for an HTML design. Okay, I'm rather new to CSS and I have a big positioning problem here. It might not be a...
1
by: The Menace | last post by:
I have a problem that I've been trying to figure out. I have several controls on the page and depending on the selection on the drop down list, the visibility is set to control to true (set to...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
2
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

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.