crysacraig Posted February 4, 2007 Share Posted February 4, 2007 I have tried in the past to set up a frame like this one here: http://digilander.libero.it/webterrier/blog_template.html. What normally happens is I get a scroll bar on the side that moves the screen up and down, but also one appears so that you can move the screen right to left. How do I make it like the example above with no right to left scrolling? ThanksCrystal Link to comment Share on other sites More sharing options...
Anders Moen Posted February 4, 2007 Share Posted February 4, 2007 You just do like this: XHTML<div id="name_on_div">Bla bla bla bla bla<br />Bla bla bla bla bla<br />Bla bla bla bla bla<br />Bla bla bla bla bla<br />Bla bla bla bla bla<br />Bla bla bla bla bla<br />Bla bla bla bla bla<br />Bla bla bla bla bla<br />Bla bla bla bla bla<br />Bla bla bla bla bla<br />Bla bla bla bla bla<br />Bla bla bla bla bla<br />Bla bla bla bla bla<br />Bla bla bla bla bla<br />Bla bla bla bla bla<br />Bla bla bla bla bla<br />Bla bla bla bla bla<br />Bla bla bla bla bla<br />Bla bla bla bla bla<br />Bla bla bla bla bla<br />Bla bla bla bla bla<br />Bla bla bla bla bla<br />Bla bla bla bla bla<br />Bla bla bla bla bla<br />Bla bla bla bla bla<br />Bla bla bla bla bla<br />Bla bla bla bla bla<br /></div>CSS#name_on_div {width: 100px;height: 100px;overflow-y: auto;overflow-x: hidden;} There you would get a scrollbar down as long as no words are longer than 100px (or images), Just change 100px with the width and height you want Link to comment Share on other sites More sharing options...
crysacraig Posted February 4, 2007 Author Share Posted February 4, 2007 Thanks for posting, I've been playing around since I posted this and managed to figure it out, now I'm just doing the finishing touches. I have my own book review site, http://www.beyondthecover.net, and I thought it would be a good way to display my book inventory on the left hand side of my screen. I want to name all the books I have by authors name, so you could imagine how long that list might become. Thanks for your help. Link to comment Share on other sites More sharing options...
Anders Moen Posted February 4, 2007 Share Posted February 4, 2007 Hehe, no problem :)I'm glad I could help and I hoped it worked? Link to comment Share on other sites More sharing options...
crysacraig Posted February 4, 2007 Author Share Posted February 4, 2007 O.k Now I'm having another issue. The links within my frame won't show the right text size, color etc. They are blue, and are huge. Here is the link to my style sheet. http://www.beyondthecover.net/style.css and here is the left hand side of my page. http://www.beyondthecover.net/left.php The page that is in the frame is here: http://www.beyondthecover.net/list.php. I use includes for both right and left hand side menus. I don't see where there is anything wrong with the style sheet. But then again I've been staring at it for so long maybe I'm missing something. Would appreciate the help thanks. Link to comment Share on other sites More sharing options...
aquatsr Posted February 4, 2007 Share Posted February 4, 2007 O.k Now I'm having another issue. The links within my frame won't show the right text size, color etc. They are blue, and are huge. Here is the link to my style sheet. http://www.beyondthecover.net/style.css and here is the left hand side of my page. http://www.beyondthecover.net/left.php The page that is in the frame is here: http://www.beyondthecover.net/list.php. I use includes for both right and left hand side menus. I don't see where there is anything wrong with the style sheet. But then again I've been staring at it for so long maybe I'm missing something. Would appreciate the help thanks.I don't see anything wrong with the page, but in the stylesheet you have font-size: xx-large, or something like that. Is that supposed to be there? Link to comment Share on other sites More sharing options...
crysacraig Posted February 4, 2007 Author Share Posted February 4, 2007 Thanks for your response. The x-large that you saw is for the banner (top part) of my page, it had nothing to do with links, or the side menus. Link to comment Share on other sites More sharing options...
crysacraig Posted February 5, 2007 Author Share Posted February 5, 2007 Yeppie! I figured it out! Thanks everyone. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now