Solved

Firefox displays vertical scroll - IE doesn't

Posted on 2010-08-28
9
341 Views
Last Modified: 2012-05-10
I have my code ready to deliver.  It works great in IE.  When I looked at it in Firefox, the screen height is reduced and there's a vertical scroll bar.  Ouch.

What can I do to display it properly in Firefox?  Any ideas on where to look?

The code is 850 lines long so I won't post it.  But I have screen-shots that I will attach.
The program is written in PHP.

Naturally I suspect a CSS issue -- but after changing it for the past 5 days, I can't find a solution.  Any suggestions?
 Display using MSIE -- works good Display using Firefox - does not give full height
0
Comment
Question by:BillBB
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
9 Comments
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 33550100
Is the "View Source" small enough to post?  That will show what's wrong.  After all, that's what the browser sees.
0
 

Author Comment

by:BillBB
ID: 33550296
Sure... here it is.
<!-- Output basic HTML code -->
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" type="text/css" href="bbstyle.css">

<title>VCCA Members Area</title>

<!--BEGINNING of CSS INFO-->
<!--END of CSS INFO-->

<script type="text/javascript">
function change_color_scheme(id)
{
	window.location = 'dirLIST_files/chng_clschm.php?folder=&id='+id;
}

function set_language()
{
	window.location = 'dirLIST_files/set_language.php?folder=&lang_id='+document.getElementById('language_selection').value;
}
</script>

<script type="text/javascript" src="menu/stmenu.js"></script>

</head>
<body>

<!--beginning of HEADER-->
<div style="text-align:center">
<div id="main_div">

<p class="style11">
Members Area&nbsp;&nbsp;&nbsp;&nbsp; ~&nbsp;&nbsp; &nbsp;&nbsp; Members Only&nbsp;&nbsp;&nbsp;&nbsp; ~&nbsp;&nbsp;&nbsp; &nbsp; 

Members Area&nbsp;&nbsp;&nbsp;&nbsp; ~&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Members Only

<p id="color_scheme1" class="style1" class="style5">

<div id="header">

<!--below modified by BB-->
<!--<div style="height:81px; overflow:hidden">-->

<div class="left" style="padding-top:5px; padding-left:5px">
	<img src="images/logo.png" alt="VCCA Logo"></div>
<div class="left"  style=" padding-top:15px; padding-left:5px" >
	<img src="images/logo_name.png" alt="VCCA"></div>

<div class="clear"  align="center" style="height: 35px" >
	<script type="text/javascript" src="menu/menu.js" language="javascript"></script>
    </div>
    
<!--end of HEADER-->

<p id="color_scheme1" class="style1">
<strong>

<!-- Output basic HTML code done -->

<table width="725" border="0" cellspacing="0" cellpadding="0"><tr><td><font size="3" font color = "#FFB70D";><i><b>Breadcrumbs> <a href="index6.php"></i><font size="3" font color = "white";>VCCAdocs</b></a>/</font></color></td></tr></table><br />

<table width="725" border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td width="320" rowspan="2" valign="top"><br />        </td>
        
        <td width="222" rowspan="2" align="center" valign="top">
        
            <table width="175" border="0" cellpadding="2" cellspacing="2" class="table_border">
                                                                        </table>
        </td>
        
			</table>

<table width="725" border="0" cellspacing="5" cellpadding="5">
    <tr>
    	<td width="450" class="top_row"><a class="sort" href="dirLIST_files/sort.php?by=name&folder=">Name</a></td>
    	<td width="100" class="top_row"><a class="sort" href="dirLIST_files/sort.php?by=size&folder=">Size</a></td>
    	<td width="125" class="top_row"><a class="sort" href="dirLIST_files/sort.php?by=date&folder=">Date Uploaded</a></td>
  </tr>
