HTML Help Forum Index HTML Help
Please Search for the answer to your question before asking it! Thanks.
 

Problems centering an iframe (I think)
Post a Reply to this Topic Ask a New Question
Click here to go to the original topic
       HTML Help Forum Index -> HTML Frame
View previous topic :: View next topic  
Author Message
Izzy



Joined: 24 Aug 2009
Posts: 1

Posted: Mon Aug 24, 2009 3:38 pm     Problems centering an iframe (I think)  

It won't matter how I'm trying to fix it, the iframe itself won't become centered (like the rest of my page).

Here's the code:


<div id="apDiv1"><iframe width="100%" height="100%" name="main" scrolling="no" src="news.html"></iframe></div>


I've tried changing this code to other values when other's got it to work but this won't become centered.
I've tried in FF, Chrome, IE etc... =(



sticks464



Joined: 31 Dec 2006
Posts: 2308

Posted: Mon Aug 24, 2009 6:52 pm      

Post all your code so you can get a good answer.
jpbhat



Joined: 02 Sep 2009
Posts: 1

Posted: Wed Sep 02, 2009 5:17 am     i frame problem in ie 8  

hi all
i have problem in iframe in ie 8
border is displaying in ie8

any one help me
sticks464



Joined: 31 Dec 2006
Posts: 2308

Posted: Wed Sep 02, 2009 5:49 am      

Without seeing your code I have to guess. Try this

Example:
Code: <iframe width="100%" height="100%" name="main" scrolling="no" border="0" src="news.html"></iframe>
 
 
DARFUR
HOSTING / DESIGN
MAKE MONEY

       HTML Help Forum Index -> HTML Frame
Page 1 of 1


Powered by phpBB Search Engine Indexer
Powered by phpBB 2.0.19 © 2001, 2002 phpBB Group