 |
|
|
| View previous topic :: View next topic |
| Author |
Message |
champion chap
Joined: 20 Feb 2005 Posts: 4
|
Posted: Sun Feb 20, 2005 2:09 pm another iframe question... |
|
|
|
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
|
Posted: Sun Feb 20, 2005 10:11 pm Re: another iframe question... |
|
|
|
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.
|
|
champion chap
Joined: 20 Feb 2005 Posts: 4
|
Posted: Fri Feb 25, 2005 3:27 pm |
|
|
|
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
|
Posted: Fri Feb 25, 2005 4:24 pm |
|
|
|
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...  |
|
champion chap
Joined: 20 Feb 2005 Posts: 4
|
Posted: Fri Feb 25, 2005 5:30 pm |
|
|
|
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
|
Posted: Sat Feb 26, 2005 6:24 pm |
|
|
|
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
|
Posted: Thu Jun 16, 2005 8:38 pm |
|
|
|
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. |
|
|
|
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
|
|
|
|
|
 |
|
|
|
|
|
|
|