iframe position and scrollbar

windows

Guest
i got two iframes on my page, and i positioned them using css {position: relative; left: 0px; top: -366px}<br />
<br />
the iframes are positioned alright, but the page scrollbar still recognizes them below the last image on my page, making the page scroll a lot of blank space...<br />
<br />
a bit hard to explain this, just take a look at:<br />
<br />
<!-- m --><a class="postlink" href="http://www.one-stop.no/ot/index.htm">http://www.one-stop.no/ot/index.htm</a><!-- m --><br />
<br />
i already tried putting this in my css <br />
body {overflow-y:hidden;} but it didn't work...<br />
<br />
<br />
does anyone know a way to avoid the blank space scrolling without removing the scrollbar altogether?<!--content--><p><br />
<span style="position: absolute; left: 147; top: 135"><br />
<iframe name="I1" width="300" height="150"><br />
Your browser does not support inline frames or is currently configured not to display inline frames.<br />
</iframe></span><br />
</p><br />
<br />
dont use CSS, use this code and position the IFrames again<br />
<br />
p.s top image not showing up and frames are infront of your navbars.<!--content-->cheers joe!<br />
<br />
the span tag worked like a dream, even positioned the next iframe next to the first, no bull****, nice.<br />
<br />
i think i fixed the top image, missed a path, should be working now. thanks for telling :)<br />
<br />
about the frames being in front of my navbars, yes i realized this, it seems that flash messes up things, only pages with flash embedded goes on top of my navBar...<br />
<br />
i don't know how to fix it, all i could think of was z-index:1000, but that didn't work...do you have any idea?<!--content-->aint got a clue with flash or things like that sorry but the people in the flash development forums are bound to have an answer for you.<br />
<br />
yeah, image fixed, and frames looking good mate<!--content-->you cannot use span tags to postion things. that is a div tags job.<br />
<br />
also you can't z-index a flash object. it sits higher than all your other elements on the page.<br />
<br />
edit: have a look in mozilla, all messed up.<!--content-->oyh, mozilla and netscape really messes up...the frames are transparent and they don't understand absolute positioning...arh, works fine in ie though, crap...my menu needs absolute positions, i'm not quite sure about this dropdown menu code, i used a tutorial by james austin for it, but it was a bit confusing...<br />
<br />
does anyone know a good tutorial for a simple dropdown menu?<br />
<br />
i tried div tags again for the iframes, works fine now, the problem was relative positioning - needed to use absolute to get rid of the empty space...<!--content-->for simple dropdown menus i recommend Xara menu maker from <!-- w --><a class="postlink" href="http://www.xara.com">www.xara.com</a><!-- w --> , you can get the free downlaod and have a few choices.<br />
<br />
heres a good site (<!-- m --><a class="postlink" href="http://www.dynamicdrive.com/dynamicindex1/dropmenuindex.htm">http://www.dynamicdrive.com/dynamicinde ... uindex.htm</a><!-- m -->)<br />
<br />
good luck<!--content-->thanks joe!<br />
<br />
had a look at dynamicdrive, nice, but a bit too simple i guess. xara menumaker looks good though, gotta check out that one :)<br />
<br />
thanks for the help guys<!--content-->Originally posted by kimgar <br />
oyh, mozilla and netscape really messes up...the frames are transparent and they don't understand absolute positioning...arh, works fine in ie though, crap...my menu needs absolute positions, i'm not quite sure about this dropdown menu code, i used a tutorial by james austin for it, but it was a bit confusing...<br />
<br />
does anyone know a good tutorial for a simple dropdown menu?<br />
<br />
i tried div tags again for the iframes, works fine now, the problem was relative positioning - needed to use absolute to get rid of the empty space... <br />
it is actually IE that is messed up and mozilla and NS show it how it really is. IE has a lot of bugs in it and it doesn't understand a lot of css2. so if you get it working in mozilla it will work in anything. and coolmenus from <!-- w --><a class="postlink" href="http://www.dhtmlcentral.com">www.dhtmlcentral.com</a><!-- w --> is a great menu.<!--content-->
 
Back
Top