Solved

Scroll bar code problem

Posted on 2007-03-26
5
215 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

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 …
Adobe Dreamweaver CS5 is a WYSIWYG web page editor that has advanced HTML, CSS, and Javascript rendering functionality and is probably the most well-known HTML editor available. Much of Dreamweaver's appeal centers around the Design View interfac…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

746 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

13 Experts available now in Live!

Get 1:1 Help Now