Jump to content

More frame problems?!


Sniffy
 Share

Recommended Posts

Again, I'm just missing something little from my frame set-up. I always seem to forget one little thing whenever I set-up a site, but I can tell somebody the correct way when I'm not thinking.It's part of the cols/rows I think.My frames are not part of the body tag, which is right. Here is what my index looks like. http://pixelkit.phpnet.usHere's my index code.

<head><link rel='stylesheet' type='text/css' href='style.css'></head><frameset cols='130,*,130' rows='800'><frame src='menu.html'  name='menu' noresize='noresize'><frameset cols='500,500' rows='100,700'><frame src='logo.html' name='logo'  noresize='noresize' scrolling=no><frame src='index2.html' name='main'  noresize='noresize' scrolling=auto></frameset></frameset><body><noframes><p>Your browser does not support frames. <br>That means you can't view our site and you'll have to go away now, bye bye.</noframes></body></html>

Link to comment
Share on other sites

If you're going to use frames use iframes.Then create a table and put the iframes in the <td></td>Something like this

<html><body bgcolor="#3c3c3c"><table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%">  <tr>    <td height="150" width="150"> </td>    <td align="center" valign="top" height="150" width="100%"><img src="http://pixelkit.phpnet.us/images/site_logo.png"></td>  </tr>  <tr>    <td width="150px" height="100%"> <iframe src="http://pixelkit.phpnet.us/menu.html" width="150px" height="100%" scrolling="no" frameborder="0"></iframe></td>    <td height="100%"><iframe src="http://pixelkit.phpnet.us/index2.html" name="main" width="100%" height="100%" scrolling="auto" frameborder="0"></iframe></td>  </tr></table></body></html>

Link to comment
Share on other sites

If you're going to use frames use iframes.Then create a table and put the iframes in the <td></td>Something like this
<html><body bgcolor="#3c3c3c"><table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%">  <tr>    <td height="150" width="150"> </td>    <td align="center" valign="top" height="150" width="100%"><img src="http://pixelkit.phpnet.us/images/site_logo.png"></td>  </tr>  <tr>    <td width="150px" height="100%"> <iframe src="http://pixelkit.phpnet.us/menu.html" width="150px" height="100%" scrolling="no" frameborder="0"></iframe></td>    <td height="100%"><iframe src="http://pixelkit.phpnet.us/index2.html" name="main" width="100%" height="100%" scrolling="auto" frameborder="0"></iframe></td>  </tr></table></body></html>

What the?never heard of that one before, but thanks for advice.
Link to comment
Share on other sites

I got the actually frame design down, it's just now I'm having trouble with the layout.Here's my current code:

<html><body bgcolor="#3c3c3c"><table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%"> <tr>   <td height="150" width="150"> </td>   <td align="center" valign="top" height="150" width="100%"><img src="http://pixelkit.phpnet.us/images/site_logo.png"></td> </tr> <tr>   <td width="150px" height="100%"> <iframe src="http://pixelkit.phpnet.us/menu.html" width="150px" height="100%" scrolling="no" frameborder="0"></iframe></td>   <td height="100%"><iframe src="http://pixelkit.phpnet.us/index2.html" name="main" width="100%" height="100%" scrolling="auto" frameborder="0"></iframe></td> </tr></table></body></html>

Link to comment
Share on other sites

If you're going to use frames use iframes.Then create a table and put the iframes in the <td></td>Something like this
<html><body bgcolor="#3c3c3c"><table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%">  <tr>    <td height="150" width="150"> </td>    <td align="center" valign="top" height="150" width="100%"><img src="http://pixelkit.phpnet.us/images/site_logo.png"></td>  </tr>  <tr>    <td width="150px" height="100%"> <iframe src="http://pixelkit.phpnet.us/menu.html" width="150px" height="100%" scrolling="no" frameborder="0"></iframe></td>    <td height="100%"><iframe src="http://pixelkit.phpnet.us/index2.html" name="main" width="100%" height="100%" scrolling="auto" frameborder="0"></iframe></td>  </tr></table></body></html>

Sorry for triple post, but it's actually coming better together kvn's code.I think I actually will start to use Iframes man, thanks.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...