Ask a Question related to Macromedia Dynamic HTML, Design and Development.
-
Nicodemus #1
CSS Floating problem
Hi,
I've been struggling with the following situation:
I have DIV called "C" that contains two more DIVS called "A" and "B".
These two DIVS are floated so they appear alongside eachother. The
lenght of "A" and "B" is not known. On one page "A" has more content and
is thus longer than "B" and on the other page it's vice versa.
Now, because "A" has "float:left", whenever "B" is shorter than "A", a
large part of "A" hangs out of DIV "C". If you know what I mean. The
size of "C" is determined by "B", because it is not floated. "A" is
taken out of the normal pageflow because it is floated and thus can't
push "C" open.
I want the length of "C" to be determined by the longest column (either
"A" or "B"), so nothing "hangs out". Whatever I do can't seem to get
this to work. Anyone have an idea?
Thnx,
Nicodemus.
Nicodemus Guest
-
Important Problem with floating toolbar !
Hi all! I developed a plug-in using Acrobat 8 SDK. When I start acrobat 9.0, click any floating toolbar on which all tool buttons have been... -
how to fix floating layer problem in one browser
Wonder what to do to fix this persistent layer to work on IE 6 and/or 7 where this browser is the only one on which it won't scroll at all: ... -
floating ads
Hello! Is anyone know how to make banner ads that float over the page (like at yahoo.com etc)? Thanks! -
Floating control panel problem
Hello list! I have a really stupid, annoying problem. By mistake, I detached the control panel from the stage, and now I can't re-attach it. The... -
floating menu problem when using tables instead of layers
CBrooks: First of all, this is really an urban legend. "Layers" are compatible with all v4+ browsers, but like any other tool, you must know... -
Ken Ford - PVII Support #2
Re: CSS Floating problem
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Fordwebs Default</title>
<style type="text/css">
<!--
#C {
background-color:#CCCCCC;
width: 700px;
}
#A {
background-color: #990000;
float: left;
width: 350px;
}
#B {
background-color: #336666;
margin-left: 350px;
}
-->
</style>
</head>
<body>
<div id="C">
<div id="A">Content for id "A" Goes Here</div>
<div id="B">Content for id "B" Goes Here</div>
</div>
</body>
</html>
--
Ken Ford
Certified Dreamweaver MX 2004 Developer
PVII Support Team
[url]http://www.projectseven.com[/url]
"Nicodemus" <i.like.my.spam.in@can.com> wrote in message news:c81utf$9l9$1@forums.macromedia.com...> Hi,
>
> I've been struggling with the following situation:
>
> I have DIV called "C" that contains two more DIVS called "A" and "B".
> These two DIVS are floated so they appear alongside eachother. The
> lenght of "A" and "B" is not known. On one page "A" has more content and
> is thus longer than "B" and on the other page it's vice versa.
> Now, because "A" has "float:left", whenever "B" is shorter than "A", a
> large part of "A" hangs out of DIV "C". If you know what I mean. The
> size of "C" is determined by "B", because it is not floated. "A" is
> taken out of the normal pageflow because it is floated and thus can't
> push "C" open.
>
> I want the length of "C" to be determined by the longest column (either
> "A" or "B"), so nothing "hangs out". Whatever I do can't seem to get
> this to work. Anyone have an idea?
>
> Thnx,
> Nicodemus.
Ken Ford - PVII Support Guest



Reply With Quote

