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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T11:18:50+00:00 2026-05-26T11:18:50+00:00

I have a border around my toggle images and I can’t figure out for

  • 0

I have a border around my toggle images and I can’t figure out for the life of my why – this is with a custom options panel based on http://net.tutsplus.com/tutorials/wordpress/how-to-create-a-better-wordpress-options-panel/

See the attached image: enter image description here

In my functions, how it is being created with markup

<div class="rm_section">
<div class="rm_title">
<h3><img class="inactive" alt="">
<?php echo $value['name']; ?></h3><span class="submit"><input name="save<?php echo $i; ?>" type="submit" value="Save changes" />
</span><div class="clearfix"></div></div>
<div class="rm_options">

MY CSS

.rm_wrap{
    width:740px;
}

.rm_section{

}

.rm_opts label{
    font-size:12px;
    font-weight:700;
    width:200px;
    display:block;
    float:left; 
    color:#444
}
.rm_input {
    padding:30px 15px;
    border-bottom:1px solid #ddd;
    border-top:1px solid #fff;
    margin:8px 0 0;
    background:#f9f9f9;
    -webkit-box-shadow: inset 0px 0px 7px #DDD;
    -moz-box-shadow: inset 0px 0px 7px #DDD;
    box-shadow: inset 0px 0px 7px #DDD;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    border-radius: 7px
}
.rm_opts small{
    display:block;
    float:right;
    width:200px;
    color:#999
}
.rm_opts input[type="text"], .rm_opts select{
    width:280px;
    font-size:12px;
    padding:4px;
    color:#333;
    line-height:1em;
    background:#f3f3f3;
}
.rm_input input:focus, .rm_input textarea:focus{
        background:#fff;
}
.rm_input textarea{
    width:280px;
    height:175px;
    font-size:12px;
    padding:4px;
    color:#333;
    line-height:1.5em;
    background:#f3f3f3;
}
.rm_title h3 {
    cursor:pointer;
    font-size:1.2em;
    margin:17px 0 0;
    color:#333;
    float:left;
    width:80%;
    font-weight:normal;
    padding:0 4px;
}
.rm_title{
    cursor:pointer;
    border-bottom:1px solid #ddd;
    background:#eee;
    -webkit-box-shadow: inset 0px 0px 7px #DDD;
    -moz-box-shadow: inset 0px 0px 7px #DDD;
    box-shadow: inset 0px 0px 7px #DDD;
    padding:0;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    border-radius: 7px
    }

.rm_title h3 img.inactive{
    margin:-7px 10px 0 5px;
    width:32px;
    height:32px;    
    background:url('images/pointer.png') no-repeat 0 0;
    float:left;
    border:none!important
}

.rm_title h3 img.active{
    margin:-7px 10px 0 5px;
    width:32px;
    height:32px;    
    background:url('images/pointer.png') no-repeat  0 -32px;
    float:left;
    border:none!important
}

.rm_title h3:hover img{
    border:none
}

.rm_title span.submit{
    display:block;
    float:right;
    margin:0;
    padding:0;
    width:15%;
    padding:14px 0;
}

.clearfix{
    clear:both;
}

.rm_table th, .rm_table td{
    border:1px solid #bbb;
    padding:10px;
    text-align:center;
}

.rm_table th, .rm_table td.feature{
    border-color:#888;
    }

jQuery

jQuery(document).ready(function(){
        jQuery('.rm_options').slideUp();

        jQuery('.rm_section h3').click(function(){
            if(jQuery(this).parent().next('.rm_options').css('display')==='none')
                {   jQuery(this).removeClass('inactive').addClass('active').children('img').removeClass('inactive').addClass('active');

                }
            else
                {   jQuery(this).removeClass('active').addClass('inactive').children('img').removeClass('active').addClass('inactive');
                }

            jQuery(this).parent().next('.rm_options').slideToggle('slow');
        });
});
  • 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-26T11:18:51+00:00Added an answer on May 26, 2026 at 11:18 am

    Typically, you won’t want borders around your images, so try setting the border width for images explicitly like this:

    img { border:0px; }
    

    In cases where you do want a border around your images, just override the above.

    EDIT

    I see that you have some classes for images specified already in your stylesheet. Instead of setting the border-style to none, try setting the border width to 0. I would also add a space before using !important

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

Sidebar

Related Questions

I have a window with a solid border around it. How can I remove
I'm trying to figure out how i can remove the border under the links
I would like to have fuzzy looking border around my Canvas control. Basically, I
For some reason I have a very ugly orange part of a border around
I need to create control to draw border around its child. So, I have
I have a border layout whose center panel is defined like the below. {
I have the following code: $('a.btn-slide').toggle(function() { $(#SliderDIV).slideDown(fast); $(this).text('Hide/Show'); }); Only in Firefox, when
I want to have a border around ListViewItem (row in my case). ListView source
Is it possible to have a border around an image which is a link
Okay, this is driving me crazy right now. I want to have a border

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.