Solved

Frame Question: Aligning a border within frames

Posted on 2003-10-30
5
175 Views
Last Modified: 2010-04-09
Hello,
         As we learn more, more gets complex, well I may think this is complex, others will see the simple fix (I hope!)

I have a frame and well, better to see it... http://www.radmedia.org/palm/index5.html

notice there's a gap in the blue line at the bottom.
the way I set it up is the right border is a 2x3 pxl gif streetched to the cell size
the left bottom border is the same.
The problem probably lies within the fact that I couldn't get the left side perfectly even, so I created 2 pixels of transparency with the blue line going down. In other words the image has 2 pixels no color then 2 pixels of the blue.

At least thats what I think is making the bottom border have a gap.

Also there's an issue that makes the top frame and side move when you drag your mouse near it (like it had a scroll bar) I used the noresize tag and the scroll="no" ,...

So who can answer my double fisted question?! Arg!

RAD {:-()>
0
Comment
Question by:RAD
  • 5
5 Comments
 
LVL 31

Expert Comment

by:seanpowell
ID: 9654524
You will always have that space - it's generated by the frameset and there's no way to remove it.

You need to find an alternate way to lay out the page.
0
 
LVL 31

Accepted Solution

by:
seanpowell earned 125 total points
ID: 9654580
Like this:

Note: you only need this single image for your lines: bluelineacross.gif

index5.html
********
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Palm Air - Frame</title>
</head>
<!-- frames -->
<frameset rows="103,300,2" frameborder="0" framespacing="0" border="0">
  <frame name="top" src="patop.html" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" noresize>
  <frameset cols="285,*" frameborder="0" framespacing="0" border="0">
    <frame name="left" src="paleft.html" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" noresize>
    <frame name="main" src="pamain.html" marginwidth="0" marginheight="0" scrolling="auto" frameborder="0" noresize>
  </frameset>
  <frame name="top" src="pabot.html" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" noresize>
  <frame name="hidden" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" noresize>
  <noframes>
  <body>
  <p>This page uses frames, but your browser doesn't support them.</p>
  </body>
  </noframes>
</frameset>
<!-- end frames -->
</html>

patop.html
********
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Palm Air - Top</title>
</head>
<body topmargin="40" marginheight="40" leftmargin="50" marginwidth="50">
<img src="pa1.jpg" width="686" height="63" border="0" alt="">
</body>
</html>


paleft.html
********
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Palm Air - Left</title>
</head>
<body leftmargin="53">
<table border="0" cellpadding="0" cellspacing="0" width="232">
  <tr>
    <td width="2"><img src="bluelineacross.gif" width="2" height="300" border="0" alt=""></td>
    <td width="230">&nbsp;</td>
  </tr>
</table>
</body>
</html>


pamain.html
********
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Palm Air - Main</title>
</head>
<body>
<table border="0" cellpadding="0" cellspacing="0" width="450">
  <tr>
    <td width="448">&nbsp;</td>
    <td width="2"><img src="bluelineacross.gif" width="2" height="300" border="0" alt=""></td>
  </tr>
</table>
</body>
</html>


pabot.html
********
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Palm Air - Left</title>
</head>
<body leftmargin="53">
<table border="0" cellpadding="0" cellspacing="0" width="682">
  <tr>
    <td><img src="bluelineacross.gif" width="682" height="2" border="0" alt=""></td>
  </tr>
</table>
</body>
</html>
0
 
LVL 31

Expert Comment

by:seanpowell
ID: 9654586
Sorry - just one modification:
<frame name="top" src="pabot.html" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" noresize>

should be
<frame name="bottom" src="pabot.html" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" noresize>
0
 
LVL 31

Expert Comment

by:seanpowell
ID: 9654817
and
<frameset rows="103,300,2" frameborder="0" framespacing="0" border="0">
should be
<frameset rows="103,300,2,*" frameborder="0" framespacing="0" border="0">
0
 
LVL 31

Expert Comment

by:seanpowell
ID: 9660015
http://www.radmedia.org/palm/index6.html

...Nicely done!

Thanks,
GM
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
In this tutorial viewers will learn how add a full-size background image to a webpage using CSS3. Create a new HTML document with an internal stylesheet.: In CSS, define the html element to have a background image. Use a high resolution image.: In t…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now