</table>
<table width="725" border="0" cellspacing="5" cellpadding="5"><tr class="folder_bg"><td width="450"><div style="float:left;width:410px"> <a href="index6.php?folder=QURTX2luX3RoZV9HJkQ=">ADS_in_the_G&D</a></div></td><td width="100">197.24 MB</td>

		<td width="125">21 August 2010</td></tr><tr class="folder_bg"><td width="450"><div style="float:left;width:410px"> <a href="index6.php?folder=Rk9STVM=">FORMS</a></div></td><td width="100">164.5 KB</td>
		<td width="125">21 August 2010</td></tr><tr class="folder_bg"><td width="450"><div style="float:left;width:410px"> <a href="index6.php?folder=R1JBUEhJQ1M=">GRAPHICS</a></div></td><td width="100">10.28 MB</td>
		<td width="125">21 August 2010</td></tr><tr class="folder_bg"><td width="450"><div style="float:left;width:410px"> <a href="index6.php?folder=SlVER0lORw==">JUDGING</a></div></td><td width="100">616.8 KB</td>

		<td width="125">21 August 2010</td></tr><tr class="folder_bg"><td width="450"><div style="float:left;width:410px"> <a href="index6.php?folder=TUFOVUFMUw==">MANUALS</a></div></td><td width="100">7.44 MB</td>
		<td width="125">21 August 2010</td></tr><tr class="folder_bg"><td width="450"><div style="float:left;width:410px"> <a href="index6.php?folder=TUVFVF9SRUdJU1RSQVRJT05fRm9ybXM=">MEET_REGISTRATION_Forms</a></div></td><td width="100">6.57 MB</td>
		<td width="125">21 August 2010</td></tr><tr class="folder_bg"><td width="450"><div style="float:left;width:410px"> <a href="index6.php?folder=VEVDSE5JQ0FMX0lORk8=">TECHNICAL_INFO</a></div></td><td width="100">2.85 MB</td>

		<td width="125">21 August 2010</td></tr></table><br>
<!-- Output basic HTMl code -->

<!--beginning of FOOTER-->
<div class="style3">
<div class="subheader" style="text-align:center; height: 39px;">Vintage Chevrolet Club of America<br>&quot;The World's Best Chevrolet Club.&quot;</div></div>

        <div class="text_verdana" style="text-align:center">
<div class="style11"> 
        A nonprofit organization dedicated to the restoration
          and preservation of all Chevrolets.</div>
          </div>   
          
    <div id="footer">

<!--    <div class="textstyle clear">&nbsp;&copy; All Rights Reserved with The Vintage Chevrolet Club of America</div> -->
<p>&nbsp;&copy; All Rights Reserved with The Vintage Chevrolet Club of America</p>
    </div>
    
    </body>
</html>
<!-- Output basic HTMl code done -->

Open in new window

0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 33550353
Ok, without the CSS file it displays Ok.  Can you post the "bbstyle.css" file?
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:BillBB
ID: 33550411
here it is.
bbstyle.css
0
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 500 total points
ID: 33550482
You have "#main_div" in your CSS file twice.  I killed "overflow: auto; height: auto;" and the scroll bar went away.  You also have a missing end tag for the header div </div> on line 52 of the "View Source".  There are still spacing differences between IE and Firefox.
0
 

Author Comment

by:BillBB
ID: 33550518
I had to take wife to hospital. Will resume when I get back.
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 33550557
No problem.
0
 

Author Closing Comment

by:BillBB
ID: 33550729
Thanks for sticking with me... I swear that I tried each of these changes earlier... but maybe not all at the same time.
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 33550787
I understand.  Thanks.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to build a web site 17 95
Can anyone help me find this preloader? 51 64
CSS for Popup in ASP.NET 4 41
Chrome: Cannot find installed extension (Window resizer) 8 42
This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
In this tutorial viewers will learn how to customize the background color and font color of highlighted text using the ::selection element in CSS Begin by defining the selected text as an element in CSS by typing "::selection": Style the ::selection…
In this tutorial viewers will learn how to style different bullet points for unordered lists in CSS. Begin with a normal unordered list; the default bullet point is a solid circle: In the CSS, create a defined class of unordered list by typing "ul.S…

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question