Ask a Question related to Macromedia Dynamic HTML, Design and Development.
-
Webbo agogo #1
Linking the Heights of 2 div's
I want to link the height of 2 divs that are side by side in the body of my
website.
The 1st div's height is determind by the amount of text within it (which can
change from page to page). The 2nd div will contain a repeat image, which i
want to grow to whatever size the 1st div is, but I don't know what height
setting to assign the div's in my CSS document.
Please can someone help, I'm sure this is very easy but i'm just starting out
and i'm completely stumped.
Webbo agogo Guest
-
Contribute 2 overlapping DIV's
I'm far from an expert in CSS and layout design. I've got a simple template with left navigation defined in a DIV. Inside that box I've got boxes... -
pop-up menu variable heights
I have a pop-up menu and some of the items are very long. I've found I can insert a break to wrap the line but then I have to change the height... -
DIV's and images
I am using CSS and DIV tags and in serting images for the "wrapping" of the text effect aroud the images. How do you create padding between the... -
Adding new div's on a page
I'm having the same issue here. Its a how stopper for us if we can't get this resolved as we just redesigned our templates to take full advantage of... -
Minimum layer/cell heights
"Sub" DW automatically inserts (non breaking space I think) into any cells which are empty. Delete this or put a 1x1 pixel image in the... -
VVebbie #2
Re: Linking the Heights of 2 div's
Make the repeating image the background image in the div with the text, and
adjust the padding to accomodate the image.
Inform yourself:
[url]http://www.blooberry.com/indexdot/css/propindex/colorbg.htm[/url]
If you don't understand the difference between margins and padding, now's a
good time to look that up too:
[url]http://www.meyerweb.com/eric/articles/webrev/199801.html[/url]
VVebbie Guest
-
Excavatorak #3
Re: Linking the Heights of 2 div's
Hello Webbo agogo,
See the example I made of an equal height 2 column layout -
[url]http://nopeople.com/CSS/equal_length_columns/[/url]
To do what you want you'll have to flop the 2 columns, make your background
image as wide as your right column, put that image as the background of
#wrapper.
I don't know how your image will look when the content column cuts half of it
off because it's not long enough to expose the enire image....
Use CSS like this:
background-image: url(..image/picture.jpg);
background-repeat: repeat-y;
background-position: right;
Excavatorak Guest
-
Webbo agogo #4
Re: Linking the Heights of 2 div's
thanks guys i will look into both of these options.
It looks like i will have to add a 3rd div on the right side of the text area
which will include the navigator (which will be made up of 8 images) - do you
have any ideas which of your 2 options would be best suited to this?
Webbo agogo Guest
-
VVebbie #5
Re: Linking the Heights of 2 div's
The two-column setup.
My suggestion is based on the assumption that the "column" has no content, and thus doesn't actually need to be a column.
VVebbie Guest
-
Excavatorak #6
Re: Linking the Heights of 2 div's
Webbo, I put a really simple one here - [url]http://nopeople.com/Webbo/[/url]
Excavatorak Guest
-
Webbo agogo #7
Re: Linking the Heights of 2 div's
Thanks for the help guys. And thanks for the example Excavatorak.
Cheers
Webbo
Webbo agogo Guest



Reply With Quote

