Hi,
I have just written some simple rollover links in a table using CSS classes.
It views perfectly in IE but has added a couple of pixels on the top and
bottom of the row when you view it in Mozilla.
Please have a look at http://www.dovenetq.net.au/~gabrielle/
The CSS for the links are:
..nav A:link {
background-color: #FFFFFF;
display: block;
padding: 5px 0px 0px 12px;
width: 214px;
height: 28px;
font:Arial, Helvetica, sans-serif;
font-size:14px;
font-weight:bold;
color:#88898d;
text-decoration: none;
border-right: 1px solid #88898D;
}
..nav A:active {
background-color: #4d4d4d;
display: block;
padding: 5px 0px 0px 12px;
width: 214px;
height: 28px;
font:Arial, Helvetica, sans-serif;
font-size:14px;
font-weight:bold;
color: #FFFFFF;
border-right: 1px solid #88898D;
text-decoration: none;
}
..nav A:visited {
background-color: #FFFFFF;
display: block;
padding: 5px 0px 0px 12px;
width: 214px;
height: 28px;
font:Arial, Helvetica, sans-serif;
font-size:14px;
font-weight:bold;
color:#88898d;
text-decoration: none;
border-right: 1px solid #88898D;
}
..nav A:hover {
background-color: #4d4d4d;
display: block;
padding: 5px 0px 0px 12px;
width: 214px;
height: 28px;
font:Arial, Helvetica, sans-serif;
font-size:14px;
font-weight:bold;
color: #FFFFFF;
border-right: 1px solid #88898D;
text-decoration: none;
}
If someone could help I would really appreciate it.
Thanks,
Gabrielle 9 1845
Norm Gibson wrote: I have just written some simple rollover links in a table using CSS classes.
It views perfectly in IE but has added a couple of pixels on the top and bottom of the row when you view it in Mozilla.
In almost all cases where Mozilla and IE render differently, it is IE
that is at fault, not Mozilla.
Please have a look at http://www.dovenetq.net.au/~gabrielle/
Remove "height: 28px;" from the ".nav a:..." styles. Or remove
"padding:5px 0px 0px 12px;". Mozilla respects both the height and padding
specs, adds them together and expands the cell height to accommodate the
additional space; IE does not. The table cell height and width attributes
are more presentation guidelines rather than hard requirements.
Please validate your html and css before posting.
The CSS for the links are:
.nav A:link { [...] font:Arial, Helvetica, sans-serif; font-size:14px;
1. Incorrect syntax. It should be "font-family: Arial, Helvetica,
sans-serif;".
2. Using a font size in pixels (or points) is a bad plan. The text cannot
be scaled in IE for those with visual challenges. Use % or EMs.
3. Arial is not a very good screen font. If you must use a Microsoft font,
use tahoma (verdana has its own problems). Helvetica is almost universally
available and looks well in both screen and print.
--
jmm dash list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Once upon a time *Jim Moe* wrote: Norm Gibson wrote: I have just written some simple rollover links in a table using CSS classes.
It views perfectly in IE but has added a couple of pixels on the top and bottom of the row when you view it in Mozilla. In almost all cases where Mozilla and IE render differently, it is IE that is at fault, not Mozilla.
Please have a look at http://www.dovenetq.net.au/~gabrielle/ Remove "height: 28px;" from the ".nav a:..." styles. Or remove "padding:5px 0px 0px 12px;". Mozilla respects both the height and padding specs, adds them together and expands the cell height to accommodate the additional space; IE does not. The table cell height and width attributes are more presentation guidelines rather than hard requirements.
Please validate your html and css before posting.
The CSS for the links are:
.nav A:link { [...] font:Arial, Helvetica, sans-serif; font-size:14px; 1. Incorrect syntax. It should be "font-family: Arial, Helvetica, sans-serif;". 2. Using a font size in pixels (or points) is a bad plan. The text cannot be scaled in IE for those with visual challenges. Use % or EMs.
And if any font size is set, use 100% as it's most users "normal"
(default) size.
3. Arial is not a very good screen font. If you must use a Microsoft font, use tahoma (verdana has its own problems). Helvetica is almost universally available and looks well in both screen and print.
What's wrong with Arial? It's a very good looking font in my opinion,
most used font on websites and installed on every computer I belive.
Tahoma is very ugly, at least in "normal" or larger sizes. How
universally is Helvetica? I don't have on my Windows computer.
--
/Arne
Top posters will be ignored. Quote the part you
are replying to, no more and no less! And don't
quote signatures, thank you.
> What's wrong with Arial? It's a very good looking font in my opinion, most used font on websites and installed on every computer I belive. Tahoma is very ugly, at least in "normal" or larger sizes. How universally is Helvetica? I don't have on my Windows computer.
Uh oh, NOW you've gone and done it. Let the "Arial sucks" barrage begin.
--
Mr. Wilson
Gazing into my crystal ball I observed Arne <in*****@domain.invalid>
writing in news:3i************@individual.net: What's wrong with Arial? It's a very good looking font in my opinion, most used font on websites and installed on every computer I belive. Tahoma is very ugly, at least in "normal" or larger sizes. How universally is Helvetica? I don't have on my Windows computer.
I usually do arial, helvetica, sans-serif. IIRC Helvetica is Mac's version
of Arial, but there are PC versions of it available. I have it on my
system, it's actually quite nice.
--
Adrienne Boswell http://www.cavalcade-of-coding.info
Please respond to the group so others can share
Adrienne wrote: I usually do arial, helvetica, sans-serif. IIRC Helvetica is Mac's version of Arial, but there are PC versions of it available. I have it on my system, it's actually quite nice.
Helvetica was designed in the 1920s. Arial is MS's answer to Helvetica
since no Truetype version of Helvetica existed in the early 1990s.
Nevertheless Helvetica is pre-loaded on almost all operating systems:
Windows, linux, macOS, etc.
--
jmm dash list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Gazing into my crystal ball I observed Jim Moe
<jm***************@sohnen-moe.com> writing in
news:gd********************@giganews.com: Adrienne wrote: I usually do arial, helvetica, sans-serif. IIRC Helvetica is Mac's version of Arial, but there are PC versions of it available. I have it on my system, it's actually quite nice.
Helvetica was designed in the 1920s. Arial is MS's answer to Helvetica since no Truetype version of Helvetica existed in the early 1990s. Nevertheless Helvetica is pre-loaded on almost all operating systems: Windows, linux, macOS, etc.
Thanks for posting. You learn something new everyday.
--
Adrienne Boswell http://www.cavalcade-of-coding.info
Please respond to the group so others can share
Adrienne wrote: Gazing into my crystal ball I observed Jim Moe <jm***************@sohnen-moe.com> writing in news:gd********************@giganews.com:
Adrienne wrote:
I usually do arial, helvetica, sans-serif. IIRC Helvetica is Mac's version of Arial, but there are PC versions of it available. I have it on my system, it's actually quite nice.
Helvetica was designed in the 1920s. Arial is MS's answer to Helvetica since no Truetype version of Helvetica existed in the early 1990s. Nevertheless Helvetica is pre-loaded on almost all operating systems: Windows, linux, macOS, etc.
Thanks for posting. You learn something new everyday.
And some of what you learn is wrong. Helvetica is NOT pre-loaded on
most Windows systems.
Gazing into my crystal ball I observed C A Upsdell <""cupsdellXXX\"@-@-
@XXXupsdell.com"> writing in news:ac********************@rogers.com: Adrienne wrote: Gazing into my crystal ball I observed Jim Moe <jm***************@sohnen-moe.com> writing in news:gd********************@giganews.com:
Adrienne wrote:
I usually do arial, helvetica, sans-serif. IIRC Helvetica is Mac's version of Arial, but there are PC versions of it available. I have it on my system, it's actually quite nice.
Helvetica was designed in the 1920s. Arial is MS's answer to Helvetica since no Truetype version of Helvetica existed in the early 1990s. Nevertheless Helvetica is pre-loaded on almost all operating systems: Windows, linux, macOS, etc.
Thanks for posting. You learn something new everyday.
And some of what you learn is wrong. Helvetica is NOT pre-loaded on most Windows systems.
Actually, I don't think it's preloaded on ANY windows system.
--
Adrienne Boswell http://www.cavalcade-of-coding.info
Please respond to the group so others can share
Adrienne wrote: Gazing into my crystal ball I observed C A Upsdell <""cupsdellXXX\"@-@- @XXXupsdell.com"> writing in news:ac********************@rogers.com:
Adrienne wrote:
Gazing into my crystal ball I observed Jim Moe <jm***************@sohnen-moe.com> writing in news:gd********************@giganews.com: Adrienne wrote:
>I usually do arial, helvetica, sans-serif. IIRC Helvetica is Mac's >version of Arial, but there are PC versions of it available. I have >it on my system, it's actually quite nice. >
Helvetica was designed in the 1920s. Arial is MS's answer to Helvetica since no Truetype version of Helvetica existed in the early 1990s. Nevertheless Helvetica is pre-loaded on almost all operating systems: Windows, linux, macOS, etc. Thanks for posting. You learn something new everyday.
And some of what you learn is wrong. Helvetica is NOT pre-loaded on most Windows systems.
Actually, I don't think it's preloaded on ANY windows system.
Might be, if ATM were preloaded. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Max Quordlepleen |
last post by:
Apologies for the crossposting, I wasn't sure which of these groups to
ask this in.
I have been lurking in these groups for a week or so, trying to glean
what I need to design a simple, clean...
|
by: Matthew |
last post by:
http://www.osbornewood.com/products.cfm?type=Island_Legs&tables=false
The content of this page is pushed down below the bottom of the content of
the sidebar in IE 6.
Mozilla and Netscape have no...
|
by: Jonivar Skullerud |
last post by:
I am trying to create a set of pages with a standard layout with
banner and horizontal navigation bar at the top of the page. Ideally
i would do this without use of tables, but it seems i will be...
|
by: George Hester |
last post by:
http://tinyurl.com/5uj6w
The lower middle icon the "block" should not drop down when the mouse is over it. How can I stop that?
Also the navigation divs both top and bottom should follow the...
|
by: mr_burns |
last post by:
Hi there,
I am using the following function to import a xml file whether the
users browser be IE or Mozilla:
function importXML(file) {
var xmlDoc;
var moz = (typeof document.implementation...
|
by: thatseattleguy |
last post by:
I'm stumped. Visit:
http://positivesweat.com/class.html
....and look at the tables in the middle labeled "morning" and
"evening". Do this in both IE and Firefox.
The tables appear to me to...
|
by: fishwick |
last post by:
I haven't really done any css in quite a while, and am banging my head
against the wall trying get the rudimentary layout together of a church
website home page to display correctly - I don't want...
|
by: johnd126 |
last post by:
I have a cgi program which outputs a fairly hefty amount of
html/javascript for doing a complex slide show sorta thing in a variety
of areas in the browser. I accomplish this by creating a series...
|
by: psynox |
last post by:
I need the folowing help. My web is divided in two frames, up for the menu and the main for the page. I use Layout tables to struct my page. However using tables is bit same. But I got problems when...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
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,...
|
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...
|
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...
| |