CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignCSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old February 27th, 2004, 04:55 AM
janusz_monkey janusz_monkey is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Location: West Midlands, U.K.
Posts: 47 janusz_monkey User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Help with CSS: backgrounds, overflow etc

Hi,

I'm trying to do a design with: http://xlibrisclients.co.uk/flybynite/new/V1.htm in mind. I want the content to have a scrollbar if content goes off the page... basically want to achieve the look and feel of a frame base site such as: http://www.flybynite.co.uk/website/ but only using CSS and tables.

Please help!

Janusz
__________________
http://www.xlibris.co.uk
http://janusz.monkey-it.co.uk

Reply With Quote
  #2  
Old February 27th, 2004, 05:05 AM
Glide Glide is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2003
Posts: 56 Glide User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
.overflowScroll { overflow: auto; }

in your styles will make any <div class="overflowScroll"></div> (or indeed any block element that has been constrained by some sizing) sprout scrollbars.

Beware, test well in Mozilla based browsers because you can get mixed results depending on what you put inside.

Actually, just looking at that link i don't see your problem, you seem to have it sorted pretty well....

Last edited by Glide : February 27th, 2004 at 05:21 AM.

Reply With Quote
  #3  
Old February 27th, 2004, 05:19 AM
vck vck is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 5 vck User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Try this ...

Try this ...

<div style="width:500px;height:100px;overflow-Y:scroll;">
<table border="0" cellpadding="0" cellspacing="0" height="200px">
<tr>
<td>This is your content Area.......scroll down</td>
</tr>
<tr>
<td>Place your content here</td>
</tr>
</table>
</div>


set the div style to "overflow-Y:auto" in case you need the scroll to appear only when content exceeds the div height.

Reply With Quote
  #4  
Old February 27th, 2004, 05:38 AM
janusz_monkey janusz_monkey is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Location: West Midlands, U.K.
Posts: 47 janusz_monkey User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Nope

When doing:

<div style="width:500px;height:100px;overflow-Y:scroll;">
<table border="0" cellpadding="0" cellspacing="0" height="200px">
<tr>
<td>This is your content Area.......scroll down</td>
</tr>
<tr>
<td>Place your content here</td>
</tr>
</table>
</div>

The content goes all the way up i.e. over the top part of the banner

Janusz

Reply With Quote
  #5  
Old February 27th, 2004, 05:42 AM
janusz_monkey janusz_monkey is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Location: West Midlands, U.K.
Posts: 47 janusz_monkey User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
D'oh

Works in mozilla (bar the content going over the top of the banner) but it dont work in IE

Ok,

Basically, want to have a CSS based site which has look and feel of a framed based site.

1) Top Banner goes along the top of the page and stays there
2) Side menu comes below the banner and hugging the left side of the browser and this is fixed and does not move
3) Content comes to the right of (2) and below (1) and if it exceeds page size, I want it to be scroll-able

Please help!

Janusz

Reply With Quote
  #6  
Old February 27th, 2004, 05:50 AM
vck vck is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 5 vck User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
How abt this......

Take this.....
<table border="1" cellpadding="0" cellspacing="0" height="200px">
<tr height="50px">
<td colspan="2">Place Top banner here</td>
</tr>
<tr>
<td width="25%">
Place Left Navigation here
</td>
<td width="75%">
<div style="width:500px;height:150px;overflow-Y:scroll;">
<table border="0" cellpadding="0" cellspacing="0" height="200px">
<tr>
<td>This is your content Area.......scroll down</td>
</tr>
<tr>
<td>Place your content here</td>
</tr>
</table>
</div>
</td>
</tr>
</table>

Reply With Quote
  #7  
Old February 27th, 2004, 06:11 AM
janusz_monkey janusz_monkey is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Location: West Midlands, U.K.
Posts: 47 janusz_monkey User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Nope


Reply With Quote
  #8  
Old February 27th, 2004, 07:16 AM
janusz_monkey janusz_monkey is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Location: West Midlands, U.K.
Posts: 47 janusz_monkey User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
SOlution

Just wondering if this is available elsewhere - can see vertical, and can see horizontal, but not together

Janusz

Reply With Quote
  #9  
Old February 27th, 2004, 05:15 PM
kk5st's Avatar
kk5st kk5st is offline
Thanks Johnny Hart (BC) R.I.P.
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: May 2003
Location: Dallas
Posts: 4,589 kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 1 Month 2 Days 17 h 48 m 3 sec
Reputation Power: 662
__________________
There are those who manage to build a web site without knowing what they're doing; thereby proving to themselves they do, indeed, know what they're doing.

My html and css workshop, demos and tutorials.
Ask a better question, get a better answer.

Reply With Quote
  #10  
Old February 28th, 2004, 02:34 AM
janusz_monkey janusz_monkey is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Location: West Midlands, U.K.
Posts: 47 janusz_monkey User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
timeout

seems to be a timeout when I access those pages

:-(

Nice sig!

Janusz

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > Help with CSS: backgrounds, overflow etc


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT