473,396 Members | 2,011 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,396 software developers and data experts.

Netscape / IE Syntax problem or just differences?

Syntax problem

Link works w/ Netscape

<a href="passwdhlp.html">
<button type="button" name="Help" style="font: 11pt arial bold;
background white;color:red">Help!</button>
</a>

But not with IE

Any corrective suggestion or workaround

Thanks

-- Adam --
Jul 23 '05 #1
2 1543
> <a href="passwdhlp.html">
<button type="button" name="Help" style="font: 11pt arial bold;
background white;color:red">Help!</button>
</a>


I'm no expert on this but I noticed the colon is missing between
'background' and 'white'. Also, you could try 'background-color' instead of
'background'. I'm making the assumption that an error in the style section
could affect functionality.

Trevor
Jul 23 '05 #2
in comp.infosystems.www.authoring.html, Trevor Orton wrote:
<a href="passwdhlp.html">
<button type="button" name="Help" style="font: 11pt arial bold;
background white;color:red">Help!</button>
</a>

It is bad idea to make link look button, much better use plain link.
I'm no expert on this but I noticed the colon is missing between
'background' and 'white'.
Sure. Most likely because op didn't get it right, and didn't send URL to
us check it.
Also, you could try 'background-color' instead of
'background'.
That is always bad idea. What if user has
button { background-image: url(foobar)}

(somewhat unlikely though. But some browsers have such option on skinning
- not sure if it causes problems though)
I'm making the assumption that an error in the style section
could affect functionality.


Button element is useless on practically all purposes, not only because
IE doesn't support it.

Better:
If it needs to look button for some unobvious reason:

[value="help"] {color:red;background:#fff;}

<form method="get" action="passwdhlp.html"><input type="submit"
value="help"></form>

Even better:

a {color:red;border:solid 2px;background:#fff;border-color:#fff #999 #999
#fff;}

<a href="passwordhlp.html">Help</a>

Best:

<a href="passwordhlp.html">Help</a>

(whiout buttonlike style)

--
Lauri Raittila <http://www.iki.fi/lr> <http://www.iki.fi/zwak/fonts>
Jul 23 '05 #3

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

Similar topics

5
by: R. Russell Kinter | last post by:
Hi all, First of all I am fairly new to javascript. Most of my experience has been with its subset vrmlscript, so have mercy. The following script works in I.E. 5.5, but hangs up in Netscape 4.8...
2
by: MV | last post by:
Hi, I want to try and get a lottery type script to run in these two browsers before i put it on my site. It runs OK in I.E.6 and my friend says it works in netscape 7 so i can't see the problem...
9
by: Randall Sell | last post by:
Can anyone confirm if I am being an idiot, or is this a bug in the CSS implementation of Netscape 7.x/Mozilla 1.4 ... give the following single HTML: <html> <head> <style type="text/css">...
7
by: Jonas Smithson | last post by:
Hello all, I have an absolute positioned parent div, and nested inside it is an absolute positioned child div -- I mean the div *code* is nested inside, but the child is physically positioned so...
5
by: zaw | last post by:
Hi I am working on implementing this script to shopping cart. Basically, it copies fill the shipping address from billing automatically. I believe one or more syntax is not netscape compatible....
7
by: David Hayes | last post by:
I tried finding an answer on http://www.quirksmode.org/ without success. I am attempting a complicated Frames structure. I have made it work in IE, but not Netscape. I begin with three...
7
by: David Laub | last post by:
I have stumbled across various Netscape issues, none of which appear to be solvable by tweaking the clientTarget or targetSchema properties. At this point, I'm not even interested in "solving"...
4
by: Vik | last post by:
1. To show the sort order in a datagrid, a label is added to the datagrid header in the ItemCreated event (this method is taken from a book): With lblSorted ..Font.Name = "Webdings" ..Font.Size =...
20
by: W Karas | last post by:
Would the fear factor for concepts be slightly reduced if, instead of: concept C<typename T> { typename T::S; int T::mem(); int nonmem(); };
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: 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
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...
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
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.