Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
relative, proportionate CSS DIVs?
Old 09-04-2007, 07:14 PM relative, proportionate CSS DIVs?
SleekStream's Avatar
Novice Talker

Posts: 7
Trades: 0
Hello all,

I am working on a small project, GoldnDelicious, you can view it here:
http://www.goldndeliciousent.com

My goal is to make the bottom div, right under the "GoldnDelicious" logo to stretch, depending on how much text it contains. The problem is, I also want to div with the girl to stretch, without distorting her appearance.

I was thinking maybe I could make the text div underlap under the girl div, and then the girl could just be an image placed on top.


Can anyone help me with this concept?
If you need clarification on anything, just ask


-SleekStream
SleekStream is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 09-05-2007, 08:00 PM Re: relative, proportionate CSS DIVs?
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Quote:
My goal is to make the bottom div, right under the "GoldnDelicious" logo to stretch, depending on how much text it contains.
It's going to do that anyway, that's they way it generally works.

You have a SERIOUS case of div-itis going on there. WAY too many divs, its apparent you are trying to emulate a tabled layout - not necessary. You really need to re-think how you've got that laid out, it can be simplified greatly.

I would put the girl in as a background on the div, the position the image at the bottom of that div and she should move as the div stretches.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 09-09-2007, 09:18 AM Re: relative, proportionate CSS DIVs?
danfinney's Avatar
Average Talker

Posts: 22
Name: Dan Finney
Trades: 0
You could make the GoldnDelicious area one div with relative positioning and padding-right to keep content off of the girl, then position the girl with absolute positioning.

Ladyn is right, you need to simplify.
__________________
d a n f i n n e y

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
danfinney is offline
Reply With Quote
View Public Profile Visit danfinney's homepage!
 
Reply     « Reply to relative, proportionate CSS DIVs?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.64484 seconds with 12 queries