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

  • Home
  • SEARCH
  • 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 177119
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T13:59:52+00:00 2026-05-11T13:59:52+00:00

UPDATE #2: I have solved almost all my issues bar the one major one.

  • 0

UPDATE #2: I have solved almost all my issues bar the one major one. With the same structure and CSS IE7/6 displays each a with 100% width of it’s container. I need this to no happen. Besides that everything else is fine. Can anyone enlighten me?

UPDATE: Should Look Like This

alt text

I have the following html page (detailed below). It simply renders 2 styled buttons from the links. My problem is IE6 & 7 renders it differently than Firefox, Safari, IE8 and Chrome that all render it correctly.

I have been banging my head against the wall for a day now trying to make it work in IE6/7. Can anyone offer advice as to what I am doing wrong?

Thanks

<html>   <head>     <style>        .niw-button {           background:      #1f81c0 url(niw-btn-gradient-normal.png) repeat-x;           border:          none;           color:           #fff;           display:         inline-block;           font-weight:     bold;           margin-right:    6px;           min-width:       95px;           padding:         2px;           text-decoration: none;       }        .niw-button:hover {           background: #5e698f url(niw-btn-gradient-hover.png) repeat-x;       }        .niw-button > .niw-button-contents {           border: 1px solid #73b1da;       }        .niw-button > .niw-button-contents:hover {           border: 1px solid #99a1bc;       }        .niw-button .niw-button-icon {           background-position: center;           background-repeat:   no-repeat;           float:               right;           height:              25px;           width:               27px;       }        .niw-button .niw-button-text {           height:         25px;           line-height:    1.5em;           padding-left:   5px;           padding-right:  27px;           text-align:     center;           text-transform: uppercase;       }        .right-align {         float:right;       }        .niw-icon-cancel {           background-image: url(niwater_cancelIcon.png);       }     </style>   </head>   <body>     <a class='niw-button right-align' href='#'>       <div class='niw-button-contents'>           <div class='niw-button-icon niw-icon-cancel'></div>           <div class='niw-button-text'>Cancel</div>       </div>     </a>     <a class='niw-button' href='#'>       <div class='niw-button-contents'>           <div class='niw-button-icon niw-icon-cancel'></div>           <div class='niw-button-text'>Cancel</div>       </div>     </a>   </body> </html> 
  • 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. 2026-05-11T13:59:53+00:00Added an answer on May 11, 2026 at 1:59 pm

    EDIT: Now that I understand your image:

    Just make your <a> elements block elements with display:block and put some kind of span inside of them to hold the icon. Or you could make the whole thing an image…

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

Sidebar

Related Questions

No related questions found

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.