Webmaster Forum


Go Back   Webmaster Forum > Web Development > Coding Forum

Coding Forum Problems with your code? Discuss coding issues, including JavaScript, PHP & MySQL, HTML & CSS, Flash & ActionScript, and more.


Reply
 
LinkBack Thread Tools Display Modes
Share |
  #1 (permalink)  
Old 11-07-2007, 07:21 AM
suzjor's Avatar
v7n Mentor
Latest Blog:
None

 
Join Date: 07-26-06
Location: Texas
Posts: 3,413
iTrader: 1 / 100%
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 with content background-chatterboxx_template1_insidepages.jpg  
__________________
Scrabble Tile Pendants
 
Reply With Quote
  #2 (permalink)  
Old 11-07-2007, 08:17 AM
StarLab's Avatar
v7n Mentor
 
Join Date: 10-29-07
Location: Ontario, Canada
Posts: 3,434
iTrader: 0 / 0%
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 Monte
[LarryMonte.Com] - Personal Blog : Photos, etc...

"The Dude Abides..." - Jeff Lebowski
 
Reply With Quote
  #3 (permalink)  
Old 11-07-2007, 08:23 AM
suzjor's Avatar
v7n Mentor
Latest Blog:
None

 
Join Date: 07-26-06
Location: Texas
Posts: 3,413
iTrader: 1 / 100%
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.
__________________
Scrabble Tile Pendants
 
Reply With Quote
  #4 (permalink)  
Old 11-07-2007, 08:26 AM
suzjor's Avatar
v7n Mentor
Latest Blog:
None

 
Join Date: 07-26-06
Location: Texas
Posts: 3,413
iTrader: 1 / 100%
OK...I'm such a doofus. That was exactly it StarLab - my sample content wasn't long enough. D'OH! Thanks!!
__________________
Scrabble Tile Pendants
 
Reply With Quote
  #5 (permalink)  
Old 11-07-2007, 08:30 AM
StarLab's Avatar
v7n Mentor
 
Join Date: 10-29-07
Location: Ontario, Canada
Posts: 3,434
iTrader: 0 / 0%
Does setting "height: auto;" work? With some content, it should expand out to show the contents.
__________________
Larry Monte
[LarryMonte.Com] - Personal Blog : Photos, etc...

"The Dude Abides..." - Jeff Lebowski
 
Reply With Quote
Go Back   Webmaster Forum > Web Development > 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

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


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 Controversial Social Issues 1 08-02-2007 08:30 AM
Content Issue DarrenC Internet Legal Issues 6 05-05-2007 05:38 AM


V7N Network
Get exposure! V7N I Love Photography V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 10:50 PM.
Powered by vBulletin
Copyright © 2000-2013 Jelsoft Enterprises Limited.
Copyright © 2003 - 2013 Escalate Media LP




Search Engine Optimization by vBSEO 3.6.0 RC 2 ©2011, Crawlability, Inc.