472,958 Members | 2,145 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

absolute, relative, not set, static positioning ??????

I'm slowly (very slowly) working my way thru the bizarre and sadistic world
of control positioning in MultiViews (ASP 2.0). I came across this to help
me explain (or attempt to anyway) why my web page controls were all over the
place.

"Ironically, absolute positioning is relative. Yes, you read that right. An
absolutely positioned element is positioned relative to another element,
called the containing block. Here comes the definition of that. Take a few
deep breaths and hold on tight to the armrests of your chair.
The containing block of an absolutely positioned element is its nearest
positioned ancestor, or, if there is no such element, the document's initial
containing block.

By positioned ancestor we mean a structurally superior element whose
position property is absolute, fixed or relative."

OMFG -- and this is a good thing?? Who thought this brain storm of an idea,
some 10 year old? Did anyone stop for 10 seconds to think that the majority
of end users out there don't want their screen appearance to shift and move
based on their current window size and/or screen resolution. It's like an
entire sub-system was invented to deal with the issue that only <1% of the
end user even care about. OMG, this is more designer/developer out of touch
with reality crap. And people still wonder why <20% of the population use
the Internet.
Feb 7 '06 #1
2 2436
This isn't MS's fault, that's just the way HTML works. HTML was never
designed to do layout. It's a markup language, which means that it describes
how content should appear, not the where. There are lots of ways to get
positioning to be very accurate, but not through CSS positioning. Through
carefully crafted tables, you can pretty much position anything you want any
way you like it and have a pretty good assurance that it will remain there.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - FrontPage

"Rob R. Ainscough" <ro*****@pacbell.net> wrote in message
news:%2***************@tk2msftngp13.phx.gbl...
I'm slowly (very slowly) working my way thru the bizarre and sadistic
world of control positioning in MultiViews (ASP 2.0). I came across this
to help me explain (or attempt to anyway) why my web page controls were
all over the place.

"Ironically, absolute positioning is relative. Yes, you read that right.
An absolutely positioned element is positioned relative to another
element, called the containing block. Here comes the definition of that.
Take a few deep breaths and hold on tight to the armrests of your chair.
The containing block of an absolutely positioned element is its nearest
positioned ancestor, or, if there is no such element, the document's
initial containing block.

By positioned ancestor we mean a structurally superior element whose
position property is absolute, fixed or relative."

OMFG -- and this is a good thing?? Who thought this brain storm of an
idea, some 10 year old? Did anyone stop for 10 seconds to think that the
majority of end users out there don't want their screen appearance to
shift and move based on their current window size and/or screen
resolution. It's like an entire sub-system was invented to deal with the
issue that only <1% of the end user even care about. OMG, this is more
designer/developer out of touch with reality crap. And people still
wonder why <20% of the population use the Internet.

Feb 7 '06 #2
Never suggested it was Microsoft's fault -- but do MS provide an alternative
ASP 2.0 control/layout that will remove this child like relationship
processing? I've tried to use the ASP table control, but have not
successfully been able to place other controls within the cells of a table
control -- if this can be done, please give some hints on how to do it. I
have TextBox and Label controls that I'd like to put in a table -- but your
comment of "Through carefully crafted tables" doesn't leave me thinking your
process is any less worky or clear.

The more I work with web development, the more I push my clients to
ClickOnce (screw the non-Windows users, there are so few of them anyway) and
moving away from this ridiculous and extremely worky environment.

Rob.

"Mark Fitzpatrick" <ma******@fitzme.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
This isn't MS's fault, that's just the way HTML works. HTML was never
designed to do layout. It's a markup language, which means that it
describes how content should appear, not the where. There are lots of ways
to get positioning to be very accurate, but not through CSS positioning.
Through carefully crafted tables, you can pretty much position anything
you want any way you like it and have a pretty good assurance that it will
remain there.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - FrontPage

"Rob R. Ainscough" <ro*****@pacbell.net> wrote in message
news:%2***************@tk2msftngp13.phx.gbl...
I'm slowly (very slowly) working my way thru the bizarre and sadistic
world of control positioning in MultiViews (ASP 2.0). I came across this
to help me explain (or attempt to anyway) why my web page controls were
all over the place.

"Ironically, absolute positioning is relative. Yes, you read that right.
An absolutely positioned element is positioned relative to another
element, called the containing block. Here comes the definition of that.
Take a few deep breaths and hold on tight to the armrests of your chair.
The containing block of an absolutely positioned element is its nearest
positioned ancestor, or, if there is no such element, the document's
initial containing block.

By positioned ancestor we mean a structurally superior element whose
position property is absolute, fixed or relative."

OMFG -- and this is a good thing?? Who thought this brain storm of an
idea, some 10 year old? Did anyone stop for 10 seconds to think that the
majority of end users out there don't want their screen appearance to
shift and move based on their current window size and/or screen
resolution. It's like an entire sub-system was invented to deal with the
issue that only <1% of the end user even care about. OMG, this is more
designer/developer out of touch with reality crap. And people still
wonder why <20% of the population use the Internet.


Feb 7 '06 #3

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

Similar topics

4
by: Ken Kast | last post by:
Here's my situation. I have a statically positioned table that has an image in a cell. I also have some layers, defined by absolute-positioned DIVs for some animation. Everything works until I...
14
by: Harlan Messinger | last post by:
What am I not understanding about the definition of { position: absolute; }? "The box's position (and possibly size) is specified with the 'left', 'right', 'top', and 'bottom' properties. These...
6
by: Harald Kirsch | last post by:
In the W3C document about CSS2, I read at http://www.w3.org/TR/REC-CSS2/visuren.html#choose-position the following: absolute The box's position (and possibly size) is specified with the...
4
by: mike eli | last post by:
Hi, I have several absolute positioned elements inside an absolute positioned DIV. I would like one of the nested elements to have a dynamic width. I set it's left and right attributes to 5, so...
1
by: Fred Nelson | last post by:
Hi: I'm working on one of my first web applications in asp.net 2.0 and I'm having a problem with absolute versus relative positioning of controls that I place on pages that use master pages with...
2
by: nonsensitor | last post by:
I'm just learning xhtml & css, primarily from westciv's online tutorials and css guide. I've run into a couple of problems with a page I'm developing that I can't figure out. The first problem is...
2
by: nino9stars | last post by:
Hello, I have just started messing with absolute positioning on webpages, and it definitely let's you do some creative things. Well, after much searching and help, I got the images I was using...
6
by: Mark | last post by:
hi, i'm trying to position something in the top right corner of a container, but i can't seem to figure out how to get it working. here's the html <div class='thumb'><a href='image.jpg'><img...
3
by: mikewse | last post by:
I have a strange problem where it seems IE is doing the correct layout but Firefox and Safari isn't. I think I'm probably wrong, and there is something in the standards that say behaviour should be...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...

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.