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 7039515
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T01:48:28+00:00 2026-05-28T01:48:28+00:00

I have this sample page with links that look like buttons: http://www.problemio.com/problems/problem.php?problem_id=251 Most of

  • 0

I have this sample page with links that look like buttons: http://www.problemio.com/problems/problem.php?problem_id=251

Most of the link-buttons actually look nice, but the one that says “suggest a solution” is extremely wide.

It is styled like this:

a:link.image_button 
{
  display: block;
  background: #4E9CAF;
  padding: 10px;
  text-align: center;
  border-radius: 5px;
  color: white;
  font-weight: bold;
  text-decoration: none;
}

a:visited.image_button 
{
  display: block;
  background: #4E9CAF;
  padding: 10px;
  text-align: center;
  border-radius: 5px;
  color: white;
  font-weight: bold;
  text-decoration: none; 
}

and kind of an interesting thing is that if you press that button, and then press “see existing changes” button, it brings back the original button looking like it was originally meant to.

Here is the html for it:

  <div id="solution_suggestions_title">

                <center><a class="image_button" id="add_existing_suggestion" href="#" title="Click to add your ideas for solving this issue!">Suggest a Solution</a> </center>         

               <center><a class="image_button" style="display: none;" id="show_existing_suggestions" href="#">See Existing Suggestions</a></center> 
           </div>
  • 1 1 Answer
  • 0 Views
  • 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-28T01:48:28+00:00Added an answer on May 28, 2026 at 1:48 am

    It is that wide because it has the property: display: block;.

    If an element has display: block; it always takes the entire width of the parent container by default (unless defined otherwise).

    P.S. I don’t think it does look bad 😛

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

Sidebar

Related Questions

I have an Asp .net page like this simple one http://issamsoft.com/app2/page1.aspx and I want
Assume I have a class that looks like this: class Sample { public string
I have a simple HTML page that looks like this: ...<div id="main"> <a href="#">Click
well i have this messages table with sample values like these: msg_id recipient_id read
I have a script that parses an html page for all the links within
I have a semi-working example that you can look at. This appears to work
I am trying to get a simple page up that will have four links
I have the following page: http://community.mediabrowser.tv/topics?category_id=5&status=published (sample no longer as relevant since it contains
I have this simple Jsp page: <%@ page language=java import=java.awt.Color%> <% Color background =
I have this html page which is very simple, it contains a text box

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.