Solved

Frame Question: Aligning a border within frames

Posted on 2003-10-30
5
180 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses how to create an extensible mechanism for linked drop downs.
Find out what you should include to make the best professional email signature for your organization.
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

690 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