472,780 Members | 2,037 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,780 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 1521
> <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: Rina0 | last post by:
Cybersecurity engineering is a specialized field that focuses on the design, development, and implementation of systems, processes, and technologies that protect against cyber threats and...
0
by: erikbower65 | last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA: 1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
0
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
0
by: Taofi | last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same This are my field names ID, Budgeted, Actual, Status and Differences ...
14
DJRhino1175
by: DJRhino1175 | last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this - If...
0
by: Rina0 | last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
5
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

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.