473,804 Members | 1,974 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

All divs are supposed to be absolute

Hi,

since all my divs are absolute I just declare this css:

div {
position:absolu te;
}

But its not working. Seems as this does not do anything. All
of my divs behave as if no specific position behavior has been specified.

Why is that?

Best regards,
Axel Siebenwirth
Sep 14 '05 #1
4 1328
Els
Axel Siebenwirth wrote:
Hi,

since all my divs are absolute I just declare this css:

div {
position:absolu te;
}
I hope you don't have any content in those divs.
But its not working. Seems as this does not do anything. All
of my divs behave as if no specific position behavior has been specified.

Why is that?


No idea.
I didn't look at your code.

--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
Now playing: David Bowie - Alabama Song
Sep 14 '05 #2
Axel Siebenwirth wrote:
since all my divs are absolute I just declare this css:

div {
position:absolu te;
}
Not generally a good idea.
But its not working. Seems as this does not do anything.


Given that you haven't (at least as far as you have said) specified left,
right, top or bottom properties, then I wouldn't expect any visible result.

--
David Dorward <http://blog.dorward.me .uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Sep 14 '05 #3
Axel Siebenwirth wrote:

since all my divs are absolute I just declare this css:

div { position:absolu te; }

But its not working. Seems as this does not do anything. All
of my divs behave as if no specific position behavior has been specified.

You must position the div using top, left, bottom, right. Otherwise it
is absolutely positioned wherever it occurs in the flow.

--
jmm dash list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Sep 14 '05 #4
Axel Siebenwirth a crit :
Hi,

since all my divs are absolute I just declare this css:

div {
position:absolu te;
}

But its not working. Seems as this does not do anything.
Well, in absence of any specified top, left, bottom, right values, the
default are applied. So, top is auto and left is auto

All of my divs behave as if no specific position behavior has been specified.

Why is that?


The divs are absolutely positioned and they all behave according to the
specific position you've given these: auto.

Grard
--
remove blah to email me
Sep 15 '05 #5

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

Similar topics

5
5009
by: Duane Lambe | last post by:
On some suggestions from this group, I've started to turn my internal helpdesky site for our company to non-absolute positioning. I've been reading O'Reilly's CSS book, and several web sites and tips. For the most part, things are going OK, but I can't seem to find an answer to a particular problem. Using a simpler example, below's some stuff...what I'm trying to do, is get the DIVs inside the .mainbody DIV to be 100% of their parent's...
2
1948
by: Pamel | last post by:
To start off, I am trying to get a page to do this with divs. http://commo.de/lotsadivs.png There is a navigation bar at the top. Then there is a big DIV that contains three other DIVs that contain text and/or pictures. textdiv1 is dropped from the top maybe 50 pixels. All of the textdivs are centered and expand to fit the size of the page. textdiv1 and 2 are of arbitrary height, but textdiv3 is supposed to be right under whichever...
12
6309
by: deko | last post by:
Is there any way to work around the blank space created by hidden divs? I'm trying to use a relatively postioned divs with show/hide behaviors to annotate an image. The divs show/hide onMouseOver/onMouseOut but leave a blank space on the page when hidden (the space where the divs would normally be). Is it possible to use z-indexing to put regular content where the hidden divs would be? When I try to do this, the layers don't unhide as...
15
13511
by: red | last post by:
How do I center two side by side divs ? I've been writing css pages for a while but there's one thing tha still eludes me. I can center a div with margin auto. I can place two divs side by side with float. But I can't center two side by side divs. If I float them and give them auto margins, the auto margins are ignored. If I wrap the two floated divs in another div, the two divs have no
4
1714
by: Gregor | last post by:
I am trying to use an image map with a mouseover function to show various DIV tags. I am not an expert, but what I've come up with works in IE but not in FireFox. Any insight would be greatly appreciated. Below is the js and CSS code <SCRIPT TYPE="text/javascript"> <!-- var layerRef="",styleSwitch="",curMenu="";
2
4829
by: Jakub Łukomski | last post by:
hi. i've got a problem as follows, to which i can't find a solution to: i've got two divs, which are completely independent of each other (neither is a parent of child of another). they're positioned (either absolutely or relatively) in a way that they overlap each other. when i assign an onmousemove event to them, only one of them catches it. any capturing and/or bubbling is beeing performed by parents of the div that caught the...
22
2244
by: pamelafluente | last post by:
Dears, I'd like to know the cleanest solution for the following problem. I want to insert some CSS/htm after a long vertical column of DIVs absolutely positioned. Since this code is generated automatically by a streamwriter, I am looking for the cleanest and simplest solution possible. I would like:
19
6206
roula
by: roula | last post by:
I HATE DIVS AND DIFFERENT BROWSERS!!! i spent the whole day and night searching for a way to center align stupid divs, the problem is that the code is so sensitive, i lost my mind trying to make them work in a certain way (like some should scroll with a fixed background and others shouldn't scroll bla bla..) and the divs are nested and positioned in different ways and if i change something it gets messed up and what works in in IE doesn't work...
21
2405
by: daydream | last post by:
yeah i need some help(such a common line) ,i have a menu and each link has its own div respectively and yeah obviously when u click the link the div shows, the problem is i would like each div to show no matter how many times you click the link for it and if you click on another one and when u go back to the original , the div would still show. at the moment i have partially done that, i click on item a ,that shows then when i click item b that...
0
9716
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, well explore What is ONU, What Is Router, ONU & Routers main usage, and What is the difference between ONU and Router. Lets take a closer look ! Part I. Meaning of...
1
10361
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10103
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9179
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing, and deploymentwithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7644
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupr who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6874
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5536
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4316
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3006
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.