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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T10:49:53+00:00 2026-05-11T10:49:53+00:00

I am attempting to build a Tabbed side navigation menu using html/css. I am

  • 0

I am attempting to build a ‘Tabbed’ side navigation menu using html/css.

I am going with the most convenient approach of using a table that has a single row and two cells (columns). The left cell is for the ‘tabs’ and the right cell is for the content to be displayed. The left cell containing the tabs has a right border set to be the divider between the tabs and the content.

Each ‘Tab’ is a div tag within this cell. I then want to eliminate this right border for the selected ‘Tab’. To achieve this I am setting the selected ‘Tab’ div with a margin-right of -1px. The idea is this will essentially offset that div to cover the right border that is set in the underlying table cell. This mechanism works fine in Firefox and Safari, but does not work in IE7. Anyone have an idea on how to get this tor work in IE7?

Note… I have not checked this in IE8 as of yet.

Here is the html…

<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'> <html xmlns='http://www.w3.org/1999/xhtml'> <head>     <title>Side Tabs</title>     <style type='text/css'>         #sidemenu         {             background-color: #DDFFCC;             border-right: 1px solid #BDDCAD;             width: 199px;             vertical-align: top;             text-align: center;         }         #sidemenu div         {             padding: 8px 0px 8px 8px;             border-bottom: 1px solid #BDDCAD;             font-weight: bold;             font-size: 12pt;         }         #sidemenuselected         {             padding: 8px 0px 8px 8px;             border-bottom: 1px solid #BDDCAD;             font-weight: bold;             font-size: 12pt;             background-color: #ffffff;             margin-right: -1px;         }     </style> </head> <body>     <center>         <div style='background-color: #ECF1ED; padding: 16px; width: 600px;'>             <table cellpadding='0' cellspacing='0' style='width: 100%; table-layout: fixed;'>                 <tr>                     <td id='sidemenu'>                         <div style='height: 40px'>                         </div>                         <div>                             Product Specifications</div>                         <div id='sidemenuselected'>                             How It Works</div>                         <div>                             Maintenance</div>                     </td>                     <td>                         <div style='padding: 16px; background-color: #FFFFFF; text-align: left;'>                             Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor                             incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud                             exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute                             irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla                             pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia                             deserunt mollit anim id est laborum. Sed ut perspiciatis unde omnis iste natus error                             sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa                             quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.                         </div>                     </td>                 </tr>             </table>         </div>     </center> </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-11T10:49:54+00:00Added an answer on May 11, 2026 at 10:49 am

    Try a style of

    position: relative; left: 1px 

    on the div#sidemenuselected

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

Sidebar

Ask A Question

Stats

  • Questions 67k
  • Answers 67k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer I've worked in that environment and it became a real… May 11, 2026 at 12:03 pm
  • added an answer Personally, I would simply pass in the book as a… May 11, 2026 at 12:03 pm
  • added an answer In the PreInit function place: this.MasterPageFile = '~/masterPage.master'; Yes, you… May 11, 2026 at 12:03 pm

Related Questions

I am attempting to build a simple method that creates an XML file from
Context: So, I am attempting to build a ridiculously complex domain model. Talking with
I am attempting to POST against a vendor's server using PHP 5.2 with cURL.
I am attempting to parse a string like the following using a .NET regular
I am attempting to set an asp.net textbox to a SQL 2005 money data
I am attempting to read a large XML document and I wanted to do
I am attempting to use the 'tempfile' module for manipulating and creating text files.
I am attempting to devise a system for packing integer values greater than 65535
I am attempting to save an rtf file using FileDialog and would like to
I am attempting to do something simple (I thought) - securing my application using

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.