> <?xml version="1.0" encoding="utf-8"?>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
You apparently haven't been paying attention. Not surprising from
someone with an AOL address. :-\
> a {
> width:155px;
Setting the size of text elements in px units is using the wrong tool
for the job.
> display:block; /* change to inline for horizontal menu */
> margin-left:10px; /*indents left margin; change for horiz. menu */
You are aware that width and margin properties will be ignored on inline
elements?
> font-size:9pt;
Now I know you haven't been paying attention.
> a:hover {
> background-color:navy;
> color:red;
You don't expect your visitors to actually be able to read it, do you?
> font-style:italic;
Oh, the evils of font changes on :hover! I can just see the page having
convulsions now!
> <body >
> <a href="http://www.google.com" target="_blank">
> Go To Google
> </a>
BTW, that's invalid XHTML in more ways than one. Besides, opening new
windows without warning the visitor, especially for every bloody link,
is just plain poor usability.
Start over, please.

Signature
Berg
Johannes Koch - 31 May 2007 15:11 GMT
Bergamot schrieb:
>> a {
>> width:155px;
[quoted text clipped - 7 lines]
> You are aware that width and margin properties will be ignored on inline
> elements?
width, yes, margin, no. See <http://www.w3.org/TR/CSS21/propidx.html>.
Btw, see the line "display:block;".

Signature
Johannes Koch
In te domine speravi; non confundar in aeternum.
(Te Deum, 4th cent.)
Bergamot - 31 May 2007 19:58 GMT
> Bergamot schrieb:
>>> a {
[quoted text clipped - 6 lines]
>
> width, yes, margin, no. See <http://www.w3.org/TR/CSS21/propidx.html>.
I stand corrected. I never use margins on non-replaced inline elements
so didn't think to check the specs.
> Btw, see the line "display:block;".
I was referring to the poster's comments about the horizontal menu.

Signature
Berg
The code is not really what I was looking for.
I want to user to "belive" that link is a button (users say tha they
can't see an option in my app, because it is a link, not a normal
button).
What I need is sth like this:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title></title>
</head>
<body>
<input type="submit" value="google"/>
<br/>
<a href="http://www.google.com">google</a>
</body>
</html>
Link should look like button above this link. Without any backgrounds,
gifs, different widths, heights... just a plain normal button.
Jukka K. Korpela - 31 May 2007 17:01 GMT
Scripsit dwaszak@gmail.com:
> The code is not really what I was looking for.
If you are commenting on something, you should indicate what you are
commenting on. Why don't you go all the way and learn how to post to Usenet
decently?
> I want to user to "belive" that link is a button
And you want us to help to you to deceive users? What do _we_ get from
participating in your forgery?
> (users say tha they
> can't see an option in my app, because it is a link, not a normal
> button).
Your "app" must be rather crappy. You have misled people and now you "solve"
this by misleading them more.
> Link should look like button above this link.
And how do you expect to know how a button looks like, if it looks like
anything?
> Without any backgrounds,
> gifs, different widths, heights... just a plain normal button.
You're just a plain normal clueless newbie who seems to have decided to
remain clueless. Otherwise you would have posted a URL, and someone might
have told you where to go to have your page redesigned.

Signature
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/
Bergamot - 31 May 2007 20:11 GMT
> <input type="submit" value="google"/>
> <a href="http://www.google.com">google</a>
>
> Link should look like button above this link.
As Mr Koch has already mentioned, buttons look different on different
systems. Their style is determined by the Operating System and the
user's desktop theme.
You cannot get a link to look like a "button" to everyone. It has to be
declared as a form control for that.

Signature
Berg