HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
another iframe question...
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Frame
View previous topic :: View next topic  
Author Message
champion chap



Joined: 20 Feb 2005
Posts: 4

PostPosted: Sun Feb 20, 2005 2:09 pm     another iframe question... Reply with quote

if my iframe needs to scroll to allow you to see the rest of the text it dosnt only show the vertical scroller

it also shows the horizontal scrollbar

now i find this very annoying and i quite simply cant fix the problem!!!

can anyone help me???
Caldar



Joined: 20 Feb 2005
Posts: 3

PostPosted: Sun Feb 20, 2005 10:11 pm     Re: another iframe question... Reply with quote

Try placing all the contents of the page that you are loading into the iframe inside a table that is 20 pixels narrower than the declared width of the iframe.

Example iframe code:
Code:
<IFRAME NAME="myIFrame" WIDTH="500" HEIGHT="350" SRC="myInfo.html" FRAMEBORDER="0"></IFRAME>


Example table code from "myInfo.html":
Code:
<TABLE WIDTH="480" CELLPADDING="0" CELLSPACING="0" BORDER="0">
   <TR>
      <TD>Welcome to my page. This is my content area... add your text and images here.</TD>
   </TR>
</TABLE>


This has always worked for me. Good luck.
Code:
champion chap



Joined: 20 Feb 2005
Posts: 4

PostPosted: Fri Feb 25, 2005 3:27 pm     Reply with quote

hmmm weirdly enough it seems to have nothing to do with anything!!!

i have deleted all the content in the iframe src and had just loads of <br>'s and the scrollbar still appears

its really quite perplexing

view the source http://www.championchap.com

its really getting to me[/url]
chrisxkelley



Joined: 07 Dec 2004
Posts: 246

PostPosted: Fri Feb 25, 2005 4:24 pm     Reply with quote

i was about to say "what is this guy talking about, theres no horizontal scrollbar!". but then i read on and realized "oh yeah. i'm using firefox".

the solution? hack microsoft and make internet explorer unusable by everyone so they all must use firefox. ookay, just kidding.

it doesnt suprise me that ie has yet another problem. my only suggestion would be to try and rezize the iframe. if that doesnt work, maybe you could use old fashioned frames... Very Happy
champion chap



Joined: 20 Feb 2005
Posts: 4

PostPosted: Fri Feb 25, 2005 5:30 pm     Reply with quote

yea its pretty weird...but even when i stretch the iframe so its 3 screens long it is there...mocking me!!!

and im afraid old fashiond frames are just not an option
sorry
champion chap



Joined: 20 Feb 2005
Posts: 4

PostPosted: Sat Feb 26, 2005 6:24 pm     Reply with quote

you guys can close this topic now

my buddy Tim sorted it out

it seems this was the problem

dreamweaver put this at the top of my pages
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

when it should have just been this

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

so if anyone else is having this problem then chances are thats what the problem is
okimeow



Joined: 16 Jun 2005
Posts: 1

PostPosted: Thu Jun 16, 2005 8:38 pm     Reply with quote

i have this same problem, but i can't find the <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd"> anywhere in my HTML...

my website is located here: http://wwwfreewebs.com/okimeow and once you enter, click on the fourth orange "slice" (going clockwise).

also, i'm using ie version 6.
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Frame All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial