Jun 16, 2025
Оfftopic Community
Оfftopic Community
Forums
New posts
Search forums
What's new
Featured content
New posts
New media
New media comments
New resources
New profile posts
Latest activity
Media
New media
New comments
Search media
Resources
Latest reviews
Search resources
Members
Current visitors
New profile posts
Search profile posts
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Technology
Internet
Why won't my floating div layers work in Internet Explorer?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="lansingstudent09101" data-source="post: 1688163" data-attributes="member: 295981"><p>As far as I can tell, it shouldn't work in firefox either.</p><p></p><p>absolute positioning *should* remove an element from it's containing block and position that element relative to the top left corner of the browser, (UNLESS the containing block is relatively positioned). So, a browser rendering this code properly would remove the "divs" from the links and position them over other page content. Also, "divs" are probably not legal children of the "a" (anchor) tag. The best way to solve this is to:</p><p></p><p>1. change the "display" css property to "block" on the a tags then you will be able to set a height and width on it.</p><p></p><p>2. Move the properties from the "div" tag to the "a" tag </p><p></p><p>3. Move the a tags into a div, inside the table row. Set this div to position:relative (but don't set top/left/bottom/right). and it will stay exactly where it was. Set a height and width (remember the absolute elements won't take up any space so content would collapse into them)</p><p></p><p>4. Position the link elements where you want them.</p></blockquote><p></p>
[QUOTE="lansingstudent09101, post: 1688163, member: 295981"] As far as I can tell, it shouldn't work in firefox either. absolute positioning *should* remove an element from it's containing block and position that element relative to the top left corner of the browser, (UNLESS the containing block is relatively positioned). So, a browser rendering this code properly would remove the "divs" from the links and position them over other page content. Also, "divs" are probably not legal children of the "a" (anchor) tag. The best way to solve this is to: 1. change the "display" css property to "block" on the a tags then you will be able to set a height and width on it. 2. Move the properties from the "div" tag to the "a" tag 3. Move the a tags into a div, inside the table row. Set this div to position:relative (but don't set top/left/bottom/right). and it will stay exactly where it was. Set a height and width (remember the absolute elements won't take up any space so content would collapse into them) 4. Position the link elements where you want them. [/QUOTE]
Insert quotes…
Name
Verification
Please enable JavaScript to continue.
Loading…
Post reply
Top