No one is answering this anywhere I go, and it's pretty important. And probably an easy answer.

I've tried a BUNCH of codes already and I'm all google-d out.

All I need is a vertical scrollbar. That's it. I need it for this page, and a few others:

http://helpmemeetjoejonas.com/index/?page_id=12

See the problem? Thanks.

Recommended Answers

All 3 Replies

>All I need is a vertical scrollbar.
I see a vertical scrollbar on both IE7 and Firefox, which it should, since it seems as though you've set the overflow property of the content div to auto . To me, all it looks like you need to do reposition your divs.

Okay, the text boxes look fine in 1024x768. Is there any way to make them work fine in all the resolutions?

Basically you need to clean up your XHTML. I don't think it's anywhere near being valid XHTML 1.0 Transitional. The main part where you're messing up is here:

<td style="width:510px; border-left: 3px solid #53A2DF; padding-top:5px" valign="top" align="center">
 <div style="width:500px; text-align:left;">
<!-- end header -->
  <div id="content" class="narrowcolumn">
   <div class="post" id="post-12">
    <h2>About</h2>
    <div class="entry">
     <p style="overflow: auto; width: 550px; height: 325px">My
      main goal in creating this website was to one day meet (or talk to) Joe
      Jonas! (Like you couldn’t figure that out from the title haha). I
      wouldn’t mind meeting Nick or Kevin, though
      <img src="test_files/icon_wink.gif" alt=";)" class="wp-smiley">
      I’m hoping by making a website, I will be able to get a lot of support
      from other fans, and if the brothers ever see this website, they could
      contact me in some way (like email, myspace, or IM – Hint hint). I’m
      going to try and save up money to go to every event that I can, and
      that is close to my home in south-east Pennsylvania. (if you know of
      any, tell me!)<br>
      <strong>History</strong><br>
      I have loved the Jonas Brothers band for about a year now. I listen to
      their music ALL THE TIME (ask anyone!), and their songs really get to
      me for some reason. Anyway, all through that year, I have wanted to go
      see them or meet them somehow, but haven’t had the chance. Either I
      didn’t have the money, or they were WAY too far away. Recently, I’ve
      realized that I could actually like Nick, Joe, and Kevin as people, and
      not just a band. We could even become friends if we ever met. But I
      found myself liking Joe a bit more than the other two- something about
      his outgoing personality. (Sorry Nick and Kevin, you guys still rock,
      and I still love ya! ?) So, I decided to try and think up a way I could
      somehow/eventually meet Joe. As I looked through the JB fan sites for
      ideas, I noticed that many of the site owners get to meet the JBs- to
      interview them, or such. But I don’t want to INTERVIEW Joe. I wanted to
      chill with him (and his brothers?). So I made this website, instead. To
      quote Joe: I could do this without you guys, but it’d be really lame!<br>
      <strong>So, To Sum It Up</strong><br>
      I want to meet, or somehow talk to, Joe! And meeting/talking to Nick or
      Kevin would be great, too. I think we’d make good friends – or maybe
      more – who knows?<br>
      <strong>Disclaimer</strong><br>
      I am not your average Jonas Brothers fan. If I saw the brothers, I
      wouldn’t scream, wave my hands around, beg for their autograph, or take
      pictures. I want to chill with them as a friend, not a fan. Thank you.
     </p>
    </div>
   </div>
  </div>
<!-- begin footer -->
 </div>
</td>

Delete the highlighted code, and you should notice that the divs display correctly, although you'll notice it stretches the bottom of the page, rather than keeping inside a scroll box. This is the way most websites handle their main content, although if you still want scrollbars, change the first div:

<div style="width:500px; text-align:left;">

Simply add a height and overflow attribute, and you should see your scrollbars back and displaying correctly.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.