Solved

Scroll bar code problem

Posted on 2007-03-26
5
218 Views
Last Modified: 2010-04-25
Using dreamweaver ver 8 creating scroll bar area with this code. It works but is also creating a left to right scroll bar that I don't need and I can't seem to get rid of it. Any suggestions please?
here is a page link http://wiregrassfoundation.org/index-6.html

<table cellpadding="0" cellspacing="0" border="0">
                                                                                                                              <tr>
                                                                                                                                <td valign="top" width="405" height="340"><div style="margin:27 30 0 29px "><img src="images/6_w1.gif" alt="" width="145" height="16" border="0" style="margin-bottom:13px">
                                                                                                                                  <div style="overflow:auto; height:300px; width:350                                                                                                                                    0px;">
                                                                                          <p><strong>2005 Grant Recipients</strong><br>
<br>
Alfred Saliba Family Services $ 450,000<br>
Family Health Clinic<br>
 
to be distributed at $150,000<br>

per year for three years<br><br>



 

Dothan Area Chamber Foundation $120,000<br>
Envision Dothan<br><br>



 

American Red Cross - Local Chapter $50,000<br>

Local Evacuees/Hurricane Katrina<br><br>



 

Chrysalis - A Home for Girls $13,000<br>
Transportation Needs<br><br>



 

Southeast Alabama Regional Arts Alliance $2,500<br>


Encore Music Program<br><br>



 

George C. Wallace Community College Foundation<br>
$ 500,000<br>
Campaign For Excellence to be distributed at<br>
$100,000 per year for five years<br><br>



 

<strong>2006 Grant Recipients</strong> <br>
<br>
Wiregrass United Way $ 200,000<br>
2006 Campaign - Challenge Grant<br><br>

Dothan City Schools $38,400<br>
<br>
First Grade Reading Program<br>
<br>
Boys & Girls Club of the Wiregrass $5,000<br>
General Donation<br><br>



 

United Methodist Children’s Home $12,500<br>
<br>
The Settlement - on behalf of Board Member,<br>
David Johnston<br>
<br>

 

Education Foundation $10,000<br>

Recognition of Torchbearer Schools<br>

Cloverdale and Heard Elementary<br>
<br>
Dothan Landmarks Foundation, Inc. $50,000<br>

Landmark Park Activity Barn<br><br>
 

City of Dothan $10,000<br>

Downtown Master Plan<br><br>
 

Boy Scouts of America $12,500<br>

On behalf of Board Member, Dr. Paul Adams
</p>
                                                                                                                                </div>
                                                                                                                                  <br>
                                                                                                                                  <br>
                                                                                                                                </div></td>
                                                                                                                              </tr>
                                                                                                                        </table>
0
Comment
Question by:rawilkins
  • 2
  • 2
5 Comments
 
LVL 11

Expert Comment

by:dodge20
ID: 18793017
What browser gives you the horizontal scroll bar? I tested it in IE 7 and Firefox 1.5 and there is no horizontal scroll bar.
0
 

Author Comment

by:rawilkins
ID: 18793214
IE 7 this page http://wiregrassfoundation.org/index-6.html , sorry I must not have updated it.
0
 
LVL 25

Accepted Solution

by:
Rouchie earned 500 total points
ID: 18793422
The code for the DIV that scrolls is messed up.  It says:

<div style="overflow:auto; height:300px; width:350..........................................................................................................................0px;">

(spaces replaced by dots to illustrate my point)...

which should be just:

<div style="overflow:auto; height:300px; width:350px">
0
 

Author Comment

by:rawilkins
ID: 18793548
That was it thanks so much I appreciate the help. What would the 0px actully do? Is that or the space I had in there the cause of the left to right scroll bar?
0
 
LVL 25

Expert Comment

by:Rouchie
ID: 18798399
The space won't do anything, it just gets ignored.  The problem is that the browser will just join it together and read
  ... width:350 0px
which will just get ignored because it cannot be interpreted correctly.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

I still run into .cgi files every now and then. In some instances, I actually prefer the simplicity of a .cgi script to other options. Since I use DreamWeaver extensively, what I needed was a way to open .cgi scripts in Dreamweaver. And I wanted to …
This article is very specific and is only intended to help if you are installing Dreamweaver 8 in a Windows 7 environment with Office 2007 installed.   I'm not sure why Microsoft tends to release OS' that should not be released but they do.  Windows…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

948 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now