473,699 Members | 2,461 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Help: Menu bar is 20 pixels too high on IE7


I am building a website for a school, but running into a display problem
between IE and CSS. (The site is http://stmary-stthomas.org/ )

The main horizontal menu bar looks just fine on Mac and PC with most
browsers.

But on the PC with IE7, the menu bar winds up about 20 pixels too high.
The menu is drawn in a DIV with class "navbar", which is inside a DIV
with class "navcontain er":
#navcontainer {
position:absolu te;
top:115px; /* This works on most browsers,
but would have to be 135 for IE7 */
}

#navbar {
height: 32px;
padding: 0px 0px 0px 0px;
margin: 0;
position: relative;
z-index: 900;
float: none;
width: 100%;
font: 14px "Lucida, Verdana, sans-serif;
}
Help! Does anyone have any idea of what's wrong, *OR* how I can tweak
this to make the "top" of the menu position come out correctly on IE7?

THANKS!!!!

Kevin Killion
Jun 27 '08 #1
1 2493
In article <ke************ *************@n ewsclstr03.news .prodigy.net>,
Kevin Killion <ke***@shsmedia .comwrote:
I am building a website for a school, but running into a display problem
between IE and CSS. (The site is http://stmary-stthomas.org/ )

The main horizontal menu bar looks just fine on Mac and PC with most
browsers.
....
#navcontainer {
position:absolu te;
top:115px; /* This works on most browsers,
but would have to be 135 for IE7 */
>
Help! Does anyone have any idea of what's wrong, *OR* how I can tweak
this to make the "top" of the menu position come out correctly on IE7?
Put this under any stylesheet links that you have in the head

<!--[if lt IE 7]>
<link rel="stylesheet " type="text/css" href="ie7.css">
<![endif]-->

Moreover, make sure you have no inline styles pertaining to this issue
in the body.

And now, make a new text file and call it ie7.css and type in this file:

#navcontainer {
position:absolu te;
top:115px; 135px in it.

(I noticed, for the first time ever, that a notice popped up on my
screen saying you have requested I send you an email if I reply. Sorry
Kevin, but I don't talk to strange men so intimately.)

--
dorayme
Jun 27 '08 #2

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

Similar topics

1
9407
by: Sumit | last post by:
Hello, Are there any tools or ready code available to create a help menu including full index text search, etc?? Help will be appreciated. Thanks Sumit
0
1213
by: Dave | last post by:
I'm trying to figure out how to create a simple help menu within my .Net Windows application. I can't find any help in my VB Visual Studio help file ... only thing I find on Internet is tools that can be purchased to help develop the help file. If someone could point me in the right direction, I'd appreciate it. Thanks! Dave
3
1809
by: Daniel Tan | last post by:
How can i take away the Access 2000 help menu ? Even better then whole default menu. Pls advise. Thanks. Regards, Daniel
0
2696
by: Mg | last post by:
Hi. I would like to do like an Help menu (F1). So, I have a TreeView on the left, and 'a' panel on the right. The TreeNodes have a Tag that permit to store the panels I want to show on the right. But, I don't know how to display the panel I want :
0
1110
by: tony | last post by:
Hello! I have installed Visual Studio .NET 2003 but when I use for example index in the Help menu for class Form it display a very small and strange font. It's hardly readable. Does anybody have any idea how I can change the font so it will be readable. Is this some kind of settings that is done in Windows perhaps. I have never had problem with this before.
4
1959
by: Edward K. Ream | last post by:
Hello all, Creating a 'Help' menu 'by hand' on the Mac does not work, or rather, it creates a *second* Help menu. There are hints about how to do this at:
1
9514
by: gordon | last post by:
Hi I have an app that i have written a chm help file for. What is the best way to associate that with my help menu and the F1 key. I have added the file to the project already, just not sure of the best way to call it. I have tried private void helpaHelpToolStripMenuItem_Click(object sender, EventArgs e) {
4
3496
by: 73k5blazer | last post by:
Hello again all.. We have a giant application from a giant software vendor that has very poor SQL. It's a PLM CAD application, that makes a call to the db for every cad node in the assembly. So for an assembly with many parts, from remote locations, the performance goes out the window. Locally, it all works fine because network latency is <1ms. But some remote sites we have (that are growing) latency can be as high as 80-100ms.
0
2883
by: hitencontractor | last post by:
I am working on .NET Version 2003 making an SDI application that calls MS Excel 2003. I added a menu item called "MyApp Help" in the end of the menu bar to show Help-> About. The application calls MS Excel, so the scenario is that I am supposed to see the Excel Menu bar, FILE EDIT VIEW INSERT ... HELP. I am able to see the menu bar, but in case of Help, I see the Help of Excel and help of my application, both as a submenu of help. ...
0
8687
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9174
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
9035
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...
0
8884
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7751
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...
0
5875
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4376
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
4629
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3057
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

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.