Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Frames

Status
Not open for further replies.

onbeat69

Programmer
Jan 4, 2004
5
US
I made a website of frame rows. I researched so i can eliminate the big gaps between frames. Despite setting specifics such as margin width, height, and spacing to zero, i still get the same gaps. how do you do eliminate spaces between framesets?

<Frameset rows= &quot;40%, 10%, 12%&quot;>
<frame src= &quot;big.htm&quot;>
<frame src= =&quot;small.htm&quot;>
<frame src=&quot;mid.htm&quot;>
</frameset>


here is a ample frame code i use...
 
You need to set the frameborder property to 0. Ex:

Code:
<Frameset rows= &quot;40%, 10%, 12%&quot;>
  <frame
Code:
frameborder=&quot;0&quot;
Code:
 src= &quot;big.htm&quot;>
  <frame
Code:
frameborder=&quot;0&quot;
Code:
 src= =&quot;small.htm&quot;>
  <frame
Code:
frameborder=&quot;0&quot;
Code:
 src=&quot;mid.htm&quot;>
</frameset>

Also, your &quot;rows&quot; property should either total 100% or have a * on one of the rows.

-Ron

We all play from the same deck of cards, it's how we play the hand we are dealt which makes us who we are. -Me

murof siht edisni kcuts m'I - PLEH
 
Ok, I give. Too many (nested) frames.

Is there some reason why you're using frames instead of tables or CSS to align your content? Unless you must update one frame without updating others, you could probably achieve the same final result much easier if you used tables or CSS.

Sorry I wasn't much help.

Good luck,
-Ron

We all play from the same deck of cards, it's how we play the hand we are dealt which makes us who we are. -Me

murof siht edisni kcuts m'I - PLEH
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top