Re: CSS Positioning question
by Kid Stevens <kstevens89(at)comcast.net>
|
Date: |
Fri, 23 Aug 2002 08:57:28 -0600 |
To: |
hwg-techniques(at)hwg.org |
References: |
woram |
|
todo: View
Thread,
Original
|
|
On the worse CSS compliant Browser I have the pages look identical.
Changing the Font size on both pages is fine. The boxes get longer
to allow the taller text.
iCab 2.8.1 is the browser.
At 9:10 AM -0400 8/23/02, John Woram wrote:
>I can't figure out if I'm doing something wrong, or if this is a bug,
>or what. Here's the details:
>
>I used CSS div positioning to place two images and some text within a
>boxed area. If I use relative positioning, I get the expected
>effect--ie, the images and the text are all within the box, which is
>defined by a "thispage" div class. But if I use absolute positioning,
>the box border collapses into a horizontal line across the top of the
>page.
>
> http://www.woram.com/temp/test1.htm Uses relative positioning
>
> http://www.woram.com/temp/test2.htm Same, uses absolute positioning
>
>I think my coding is OK, because everything lines up correctly. So,
>why does the boxed outline collapse in test2? I can fix this by
>specifying a height for the "thispage" div, but I don't want to do
>that because the height might change, depending on the user's choice
>of text size, etc.
>
>Any suggestions?
>
>Thanks,
>
>John Woram
--
Sincerely,
Kid Stevens
"One of the profound miracles of the human brain is our capacity for memory"
-Jean Houston
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA