Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Coding Forum Problems with your code? Let's hear about it.

Ezilon Directory   I Sell Pagerank   V7N Directory

Reply
 
LinkBack Thread Tools Display Modes
Old 11-07-2007, 07:21 AM   #1 (permalink)
v7n Mentor
 
suzjor's Avatar
 
Join Date: 07-26-06
Location: Texas
Posts: 3,991
iTrader: 1 / 100%
suzjor is a web professional of the highest ordersuzjor is a web professional of the highest ordersuzjor is a web professional of the highest ordersuzjor is a web professional of the highest ordersuzjor is a web professional of the highest ordersuzjor is a web professional of the highest ordersuzjor is a web professional of the highest ordersuzjor is a web professional of the highest ordersuzjor is a web professional of the highest ordersuzjor is a web professional of the highest ordersuzjor is a web professional of the highest order
CSS issue with content background

Ok...so I am finally getting with it and building some of my sites strictly with CSS (always did basic html with tables before). Anyway, in one of my columns I want a certain background image. So when I place the following code:

Quote:
#insidecontent {
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
font-size: 10pt;
background-image:url(images/body.jpg);
background-repeat:no-repeat;
background-color: #ffffff;
padding-left: 6px;
color: #000000;
margin-top: 0px;
margin-left:0px;
float: right;
width: 660px;
height:550px;
}
The image is perfect but it makes the column a certain height. When I take out the height is doesn't show my complete image. I want the entire image to be in the background - top right. BUT I don't want to specify a height to that column.

I'm attaching a picture of how I want it but I like I said I want the column to be fluid. (it is the bottom left image with the faded tree picture)
Attached Thumbnails
css-issue-content-background-chatterboxx_template1_insidepages.jpg  
__________________
Indie Handmade Store
suzjor is offline  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 11-07-2007, 08:17 AM   #2 (permalink)
Super Moderator
 
StarLab's Avatar
 
Join Date: 10-29-07
Location: Ontario, Canada
Posts: 1,591
iTrader: 0 / 0%
StarLab is a highly respected web proStarLab is a highly respected web proStarLab is a highly respected web proStarLab is a highly respected web proStarLab is a highly respected web proStarLab is a highly respected web proStarLab is a highly respected web proStarLab is a highly respected web proStarLab is a highly respected web proStarLab is a highly respected web proStarLab is a highly respected web pro
Send a message via ICQ to StarLab Send a message via MSN to StarLab Send a message via Yahoo to StarLab
What happens to the height when you put some content in there? (Without the height defined)

The height should expand to show whatever content is there. (Unless you have something elsewhere in your code to restrict this)
__________________
Larry - Addicted to Coffee and Proud of it!
[DarkStar Retro Project] - A world wide search for ultra-rare software.

"Writing is the most fun you can have by yourself!" --Terry Pratchett
StarLab is offline  
Add Post to del.icio.us
Reply With Quote
Old 11-07-2007, 08:23 AM   #3 (permalink)
v7n Mentor
 
suzjor's Avatar
 
Join Date: 07-26-06
Location: Texas
Posts: 3,991
iTrader: 1 / 100%
suzjor is a web professional of the highest ordersuzjor is a web professional of the highest ordersuzjor is a web professional of the highest ordersuzjor is a web professional of the highest ordersuzjor is a web professional of the highest ordersuzjor is a web professional of the highest ordersuzjor is a web professional of the highest ordersuzjor is a web professional of the highest ordersuzjor is a web professional of the highest ordersuzjor is a web professional of the highest ordersuzjor is a web professional of the highest order
It cuts off the height of my image. So it doesn't show the entire image - only the width of it but not the height which is what has me totally puzzled. hmmm...time to look at the code again.
__________________
Indie Handmade Store
suzjor is offline  
Add Post to del.icio.us
Reply With Quote
Old 11-07-2007, 08:26 AM   #4 (permalink)
v7n Mentor
 
suzjor's Avatar
 
Join Date: 07-26-06
Location: Texas
Posts: 3,991
iTrader: 1 / 100%
suzjor is a web professional of the highest ordersuzjor is a web professional of the highest ordersuzjor is a web professional of the highest ordersuzjor is a web professional of the highest ordersuzjor is a web professional of the highest ordersuzjor is a web professional of the highest ordersuzjor is a web professional of the highest ordersuzjor is a web professional of the highest ordersuzjor is a web professional of the highest ordersuzjor is a web professional of the highest ordersuzjor is a web professional of the highest order
OK...I'm such a doofus. That was exactly it StarLab - my sample content wasn't long enough. D'OH! Thanks!!
__________________
Indie Handmade Store
suzjor is offline  
Add Post to del.icio.us
Reply With Quote
Old 11-07-2007, 08:30 AM   #5 (permalink)
Super Moderator
 
StarLab's Avatar
 
Join Date: 10-29-07
Location: Ontario, Canada
Posts: 1,591
iTrader: 0 / 0%
StarLab is a highly respected web proStarLab is a highly respected web proStarLab is a highly respected web proStarLab is a highly respected web proStarLab is a highly respected web proStarLab is a highly respected web proStarLab is a highly respected web proStarLab is a highly respected web proStarLab is a highly respected web proStarLab is a highly respected web proStarLab is a highly respected web pro
Send a message via ICQ to StarLab Send a message via MSN to StarLab Send a message via Yahoo to StarLab
Does setting "height: auto;" work? With some content, it should expand out to show the contents.
__________________
Larry - Addicted to Coffee and Proud of it!
[DarkStar Retro Project] - A world wide search for ultra-rare software.

"Writing is the most fun you can have by yourself!" --Terry Pratchett
StarLab is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum

Reply



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

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
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Blogger Issue (Red Background) zibblu Blogging Forum 3 08-28-2007 11:12 AM
WOMD - Issue or Non-issue John Scott Politics 1 08-02-2007 08:30 AM
Content Issue DarrenC Legal Issues 6 05-05-2007 05:38 AM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 03:40 PM.
© Copyright 2008 V7 Inc

Click Here