473,769 Members | 4,601 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Positioning trouble

On the page at

http://gavelcade.com/tests/trivia.html

I'm expecting the headings and the text that follows them to be positioned
without regard to image or the DIV that contains it, which is positioned
absolutely. In other words, I'm expecting each heading to start even with
the top of the related image, though with a left margin that clears the
image, and then a small leftward jog so that it does start inside the right
edge of the image. The individual items below the headings should have the
same left margin and fall immediately under the headings.

Instead, the images and the DIVs containing them seem to be remaining in the
flow.

Could anyone tell me what I'm missing?

--
Harlan Messinger
Remove the first dot from my e-mail address.
Veuillez ôter le premier point de mon adresse de courriel.

Jul 20 '05
12 1995
On Wed, 14 Jul 2004, Els wrote:
Bugs me that I don't know why the border helps though :-(


Disclaimer: I haven't looked at this specific case in detail...

I've certainly met situations in the past with buggy browser versions
where defining a border would tidy-up the presentation, whereas
strange things would happen without it. Defining an invisible border
isn't my favourite way of doing business, but if the results are OK, I
suppose at least it beats the nasty habit of scattering transparent
gifs throughout the HTML. :-}

Jul 20 '05 #11
Els
Els wrote:
Harlan Messinger wrote:

I haven't figured why (yet), but if you give the relative
positioned div a border (white, to match the background) the
pictures jumps into place, and if you then delete the z-index
from the absolute positioned div, Firebird shows the pics too.
I suppose z-index:-2 puts them behind the screen or something
;-)

Bugs me that I don't know why the border helps though :-(


I fiddled a bit more with it, and I got a version that doesn't
need the border.
http://locusmeus.com/temp/harlan.html
I used the body as container for the page, as the padding of 10%
caused an extra padding on the div.subjectbloc k too.

To get the page off the sides in Win-IE5 you'd need to put the
whole page in a container though, as apparently Win-IE5 doesn't
allow the body to be 80% wide.

--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
Now playing: Eurythmics & Aretha Franklin - Sisters Are Doing It
For Themselves
Jul 20 '05 #12

"Els" <el*********@ti scali.nl> wrote in message
news:Xn******** *********@130.1 33.1.4...
Els wrote:
Harlan Messinger wrote:

I haven't figured why (yet), but if you give the relative
positioned div a border (white, to match the background) the
pictures jumps into place, and if you then delete the z-index
from the absolute positioned div, Firebird shows the pics too.
I suppose z-index:-2 puts them behind the screen or something
;-)

Bugs me that I don't know why the border helps though :-(


I fiddled a bit more with it, and I got a version that doesn't
need the border.
http://locusmeus.com/temp/harlan.html
I used the body as container for the page, as the padding of 10%
caused an extra padding on the div.subjectbloc k too.

To get the page off the sides in Win-IE5 you'd need to put the
whole page in a container though, as apparently Win-IE5 doesn't
allow the body to be 80% wide.


All very interest! Thanks for the research, Els.

Jul 20 '05 #13

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

Similar topics

2
1257
by: Dennis M. Marks | last post by:
Please ignore all previous postings from me for the past couple of days. All has been solved except for the following. I have three divisions that I am having trouble positioning. What works in IE does not work in Netscape. I have removed all top and left positioning from the css. If you look at my current home page you will see 3 divisions on the bottom. There is a calendar (calendar), calendar controls (controls), and a counter...
0
1585
by: crjr | last post by:
I'm having trouble with positioning in Netscape 7.02. It looks the way I want it to in IE 6, Opera and iRider, but in Netscape and Mozilla, the MENU drops way too low. Also, in Netscape the background image (a logo at the top of the page) is getting covered up by the #main content. Any help would be greatly appreciated. Here's the URLs to both the page and the CSS file. http://www.flashsongs.com/EPOXYFILMS_COM/index.html...
7
6309
by: Griff Miller | last post by:
Please see http://home.houston.rr.com/gmiller15/css/vertprob.html . In mozilla 1.6/1.7 it looks the way I want it, with a thin separation between the two boxes. In IE6, the two boxes touch, which is not what I want. Is there a way to get IE6 to do it the mozilla way? Thanks! Griff
1
6349
by: Mr.Clean | last post by:
I'm having trouble with this. The checkbox is no where near where it is supposed to be and the radio button is not at 206 px away from the left of the window. Looks bad in IE6, even worse in Firefox1.0. I tried using <label> tags but they didn't come out right either. Need the class xxxx_Label because I may be having the text to the left of the check or radiobutton.
17
3049
by: George Hester | last post by:
http://tinyurl.com/5uj6w The lower middle icon the "block" should not drop down when the mouse is over it. How can I stop that? Also the navigation divs both top and bottom should follow the scroll right. Both of these issues occur in IE 6 but not in IE 5.5. You can get the horizontal scroll bar for the window by increasing the size of the image wider than the display area of the window. Assumes 600x800 default display size. Thanks...
2
1791
by: Johnson Smith | last post by:
Question is related to ASP.Net and controlling the position of these controls. I am using html table to placce my web controls. I am displaying same datagrid and calendar controls at clicks of different buttons. Since I am using same control for various clicks, it is hard for me to place the controls at runtime for my required position. Any suggestions of doing this will be a great help. Johnson Smith
9
3388
by: Bill Norton | last post by:
I've been experimenting with floats, positioning and offsets (top, left, etc.) to see what happens when you mix the properties together. All this may be old news to most of you, but it was extremely helpful to me. The results are summarized in this chart. In all these tests I was using a single child element inside a containing block. (I hope the formatting doesn't fall apart too badly when it's uploaded to a newsgroup.) | Do Floats | Do...
5
1886
by: aljamala | last post by:
Hi, I have a group of 5 tables laid out of the web page. 2 go on the left side and 3 on the right. These tables retrieve data from the database so the number of records (rows) returned varies. So the problem I am having at the moment is that if the table gets longer by one or two rows, all my alignment goes of out whack for the other tables. Is there a way for example to place table #2 right after table#1 ends?
1
2539
by: alice | last post by:
Can someone point me to a page that has good info on how the different browsers handle positioning? I'm finding that position:absolute works differently between Safari and IE7. Sort of ironic if you ask me. I can't seem to easily find anything on the web about how to handle this. Is there some sort of hack for IE?
14
3314
by: Fistro | last post by:
I'm trying to find a design that would allow me to build web pages without having to worry about compatibility issues (not too much, in any case,,,) I've came across this CSS layout technique: http://alistapart.com/articles/fauxabsolutepositioning It calculates the left offset from a fixed position, as opposed to calculating it from the right edge of the preceding element by using a combination of position: relative, left: 100% and a...
0
10216
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10049
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9865
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
8873
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 project—planning, coding, testing, and deployment—without 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
7413
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
6675
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
5310
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
3965
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
2815
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.