473,385 Members | 1,772 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

flow content following absolutely-positioned panel

on my WebForm, Panel1 is positioned absolutely , with settings for Top ,
Left , Width , Height ...

Panel1 contains various sub-panels: PanelA , PanelB , PanelC ...

these sub-panels' content flows naturally ( PanelA 's content is immediately
followed by PanelB 's content, etc. )

however , if i remove the final sub-panel ( PanelX ) from Panel1 and place
it immediately following Panel1 , then PanelX 's content will appear at the
top of the web-form

does there exist a technique to cause PanelX 's content to immediately
follow Panel1 's content -- irrelevant of Panel1's Height setting ?

one technique would be to absolutely position PanelX ... but this is a
non-generalizable solution

Nov 18 '05 #1
3 1772
> Panel1 is positioned absolutely ,

Once you position something absolutely, you take it out of the document flow
of the DOM. So you're best off not absolutely positioning this DIV, OR...put
the other divs that you want to follow along with this div in a 'parent'
absolutely positioned div.

-Darrel
Nov 18 '05 #2
problem is ... i'm using "page-break-before:always" in a div that separates
the two divs that should flow after one another on the screen .... (but not
during print)

therefore, i can't use a top-level absolutely positioned div

also, the first div must be absolutely positioned because the div above it
is absolutely positioned because it must be placed at a precise location on
the printed page
"darrel" <no*****@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Panel1 is positioned absolutely ,
Once you position something absolutely, you take it out of the document

flow of the DOM. So you're best off not absolutely positioning this DIV, OR...put the other divs that you want to follow along with this div in a 'parent'
absolutely positioned div.

-Darrel

Nov 18 '05 #3
also, the first div must be absolutely positioned because the div above it
is absolutely positioned because it must be placed at a precise location on the printed page


Then you are out of luck...you'll just need to absolutely position
everything. If you have to, you could use some javascript to grab heights
of divs post-rendering and then adjust the positioning of the divs after
that is calculated.

As for precise printing on paper, well, that's not really what the web was
designed for. ;o)

Perhaps a PDF output would be more appropriate?

-Darrel
Nov 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: Robert Bowen | last post by:
Hello all. I have been given mock-ups (in static HTML) of some pages for a site I am working on. The client would like these pages to look exactly as they do now. The problem is that the content is...
2
by: bugbear | last post by:
A piece of text was disappearing on one of my pages. Careful editing down shows that any content following a floated-then-cleared element flips things, so that the background of the outer element...
4
by: Bernd Schlingenkamp | last post by:
Hi! A stupid question (I think I have to read the spec more detailed): what kind of content is allowed for <li>-Elements? Is this valid html: <ul> <li><div>somecontent</div></li>...
14
by: laurence | last post by:
I am implementing a comprehensive image-map generator utility, so have been studying W3C HTML 4.01 Specification (http://www.w3.org/TR/html4/struct/objects.html#h-13.6) on image maps (among other...
5
by: meltedown | last post by:
I run into this problem over and over and over again and its driving me crazy. This has a menu on the floated menu on the left. The part to the left of that menu has a margin-left It look...
15
by: c676228 | last post by:
Hi all, In traditional asp form, there is an action field in a form, any time the page is valid, after click the submit button, the next page comes up based on the value in the action field. In...
2
by: Axel Siebenwirth | last post by:
Hi, I'm completely lost with an issue of content flow. I have a top part with two title images and a dropdown menu underneath. Below I want a left-handside div containing some paintings and on...
2
by: johkar | last post by:
My right column content is created dynamically by an application so it will vary in height. When the main content of the page takes up more vertical space than the rigth column, I want the content...
4
by: zacks | last post by:
I am developing a C#.NET application in VS2005 that needs a function that allows the user to edit some text content stored in a Text column in a database. I have a TextBox control with...
0
by: mylog | last post by:
I have downloaded a GLEE(Graph Layout Execution Engine) and written the following code to display a windows form from a web page but i am encountering with a small problem on displaying the graph...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.