pop-up that scales to content

L

loadspeed

hi there

i am not sure if it's late at night, or that i am being thick,
or that i am being thick and it's late at night...

but i am trying to create a pop-up that scales to it's content
i.e. say i have several different sized images opening into a pop-up,
but they are using one pop-up template, i want that pop-up to resize to
each respective image size.

hmmm... just working out if i can say the word pop-up anymore... no i
think that's about it.

i'd be interested if any solutions pop-up. ha

ok i'll go now

thanks in advance

(i am a onaly actually a crayon pusher who has bitten off more than i
can chew on a site i designed so if this is a really obvious, dumb
question then i apologise in advance)
 
D

DU

loadspeed said:
hi there

i am not sure if it's late at night, or that i am being thick,
or that i am being thick and it's late at night...

but i am trying to create a pop-up that scales to it's content
i.e. say i have several different sized images opening into a pop-up,
but they are using one pop-up template, i want that pop-up to resize to
each respective image size.

Every browser sets margin on document root element. There is an example
on how to work this out at the end of this section

http://developer-test.mozilla.org/e...nce:window:open#Features_requiring_privileges

MSIE 5+ has a {margin: 15px 10px;} margin on body while Netscape 6+,
Mozilla 1.x and Firefox 1.x have an 8px margin on the body. Recently,
Opera 8 followed Firefox 1.x on this.

DU
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,564
Members
45,039
Latest member
CasimiraVa

Latest Threads

Top