[advanced search]
 

Go Back   NamePros.com > Discussion > Web Design & Development > Programming

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.


Closed Thread
 
LinkBack Thread Tools
Old 03-22-2006, 06:09 PM   #1 (permalink)
NamePros Regular
 
Join Date: Aug 2005
Location: Leeds, UK
Posts: 260
70.00 NP$ (Donate)

noswad is an unknown quantity at this point


Sidebar within web page?

Hi everybody!

Does anyone know how to create a sidebar within a webpage to stop my page been really deep?

Examples (look in the news area):

http://www.franzferdinand.co.uk/

http://www.hollyoaks.com/

Dave.
__________________
C905 - Sony Ericsson mobile phone with an 8 megapixel camera!
noswad is offline  
Old 03-24-2006, 04:23 AM   #2 (permalink)
NamePros Member
 
whyme953's Avatar
 
Join Date: Jun 2004
Posts: 92
183.00 NP$ (Donate)

whyme953 is an unknown quantity at this point


use a layer (div) and set overflow to scroll.
__________________
Bais Menachem
whyme953 is offline  
Old 03-24-2006, 06:25 AM   #3 (permalink)
Senior Member
 
Join Date: Dec 2004
Location: Burlington, Vermont
Posts: 1,043
1,086.90 NP$ (Donate)

dan_Vt is a jewel in the roughdan_Vt is a jewel in the roughdan_Vt is a jewel in the rough


Do you know how to make it so that it only scrolls vertically?

Thanks for the info! I always thought those were just done with iframes and I want to stay away from iframes.

D
__________________
Vermont SEO
Automotive SEO

For Sale: Co-Sign.com | Skiny.net | CSIFAQ.com | FuelBank.net | Jibbar.com |
dan_Vt is offline  
Old 03-24-2006, 06:46 AM   #4 (permalink)
A Wealth of Knowledge
 
stscac's Avatar
 
Join Date: Aug 2004
Posts: 3,794
47.60 NP$ (Donate)

stscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud of


Quote:
Originally Posted by whyme953
use a layer (div) and set overflow to scroll.
Yep, but don't forget to assign a height and width for that div, or you're not going to have any defined area to overflow.



-Steve
stscac is offline  
Old 03-29-2006, 07:43 AM   #5 (permalink)
Senior Member
 
Join Date: Dec 2004
Location: Burlington, Vermont
Posts: 1,043
1,086.90 NP$ (Donate)

dan_Vt is a jewel in the roughdan_Vt is a jewel in the roughdan_Vt is a jewel in the rough


Quote:
Originally Posted by dan_Vt
Do you know how to make it so that it only scrolls vertically?

Thanks for the info! I always thought those were just done with iframes and I want to stay away from iframes.

D
I realized that question sounds moronic, so let me rephrase.

I know it will scroll only when it has to, but how do you get the horizontal scroll bar to completely disappear when it isn't needed? (when I view it I see a greyed out horiz. bar)
__________________
Vermont SEO
Automotive SEO

For Sale: Co-Sign.com | Skiny.net | CSIFAQ.com | FuelBank.net | Jibbar.com |
dan_Vt is offline  
Old 03-29-2006, 08:01 AM   #6 (permalink)
NamePros Member
 
whyme953's Avatar
 
Join Date: Jun 2004
Posts: 92
183.00 NP$ (Donate)

whyme953 is an unknown quantity at this point


sorry about that, overflow should be "auto"
__________________
Bais Menachem
whyme953 is offline  
Old 03-29-2006, 08:45 AM   #7 (permalink)
Senior Member
 
Join Date: Dec 2004
Location: Burlington, Vermont
Posts: 1,043
1,086.90 NP$ (Donate)

dan_Vt is a jewel in the roughdan_Vt is a jewel in the roughdan_Vt is a jewel in the rough


Quote:
Originally Posted by whyme953
sorry about that, overflow should be "auto"
Excellent. Thank you!

Dan
__________________
Vermont SEO
Automotive SEO

For Sale: Co-Sign.com | Skiny.net | CSIFAQ.com | FuelBank.net | Jibbar.com |
dan_Vt is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Site Sponsors
Advertise your business at NamePros

All times are GMT -7. The time now is 02:53 PM.


Powered by: vBulletin® Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Template-Modifications by TMS
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85