HighDots Forums  

Re: Make submit look like a text link

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Re: Make submit look like a text link in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
Swifty
 
Posts: n/a

Default Re: Make submit look like a text link - 01-05-2009 , 01:44 PM






Chaddy2222 wrote:
Quote:
If you really want to do this, don't as I said. Main reason being, it
does not look like a normal link. If you really want to do this, add
some extra CSS to control how the link looks. But I would not suggest
doing that.
Would it be better if you used a real link, with a javascripted action,
itself created by Javascript, and put your button that looks like a link
inside a <NOSCRIPT></NOSCRIPT> pair?

So the javascripted link would appear if you have javascript enabled,
but if Javascript were disabled then you'd get your facsimile.

Ok, there is the pathological case where the javascript link appears,
and then the user turns Javascript off, but now we're talking about a
truly minuscule proportion of users.

I use such a technique in pages built by CGI scripts. It's an absolute
nightmare getting the single/double quotes correct, from a scripted
language that has its own convention for quotes. But once you have it
working, it runs just fine.

--
Steve Swift
http://www.swiftys.org.uk/swifty.html
http://www.ringers.org.uk


Reply With Quote
  #12  
Old   
Jeff
 
Posts: n/a

Default Re: Make submit look like a text link - 01-05-2009 , 03:44 PM






Swifty wrote:
Quote:
Chaddy2222 wrote:
If you really want to do this, don't as I said. Main reason being, it
does not look like a normal link. If you really want to do this, add
some extra CSS to control how the link looks. But I would not suggest
doing that.

Would it be better if you used a real link, with a javascripted action,
itself created by Javascript, and put your button that looks like a link
inside a <NOSCRIPT></NOSCRIPT> pair?

So the javascripted link would appear if you have javascript enabled,
but if Javascript were disabled then you'd get your facsimile.

Ok, there is the pathological case where the javascript link appears,
and then the user turns Javascript off, but now we're talking about a
truly minuscule proportion of users.

I use such a technique in pages built by CGI scripts. It's an absolute
nightmare getting the single/double quotes correct, from a scripted
language that has its own convention for quotes. But once you have it
working, it runs just fine.

One word: heredoc

Jeff
Quote:

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.