Go Back  HTML Forums - Free Webmaster Forums and Help Forums > WEBSITE DEVELOPMENT > CSS
User Name:
Password:
 

Reply
Thread Tools   Display Modes
  View First Unread
 
Old 10-28-2009, 02:34 PM
  #1
EagleEye
Novice (Level 1)
 
Join Date: Oct 2009
Posts: 4
iTrader: (0)
EagleEye is an unknown quantity at this point
Smile 'fixing' DIV tags and keeping scrollable text

Hi all. I'm new to the forum. I hope to be able to have all my questions answered here and indeed be able to help those who I am able to help along the way.

I have a problem (surprise!) with CSS.
The site I am working on for a friend is designed in such a way that I need relevant DIVs around the edges to be "fixed" (not move while scrolling text) while leaving the text able to be scrolled.

the site looks like 'untitled.jpg' for reference.
I have also attached an easier to follow picture of how i've laid the site out. (simple.jpg)

The main problems is the DIV Id "bottom_img" will not center itself on the page, even though I have (as you can see in the pic on the right) both margins set to "auto".

I want ALL div tags to stay where they are (fixed) but I want the text to still be scrollable.

If you need me to explain things clearer please let me know. Hopefully this is an easy thing to solve.
Attached Thumbnails
Click image for larger version

Name:	Untitled.jpg
Views:	4
Size:	145.5 KB
ID:	10390  Click image for larger version

Name:	simple.jpg
Views:	4
Size:	113.2 KB
ID:	10391  
EagleEye is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 10-28-2009, 02:41 PM
  #2
Pegasus
Extremely Flighty Admin
 
Pegasus's Avatar
 
Join Date: Nov 2001
Location: 35º South of Santa Claus
Posts: 21,472
iTrader: (0)
Pegasus is a name known to allPegasus is a name known to allPegasus is a name known to allPegasus is a name known to allPegasus is a name known to allPegasus is a name known to all
Try adding overflow: scroll; to the div's CSS.
__________________


Decaf is the root of all evil...
HTMLForums Awards 2008
Pegasus is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 10-28-2009, 03:04 PM
  #3
EagleEye
Novice (Level 1)
 
Join Date: Oct 2009
Posts: 4
iTrader: (0)
EagleEye is an unknown quantity at this point
Awesome. ok that saves TONNES of fiddling with the rest of the DIV tags. thanks for that one.

Stupid question perhaps? Is there a way to get rid of the new set of scroll bars that have appeared?

Thanks again. I'm very greatful.
EagleEye is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 10-28-2009, 03:29 PM
  #4
Pegasus
Extremely Flighty Admin
 
Pegasus's Avatar
 
Join Date: Nov 2001
Location: 35º South of Santa Claus
Posts: 21,472
iTrader: (0)
Pegasus is a name known to allPegasus is a name known to allPegasus is a name known to allPegasus is a name known to allPegasus is a name known to allPegasus is a name known to all
You can set it to overflow: auto; and that'll only bring the scrollbars up if they're needed.

http://www.w3.org/TR/CSS21/visufx.html#x0
__________________


Decaf is the root of all evil...
HTMLForums Awards 2008
Pegasus is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 10-30-2009, 04:43 PM
  #5
EagleEye
Novice (Level 1)
 
Join Date: Oct 2009
Posts: 4
iTrader: (0)
EagleEye is an unknown quantity at this point
ok thanks guys. appreciate it.
EagleEye is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 10-30-2009, 05:17 PM
  #6
Pegasus
Extremely Flighty Admin
 
Pegasus's Avatar
 
Join Date: Nov 2001
Location: 35º South of Santa Claus
Posts: 21,472
iTrader: (0)
Pegasus is a name known to allPegasus is a name known to allPegasus is a name known to allPegasus is a name known to allPegasus is a name known to allPegasus is a name known to all
You're quite welcome. Glad I could help.
__________________


Decaf is the root of all evil...
HTMLForums Awards 2008
Pegasus is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote

Reply
KEEP TABS
SPONSORS
 
Boxedart
 
 


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



 
  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
Thread Tools
Display Modes

Forum Jump

 

All times are GMT -5. The time now is 03:44 AM.

   

Mascot team created by Drawshop.com

Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.

Server Monitoring by ENIACmonitor 0.01
HTMLforums.com © Big Resources, Inc. Web Design by BoxedArt.com
vRewrite 1.5 beta SEOed URLs completed by Tech Help Forum and Chalo Na.