Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 09-12-2011, 06:57 PM   PM User | #1
ScottDB
New to the CF scene

 
Join Date: Apr 2010
Posts: 9
Thanks: 1
Thanked 0 Times in 0 Posts
ScottDB is an unknown quantity at this point
How do I get image to expand with text instead of repeat

Hi all I am trying to get the middle section of my main page to expand with the text that I put in from the admin. It is a background image that is being used for that area. I have added a bottom and a top to it and have lined the top one up but not sure of the bottom one since I cant get the middle section to expand and not repeat. You can see the site HERE. It is just a test site. Here is the code that I am trying to get to work, The index default is the one that is the middle section that I am trying to get to expand with the text. Is it possible to do this with just editing the css? If you look at the site you will see an angle parchment paper that is put in with ablsolute positioning and is not part of what I am trying to do here.
Code:
#indexDefault {
 background-image: url("../images/parchmentmid.png") no-repeat 0 0; 
 }
 
#topscroll {
    background: url("../images/parchmenttop.png") no-repeat scroll -8px 0;
    height: 125px;
    margin-top: -10px;
    }
        
#bottomescroll {
    background: url("../images/parchmentbtm.png") no-repeat scroll 20px 0;
    height: 155px;
    margin-bottom: 0px;
    }
ScottDB is offline   Reply With Quote
Old 09-13-2011, 09:19 AM   PM User | #2
abduraooft
Supreme Master coder!

 
abduraooft's Avatar
 
Join Date: Mar 2007
Location: N/A
Posts: 14,678
Thanks: 158
Thanked 2,182 Times in 2,169 Posts
abduraooft is just really niceabduraooft is just really niceabduraooft is just really niceabduraooft is just really niceabduraooft is just really nice
Check http://www.cssplay.co.uk/layouts/background.html
__________________
Quote:
The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)
abduraooft is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 01:10 AM.


Advertisement
Log in to turn off these ads.