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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T05:37:34+00:00 2026-05-24T05:37:34+00:00

the link: http://xanlz.com/test/one.html the html: <div class=codepg-tabtp rounded-corner> <div class=cdpgtabtp> <ul> <li class=tab1 cdpgactive><a

  • 0

the link: http://xanlz.com/test/one.html

the html:

<div class="codepg-tabtp rounded-corner">

  <div class="cdpgtabtp">
     <ul>
        <li class="tab1 cdpgactive"><a href="javascript:void(0);" style="background: none repeat scroll 0% 0% transparent;"><span>PHP</span></a></li>
        <li class="tab2"><a href="javascript:void(0);"><span>PHP</span></a></li> 
        <li class="tab3"><a href="javascript:void(0);"><span>PHP</span></a></li> 
         <li class="tab4"><a href="javascript:void(0);"><span>PHP</span></a></li> 
        <li class="tab5"><a href="javascript:void(0);"><span>jasp</span></a></li> 
        <li class="tab6"><a href="javascript:void(0);"><span>javascript</span></a></li> 
     </ul>
  </div>

   <div class="codepg-tabtpct">
   <div class="tab1" style="display: block;">
 <ul class="item-list itemlist">
 <li class="odd"><a  target="_blank" href="#">example one two </a> <span>07-27</span></li>
<li class="even"><a  target="_blank" href="#">example one two </a> <span>07-27</span></li>
<li class="odd"><a  target="_blank" href="#">example one two </a> <span>07-27</span></li>
<li class="even"><a  target="_blank" href="#">example one two </a> <span>07-27</span></li>
<li class="odd"><a  target="_blank" href="#">example one two </a> <span>07-27</span></li>
<li class="even"><a  target="_blank" href="#">example one two </a> <span>07-27</span></li>
<li class="odd"><a  target="_blank" href="#">example one two </a> <span>07-27</span></li>
<li class="even"><a  target="_blank" href="#">example one two </a> <span>07-27</span></li>
<li class="odd"><a  target="_blank" href="#">example one two </a> <span>07-27</span></li>
<li class="even"><a  target="_blank" href="#">example one two </a> <span>07-27</span></li>
<li class="odd"><a  target="_blank" href="#">example one two </a> <span>07-27</span></li>
<li class="even"><a  target="_blank" href="#">example one two </a> <span>07-27</span></li>
<li class="odd"><a  target="_blank" href="#">example one two </a> <span>07-27</span></li>
<li class="even"><a  target="_blank" href="#">example one two </a> <span>07-27</span></li>

</ul>
 .......
 </div>

 </div>

</div>

the css:

.codepg-tabtp{
    border: 1px solid #94D5ED;
    height: 256px;
    margin-top: 10px;
    padding: 1px;
    width: 766px;
}
#tabs-content ul, ul.item-list, .hot-version .list-content {
    padding: 3px 0 0 7px;
}

the tab’s content shows abnormal under IE7.but ok under firefox. how to make it show normal under IE7. thank you

enter image description here

the li shows abnormal under IE7

  • 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-24T05:37:35+00:00Added an answer on May 24, 2026 at 5:37 am

    It looks the same to me in Chrome, Firefox and IE7, except that there is a slight shift in the tabs as I mouseover.

    This is probably from extra padding on the .cdpgactive class. Zeroing it out fixed that shift. Not sure if that’s the issue you mention.

    .cdpgtabtp li.cdpgactive a, .codepg-tabdw li.cdpgactive a {
        background: url("images/cdpgtab_l.gif") no-repeat scroll 0 0 transparent;
        height: 29px;
        padding: 0px;
    }
    

    EDIT: I don’t think that’s the main issue – there’s also an overlap on the items in the tabs in IE7. So, that’s not a good solution yet.

    UPDATE:
    Setting a height on the containing ul and adding more margin on the li.even fixes it for me:

    ul.item-list {
      height:400px;
      padding-bottom:0;
      padding-left:7px;
      padding-right:0;
      padding-top:3px;
    }
    
    .codepg-tabtpct ul.item-list li.even {
      float:right;
      margin-right:44px;
    }
    

    UPDATE:

    Good catch. Setting the width of the li.odd should fix the alignment issue:

    .codepg-tabtpct ul.item-list li.odd {
      float:left;
      width:200px;
    }
    

    Screenshot:
    http://img94.imageshack.us/img94/6999/cssie72.png

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

Sidebar

Related Questions

JSFiddle link: http://jsfiddle.net/dqkZN/32/ Here is the relevant code: <div class=categories> <h3> <img src=http://i.imgur.com/t5UXT.gif />
Link: http://www.fraynepainting.com/services The problem is that div#dditem_2 (the div with the Take a look...
This link http://ajaxcontroltoolkit.codeplex.com/releases/view/11121#DownloadId=28808 shows a popup on which one has to agree before being
Heres my link: http://tinyurl.com/6j727e If you click on the link in test.php, it opens
code link: http://jsbin.com/ozoma3/edit codes (can copy/paste to a .html file, and run it) :
Demo link: http://elevation-inc.com/dev/test/ieform/ In IE 6/7/8 - if you enter a term into a
old domain link: http://www.old.com/aa/bb/cc.html i want when this old link to be visiting,turn to:
This link: http://doc.trolltech.com/4.5/moc.html#moc says The moc tool reads a C++ header file. If it
at this link: http://jqueryui.com/demos/tabs/ when we look view source, we have: <div id=tabs> <ul>
I have a code download image from link http://www.bitrepository.com/download-image.html When start is link format:

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.