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!
frameset alternatve using object
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Frame
View previous topic :: View next topic  
Author Message
peterroots



Joined: 06 Jun 2008
Posts: 1

PostPosted: Fri Jun 06, 2008 10:58 am     frameset alternatve using object Reply with quote

I have a problem or at least IE seems to!
I have read that W3C seems to think frames are a bad idea so I tried rewriting my website without them.
It all worked fine on my computer using konqueror, firefox and opera so I uploaded it to the web and the first person to access the site with IE told me the site was all messed up.
I have a menu down the left side and banner across the top both stored as html files and used as data in an object. Clicking on a menu item should open the relevant page but in IE the new page opens in the space occupied by the menu which is not what I see in firefox etc or what I want.
the relevant bit of my linked style sheet is

object.menu {position : fixed; left:0; bottom:0; width:75; height:400;}
object.banner {position : float; width:100%}
div.main {margin-left:65}

and the menu is brought in as

<!--Menu-->
<object class="menu" data="menu.html"></object>

and correctly appears down the left side
inside the menu are lines like this

<tr><td height="50"><a href="dodoma.html" target="_parent">Where is Dodoma?</a></td></tr>

the main bit of the page is
<!--Main text of page-->
<div class="main">
text of page here...
..
...
</div>

any idea why this may not work as expected?
PayneLess Designs



Joined: 28 Feb 2007
Posts: 868
Location: Biloxi, MS

PostPosted: Thu Jul 31, 2008 2:51 pm     Reply with quote

I normally don't like to use or suggest this, but on your menu.html and between the head tags, insert <base target="_blank">

and see if that works for you.
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