473,513 Members | 2,505 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Confusing problem for me

HI,

Can anyone figure out why the words in my menu bar hang out near the
very top of the red bar in Mozilla?

http://aem.cornell.edu/business_test_site/overview/

http://aem.cornell.edu/business_test...ite_styles.css

The words should be vertically centered. They are correct in Safari and
IE 5.2.

Please be kind, I'm learning!

Thanks
Steve

td.toplinks a {
display: block;
text-decoration: none;
height: 100%;
margin: 0;
text-align: center;
font-weight: bold;
font-size: 12px;
color: white;
padding: 6px 3px 6px 3px;
background-color: #b31b1b; }

td.toplinks a:hover {
color: #FFFFFF;
background: #9b1717; }
Jul 21 '05 #1
2 1254
Steve K wrote:
Can anyone figure out why the words in my menu bar hang out near the
very top of the red bar in Mozilla?
[...]
The words should be vertically centered. They are correct in Safari and
IE 5.2.


You should ask yourself whether that menu should really be marked-up as
a table. But, anyway, since your menu options are table cells, you have
a simple way of suggesting that their contents be vertically centered.
Just add the /vertical-align/ property to your CSS definition:

td.toplinks
{
Jul 21 '05 #2
> td.toplinks a {
display: block;
text-decoration: none;
margin: 0;
text-align: center;
font-weight: bold;
font-size: 12px;
color: white;
padding: 6px 3px 6px 3px;
background-color: #b31b1b; }


Delete the height. This should work.

bYe,

Eric.
Jul 21 '05 #3

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

Similar topics

2
4694
by: Marc | last post by:
Hi all, I was using Tkinter.IntVar() to store values from a large list of parts that I pulled from a list. This is the code to initialize the instances: def initVariables(self): self.e =...
2
1644
by: David MacQuigg | last post by:
I'm setting up a large hierarchy of module packages and using a variable to select which of many alternative packages to import. For example, the variable 'config.modsel' points to a particular...
1
1297
by: MLH | last post by:
mysql -h host -u user -p Running the above command expects actual values to be substituted for host and user. User I know about. That can be root. And now I know that this root has NOTHING to do...
4
1571
by: Mark | last post by:
I'm struggling with how to properly name a specific subset of Properties in my classes. An example will illustrate it best. Let's say you have a class named Person with the code below. Each...
2
1553
by: Glenn | last post by:
Hi! I've developed an app that displays multiple textbox and combobox fields (most of which are autopostback) on a form along with a submit button. My users find it confusing when they change...
1
1077
by: Justin Richeson via .NET 247 | last post by:
(Type your message here) Ok...wow...this is really confusing, but I think it's similar towhat I'm trying to do. I'm looking to create a program thatwill search a "plugins" subdirectory (from where...
2
2062
by: d3vkit | last post by:
Okay so I can NOT get my while loop to work. It's the most confusing thing I've ever come across. It was working fine and then suddenly, nothing. No error. The page just dies. I am using PHP5 with...
11
3359
by: !truth | last post by:
Hi, i feel confused about the following program, and it's works to get a pointer-member's address. #define NETDEV_ALIGN 32 #define NETDEV_ALIGN_CONST (NETDEV_ALIGN - 1) ...
11
1550
by: James R. Davis | last post by:
Yes, a newbie here. Though I am making progress, slowly, I am also getting more and more confused. With ASP, when I wanted to do something as trivial as updating a visitor counter, I...
7
1355
by: Andy B | last post by:
I saw this in the set accessor of a property: Set(ByVal value As DataSet) What exactly does the stuff in the () mean? VS complained about it not being there when I took it out not knowing...
0
7260
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
7539
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
7101
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
7525
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
5686
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
5089
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
4746
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...
0
3222
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
456
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...

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.