Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 883829
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T12:39:22+00:00 2026-05-15T12:39:22+00:00

There is a common practice of using <a></a> tags to markup beautiful buttons, with

  • 0

There is a common practice of using <a></a> tags to markup beautiful buttons, with onlick and onhover style change, etc. Which looks and behaves great, on most part.

Although there turned out to be a HUGE problem, which was not very obvious on start. The problem is that these beautiful “buttons” open new windows on middle click, either blank or with the same content as current one (depends on whether one uses # or javascript:; to disable href part).

Now I’ve got JavaScript RIA with buttons all over it, opening new windows on middle click… Lame…

At first I even couldn’t understand why I get sometimes those blank pages in the browser.

Since it’s pretty established practice to use links in such manner, maybe there is any established way to deal with described problem?

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T12:39:23+00:00Added an answer on May 15, 2026 at 12:39 pm

    What I did in the end, was that I replaced all <a>...</a> tags with <span>...</span>s. The only problem with this is that IE doesn’t support :active on spans, so I do not really get interactive buttons anymore in IE.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there a standard/common way to give compiler-style error messages that point to a
Is there a common method/best practice/any means for combining forms that span multiple related
Using static class members in a class is a common practice. consider the following
This might be a stupid question, but is there any common practice for initializing
I know using images with different DPI is a fairly common practice in Android.
As I known, there are two common kinds of practices to ensure the thread
Is there a common standard for reporting errors in your class functions? I've seen
Is there a common interface in Python that I could derive from to modify
Is there a common method/api to list all web browsers (name, executable, default yes/no)
Is there a common way of counting source lines of code (SLOC) in a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.