HighDots Forums  

popup <div>

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss popup <div> in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
David Griffiths
 
Posts: n/a

Default popup <div> - 12-10-2007 , 05:38 AM






Hi All

Page available at http://home.online.no/~vib-lie/dev/index.html

The last line of the page reads "Note Read note" if you hover the mouse over
"Read note" I have a popup div display.

The popup displays in different places with Mozilla and IE, what am I doing
wrong and how can I correct the problem so it displays the same in both.

All CSS & JavaScript is in the header.

Thanks in advance

Dave.


Reply With Quote
  #2  
Old   
David Griffiths
 
Posts: n/a

Default Re: popup <div> - 12-10-2007 , 08:40 AM






Problem solved.

Thanks to Marks post on postion: relative; I was able to follow the links
and found the crucial information.


"David Griffiths" <dayvg69 (AT) yahoo (DOT) nospam.co.uk> wrote

Quote:
Hi All

Page available at http://home.online.no/~vib-lie/dev/index.html

The last line of the page reads "Note Read note" if you hover the mouse
over "Read note" I have a popup div display.

The popup displays in different places with Mozilla and IE, what am I
doing wrong and how can I correct the problem so it displays the same in
both.

All CSS & JavaScript is in the header.

Thanks in advance

Dave.


Reply With Quote
  #3  
Old   
Jonathan N. Little
 
Posts: n/a

Default Re: popup <div> - 12-10-2007 , 09:30 AM



David Griffiths wrote:
Quote:
Hi All

Page available at http://home.online.no/~vib-lie/dev/index.html

The last line of the page reads "Note Read note" if you hover the mouse
over "Read note" I have a popup div display.

The popup displays in different places with Mozilla and IE, what am I
doing wrong and how can I correct the problem so it displays the same in
both.

All CSS & JavaScript is in the header.
You need apply 'position: relative' on the parent element to the
absolutely positioned child with be positioned relative to the parent
and not the page.

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com


Reply With Quote
  #4  
Old   
David Griffiths
 
Posts: n/a

Default Re: popup <div> - 12-10-2007 , 11:43 AM



Thanks Jonathan

"Jonathan N. Little" <lws4art (AT) centralva (DOT) net> wrote

Quote:
David Griffiths wrote:
Hi All

Page available at http://home.online.no/~vib-lie/dev/index.html

The last line of the page reads "Note Read note" if you hover the mouse
over "Read note" I have a popup div display.

The popup displays in different places with Mozilla and IE, what am I
doing wrong and how can I correct the problem so it displays the same in
both.

All CSS & JavaScript is in the header.

You need apply 'position: relative' on the parent element to the
absolutely positioned child with be positioned relative to the parent and
not the page.

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com


Reply With Quote
  #5  
Old   
dorayme
 
Posts: n/a

Default Re: popup <div> - 12-10-2007 , 04:01 PM



In article <gv-dnbAQbLNY58DaRVnzvQA (AT) telenor (DOT) com>,
"David Griffiths" <dayvg69 (AT) yahoo (DOT) nospam.co.uk> wrote:

Quote:
Thanks Jonathan

"Jonathan N. Little" <lws4art (AT) centralva (DOT) net> wrote in message
news:429de$475d5ba1$40cba7bb$28296 (AT) NAXS (DOT) COM...
David Griffiths wrote:

You need apply 'position: relative' on the parent element to the
absolutely positioned child with be positioned relative to the parent and
not the page.

In a post to a similar query I made:

http://netweaver.com.au/alt/positionRelative.html

--
dorayme


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.