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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T01:14:33+00:00 2026-05-23T01:14:33+00:00

A bit of a ‘sweat’ – I have come across a first issue with

  • 0

A bit of a ‘sweat’ – I have come across a first issue with Z-index that only affects FF and works fine in IE. I have 2 horizontal divs that overlap each other and take almost 100% width both. There is a side bar on the left in one div and a scrollbar on the right in a second div. Both have the same Z-index and when I press on othe left bar in IE it activates the links and when I press the scrollbar on the right it works fine. BUT in FF – it’s not working. So either I have to set higher index on a left div and then I won’t access the right or the other way round. I need to use both and thing is I cannot really change the divs. Is there any resolution to this ? I’ve tried javascript Z-index shifting but doesn’t work smooth…Thanks.

#left_bar { 
position: relative;
margin-top:-112px;
margin-left:auto;
margin-right:auto;


}

#post_table { // THE SCROLL on the right
position: relative;
margin-top:-800px;
margin-left:auto;
margin-right:auto;
padding-left:182px;
left:-12px;






}

#bar_links { 
// THE LINKS on the left
position: relative;
margin-left:18px;
margin-right: auto;
padding-right:700px;
width: auto;
top:180px;


}
HTML:

<div align="center" id="left_bar" style="white-space:nowrap">
<img src="images/posting.png"/></div>
<div align="center" id="bar_links">    
<a href="javascript:;" onmouseout="MM_swapImgRestore();" 
onmouseover="MM_swapImage('images/slices/lipstick1','','images/slices/lipstick2.png',1);">
<img name="images/slices/lipstick1"src="images/slices/lipstick1.png" 
width="132" height="56" border="0" id="lipstick" /></a>
</div>
<div align="center" id="post_table" style="height: 730px; width:644px; overflow: auto;overflow-    x:hidden;">
<table width="640" id="table_main">
<tr>
<td>    

<?php 

echo "<table cellspacing='1' cellpadding='1' border='0' width='600' align='center'   
id='inner_table'><tr><td>";
    echo "<span style='font-size:11px;color:#dddddd;white-space:nowrap;background-  
image: url(images/branches.png);float:left'>&nbsp;".$post_date."&nbsp;</span>&nbsp;";
    echo "</td></tr><br/>";
    echo "<tr><td align='left' id='post_style'>";
    echo  $posting;
    echo "</tr></td>";
    }; ?>

</td>
</tr>
</table>
</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-23T01:14:34+00:00Added an answer on May 23, 2026 at 1:14 am

    What I can certainly say is that you are almost certain to have issue : Your HTML is not valid at all.

    This line alone will do different thing in different browser :

    echo "</td></tr><br/>";
    

    Second, you speak about a z-index problem, but there is none in the code you supplied. How can we fix something that doesn’t exist?

    Your problem is certainly that $posting; is not displayed in FF but it is in IE. The reason is quite simple : Your #post_table is defined after #left_bar and #bar_links. It is why it appears under them.

    I have no idea what is your idea, but I can confirm you that using lots of negatives margins will be hard to manage. Right now you define 2 box and move a third one over/under them…

    Here’s a jsFiddle using your somewhat corrected+adapted code that look similar in FF and IE.

    You should start by rethinking your layout… And learning proper HTML and CSS.

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

Sidebar

Related Questions

Bit support question. Apologies for that. I have an application linked with GNU readline.
Bit of an open-ended question here, so I'll outline the problem first. We have
Bit of a problem here, basically I have a web address that I use
bit of noob question regarding .Net and C#. I have a function that registers
Bit of a puzzle for you.... I have a 730px wide, auto height div.
Bit of an unusual question, but I have setup a field inside a MySQL
Bit of a philosophical question. If you have a public website with a site
Bit of a strange one here, i have a CCTV system and contacted the
Bit rusty on the sql side as I have not touched in a while
bit of a curly one here let me know if you have any ideas..

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.