Who knows HTML?? I need help with frames!

Zero Signal

Active Member
Feb 24, 2003
2,633
2
46
Tucson, AZ
Ok I put together a navigation thingy for my site last night. The site is basicly a frameset with three rows, the top being the header, the middle is the main body for the site and the bottom is just a border. It all looks great BUT if you mouse over the header and scroll with the mouse wheel, it will move up and down slightly :mad: If someone here can help me lock that thing, I would be ecstatic :hail2:

www.byteblock.com

Here is the code for the target frame:
Code:
<html>
<head>
<title>|| Byteblock.com ||</title>
</head>

<frameset framespacing="0px" rows="75px, *, 20px" frameborder="no" >

<frame src="header.html" noresize="noresize" scrolling="no" marginheight="0px" marginwidth="0px" ><frame src="homepage.html" name="main"><frame src="footer.html"></frameset><noframes></noframes>

</html>

Here is the code for the header and header image:

Code:
<html>
<body bgcolor="#000000", marginwidth="0px" marginheight="0px" text="#C6CFDF" topmargin="0px" bottommargin="0px">
<table cellspacing="0" height="75px" width="100%" cellpadding="1">
    <td width="600px" height="75px" align="center" valign="top" bgcolor="black",>
<table id="Table_01" width="600" border="0" cellpadding="0" cellspacing="0">
    <tr>
        <td colspan="6">
            <a href="homepage.html" target="main">
<img id="Byteblock_Header_Buttons_01" src="Byteblock/header_images/Byteblock_Header_Buttons_01.png" width="600" height="19" border="0" alt="" /></a></td>
    </tr>
    <tr>
        <td>
<img id="Byteblock_Header_Buttons_02" src="Byteblock/header_images/Byteblock_Header_Buttons_02.png" width="100" height="26" alt="" /></td>
        <td>
            <a href="diy.html" target="main">
<img id="Byteblock_Header_Buttons_03" src="Byteblock/header_images/Byteblock_Header_Buttons_03.png" width="100" height="26" border="0" alt="" /></a></td>
        <td>
<img id="Byteblock_Header_Buttons_04" src="Byteblock/header_images/Byteblock_Header_Buttons_04.png" width="101" height="26" alt="" /></td>
        <td>
            <a href="tuning.html" target="main">
<img id="Byteblock_Header_Buttons_05" src="Byteblock/header_images/Byteblock_Header_Buttons_05.png" width="100" height="26" border="0" alt="" /></a></td>
        <td>
<img id="Byteblock_Header_Buttons_06" src="Byteblock/header_images/Byteblock_Header_Buttons_06.png" width="99" height="26" alt="" /></td>
        <td>
            <a href="me.html" target="main">
<img id="Byteblock_Header_Buttons_07" src="Byteblock/header_images/Byteblock_Header_Buttons_07.png" width="100" height="26" border="0" alt="" /></a></td>
    </tr>
    <tr>
        <td>
            <a href="articles.html" target="main">
<img id="Byteblock_Header_Buttons_08" src="Byteblock/header_images/Byteblock_Header_Buttons_08.png" width="100" height="30" border="0" alt="" /></a></td>
        <td>
<img id="Byteblock_Header_Buttons_09" src="Byteblock/header_images/Byteblock_Header_Buttons_09.png" width="100" height="30" alt="" /></td>
        <td>
            <a href="images.html" target="main">
<img id="Byteblock_Header_Buttons_10" src="Byteblock/header_images/Byteblock_Header_Buttons_10.png" width="101" height="30" border="0" alt="" /></a></td>
        <td>
<img id="Byteblock_Header_Buttons_11" src="Byteblock/header_images/Byteblock_Header_Buttons_11.png" width="100" height="30" alt="" /></td>
        <td>
            <a href="links.html" target="main">
<img id="Byteblock_Header_Buttons_12" src="Byteblock/header_images/Byteblock_Header_Buttons_12.png" width="99" height="30" border="0" alt="" /></a></td>
        <td>
<img id="Byteblock_Header_Buttons_13" src="Byteblock/header_images/Byteblock_Header_Buttons_13.png" width="100" height="30" alt="" /></td>
    </tr>
</table>
    </td>
    <td width="*" bgcolor="black">
    </td>
    <td width="100px" bgcolor="black">
    </td>
</table>
            
</body>
</html>

Any help would be AWSOME.
 
yeah, i always do the "leftmargin/rightmargin" things, and usually noscroll, too. because frames can be such pains, i never use them. what i usually do is make it all in a huge table and just leave one cell for the main content and label it as such in the code (comment). i save a template so that all i have to do when i want a new page is copy/paste it and rename it--makes things a lot easier.
 
:Word: Frames do suck, which is why I switched to tables on my site. Then I ran into a problem where I couldn't make a scrolling table, so I put in an iframe for my main content. Much better looking and easier to deal with than standard frames. :nice:
 
The leftmargin/rightmargin didn't work wither.

I decided that before I go too far, I'm going to redo the code for xhtml 1.1 compliance using css. So we shall see how that turns out. I'll end up running into a whole plethra of new problems but I want it current :rolleyes:
 
Zero Signal said:
The leftmargin/rightmargin didn't work wither.

I decided that before I go too far, I'm going to redo the code for xhtml 1.1 compliance using css. So we shall see how that turns out. I'll end up running into a whole plethra of new problems but I want it current :rolleyes:

Well I was working with your own code and it worked for me. :shrug: Did you add it to the body tag? Like <body leftmargin="0" rightmargin="0">...

Anyways, good luck with the css! Just don't ask me to help :D