Iframes messing up

  • Jako
  • Banned
  • Banned
  • No Avatar
  • Joined: Oct 30, 2003
  • Posts: 227
  • Status: Offline

Post April 27th, 2004, 8:29 pm

I no iframes are frowned apon on this site...instead of those any suggestions. Cause i like to use them so i dont have to reload an entire page w/ new info. Just a frame while keeping the rest the same. Less to edit to in my opinion.

well here is my prob.

usually when you type something it fits in the iframes width so you dont have to scroll sideways. But on mine, w/ these pics i have there is enough room to not scroll sideways, but i still have the scroller then. and the scroll setting is set on "auto"...weird
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post April 27th, 2004, 8:29 pm

  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Joined: May 28, 2003
  • Posts: 23404
  • Loc: Woodbridge VA
  • Status: Offline

Post April 27th, 2004, 8:48 pm

Iframes aren't frowned upon, but frames are for sure.

Do you have a working example so we can see what you are saying?
"There's no place like 127.0.0.1 except for ::1."
Alexandria Networks. Leader in IT consulting for associations/non-profits, and small to medium sized businesses around the northern Virginia and Washington D.C. metro area.
  • Axe
  • Genius
  • Genius
  • User avatar
  • Joined: Jan 07, 2004
  • Posts: 5744
  • Loc: Sub-level 28
  • Status: Offline

Post April 27th, 2004, 10:51 pm

Moved to web design.
  • rtm223
  • Mastermind
  • Mastermind
  • User avatar
  • Joined: Mar 24, 2004
  • Posts: 1855
  • Loc: Uk
  • Status: Offline

Post April 28th, 2004, 12:00 am

I'm not keen on iframes either lol, but I shall not do this to you again atno...

I'm sure someone asked nearly the exact same question like a week ago, but I cannot find the thread now.... I'll have another look in a bit for you.

//edit: found the post and it was in the programming forum lol. Anyhoo, that post was about making it scroll horizontal and you want it to not do so. Basically ignore everything I said I was getting confused

Are the images too high for the iframe? If not then you could try overflow:hidden on either the iframe or the page contained within?

Any chance of a link or some code?
CSS website design tutorials
  • SharkShark
  • Guru
  • Guru
  • User avatar
  • Joined: Apr 24, 2004
  • Posts: 1013
  • Loc: Living In Today
  • Status: Offline

Post April 28th, 2004, 5:30 am

I dont use Iframes now but i used to, can u give me and example of your page so i can check it for you?
Yesterday is history.Tomorrow is mystery.Today is a gift.
Car Audio Sytems
LED Emergency Lights
  • Jako
  • Banned
  • Banned
  • No Avatar
  • Joined: Oct 30, 2003
  • Posts: 227
  • Status: Offline

Post April 28th, 2004, 5:44 am

http://jako.us/frame/home.htm

there is part of my site...and you can see the prob im talking about
  • rtm223
  • Mastermind
  • Mastermind
  • User avatar
  • Joined: Mar 24, 2004
  • Posts: 1855
  • Loc: Uk
  • Status: Offline

Post April 28th, 2004, 5:50 am

Nope works fine for me (Firefox 0.8 and IE6) :D
CSS website design tutorials
  • digitalMedia
  • a.k.a. dM
  • Genius
  • User avatar
  • Joined: Dec 29, 2003
  • Posts: 5169
  • Loc: SC-USA
  • Status: Offline

Post April 28th, 2004, 5:59 am

Have you tried scrolling DIV's?
- dM
  • Jako
  • Banned
  • Banned
  • No Avatar
  • Joined: Oct 30, 2003
  • Posts: 227
  • Status: Offline

Post April 28th, 2004, 6:02 am

Can you give me the code i would need for the DIV's.

Here is how it looks on my IE
http://www.angelfire.com/mi4/djako/iframe.jpg
  • SharkShark
  • Guru
  • Guru
  • User avatar
  • Joined: Apr 24, 2004
  • Posts: 1013
  • Loc: Living In Today
  • Status: Offline

Post April 28th, 2004, 6:21 am

To creat a scrolling DIV:

first start with your div area, (this code includes some styling just to make it visible edit it for you)

Quote:
<div style="border : solid 2px #ff0000; background : #000000; color : #ffffff; padding : 4px; width : 200px; height : 50px; ">
1<br />
2<br />
3<br />
4<br />
5<br />
6<br />
7<br />
8<br />
9<br />
10<br />
</div>


That creates the area, now to scroll try this:

Quote:
<div style="border : solid 2px #ff0000; background : #000000; color : #ffffff; padding : 4px; width : 200px; height : 50px; overflow : auto; ">
1<br />
2<br />
3<br />
4<br />
5<br />
6<br />
7<br />
8<br />
9<br />
10<br />
</div>


the only thing with this is that you have to enter your images and what have you into the div area instead of loading a seperate page. Let me know if that helps! Also it didnt show up in my post but there are breaks after each number. that is just to make the page longer. replace the numbers with whatever you need.
Yesterday is history.Tomorrow is mystery.Today is a gift.
Car Audio Sytems
LED Emergency Lights
  • rtm223
  • Mastermind
  • Mastermind
  • User avatar
  • Joined: Mar 24, 2004
  • Posts: 1855
  • Loc: Uk
  • Status: Offline

Post April 28th, 2004, 6:23 am

Maybe its something to do with xp? I don't know why that would be but I'm using 2k - that could be the difference :?

Replace the iframe tag with a div tag, with (probably) the same attributes and css properties.

copy everything inside the body tag on the page inside the iframe, inside the div tags on the main page.

Thats about it for changing to divs lol, there might be some extra tweaks need doing as well, but that sould work.
CSS website design tutorials
  • SharkShark
  • Guru
  • Guru
  • User avatar
  • Joined: Apr 24, 2004
  • Posts: 1013
  • Loc: Living In Today
  • Status: Offline

Post April 28th, 2004, 6:23 am

If you dont like the div try this link, Its creating and iframe in CSS....

http://www.beforethedog.com/tutoriali/tut1.htm

May be helpfull!
Yesterday is history.Tomorrow is mystery.Today is a gift.
Car Audio Sytems
LED Emergency Lights
  • rtm223
  • Mastermind
  • Mastermind
  • User avatar
  • Joined: Mar 24, 2004
  • Posts: 1855
  • Loc: Uk
  • Status: Offline

Post April 28th, 2004, 6:32 am

thats a div.....
it's not an iframe. It's almost the exact same thing you posted (just before I did lol) up there.
CSS website design tutorials
  • SharkShark
  • Guru
  • Guru
  • User avatar
  • Joined: Apr 24, 2004
  • Posts: 1013
  • Loc: Living In Today
  • Status: Offline

Post April 28th, 2004, 7:03 am

Oh. :oops: ah well at least he got the tutorial!
Yesterday is history.Tomorrow is mystery.Today is a gift.
Car Audio Sytems
LED Emergency Lights
  • Jako
  • Banned
  • Banned
  • No Avatar
  • Joined: Oct 30, 2003
  • Posts: 227
  • Status: Offline

Post April 28th, 2004, 1:35 pm

the other thing is... when i make the scrolling like this:

Code: [ Select ]
<iframe name="sub" src="sub.htm" scrolling="yes" frameborder="0" height="125" width="230">


It works fine. But i dont want to always see the scroller. So when i put it on auto, i get the cross scrolling
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post April 28th, 2004, 1:35 pm

Post Information

  • Total Posts in this topic: 18 posts
  • Users browsing this forum: No registered users and 122 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.