Go Back  HTML Forums - Free Webmaster Forums and Help Forums > WEBSITE DEVELOPMENT > HTML / XHTML
User Name:
Password:
 

Reply
Thread Tools   Display Modes
  View First Unread
 
Old 03-09-2010, 10:30 PM
  #1
xbolt
Novice (Level 1)
 
Join Date: Mar 2010
Posts: 1
iTrader: (0)
xbolt is an unknown quantity at this point
Problems with embedding HTML in an object tag

Ok, so I'm trying to revamp my website to be W3C standards-compliant.

Here's what I have currently: http://www.xboltz.net/index-new2.html

I have a sidebar in a separate HTML document, that I bring in with an object tag, in order to make it easier to add new pages since I don't have to change every other page to add a link.

I thought that by setting the object height at 100%, it would scale according to the height of what was inside the box, but it scales to the browser window instead. At 1024x768 and with all three collapsible elements open, a scrollbar appears in the object. Is there a way to make it so the whole page can be lengthened according to what's inside the box?

And another thing that's really more important; the links do not work in IE. I tried 7 and 8, and the links all open inside the object, as opposed to the full window. It does that with both target="_parent" and target="_top". The links work in Firefox just fine.
xbolt is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 03-09-2010, 11:43 PM
  #2
MattBrox
Battler (Level 3)
 
MattBrox's Avatar
 
Join Date: Mar 2010
Posts: 23
iTrader: (0)
MattBrox is an unknown quantity at this point
Instead of using the object tag I recommend using SSI (server side includes) to include things like footers / side bars.
But since you're using <object> you might as well try this:

Get the ID of the sidebar in your CSS and set a min-height:; in pixels. This will give the box a set height, and also the ability to re-size.

I don't work with the object tag so I'm not too sure it it'll work.
MattBrox is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Reply
KEEP TABS
SPONSORS
 
Boxedart

 
 


 
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
  
 
 
 



 
  POSTING RULES
 
 
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Thread Tools
Display Modes

Forum Jump

 

All times are GMT -5. The time now is 05:41 AM.

   

Mascot team created by Drawshop.com

Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.

Server Monitoring by ENIACmonitor 0.01
HTMLforums.com © Big Resources, Inc. Web Design by BoxedArt.com
vRewrite 1.5 beta SEOed URLs completed by Tech Help Forum and Chalo Na.