473,406 Members | 2,352 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 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 1615
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...
0
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...

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.