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!

Removing space between Frames

Status
Not open for further replies.

kliz0328

Programmer
Nov 7, 2005
138
US
I have a set of frames, and each one is holding a different image that makes up a border to surround the main information of the page. I am doing this b/c the information in the main section turns into a PDF at one point throughout the site and eats up the whole frame that it is in. The problem I am having is getting the borders to touch. There is a very small gap in between the top and side borders. Is there anyway to remove this gap. Below is my code, the HTML is in there it was jsut mostly written in VBScript.

Response.Write ("<HTML>" & vbCRLF)
Response.Write (" <HEAD>" & vbCRLF)
Response.Write (" <META HTTP-EQUIV=EXPIRES CONTENT='FRI, JUN 12 1981 08:20:00 GMT'>" & vbCRLF)
Response.Write (" <META HTTP-EQUIV=PRAGMA CONTENT=NO-CACHE>" & vbCRLF)
Response.Write (" <META HTTP-EQUIV=CACHE-CONTROL CONTENT=NO-CACHE>" & vbCRLF)
Response.Write (" <LINK REL=STYLESHEET TYPE=TEXT/CSS HREF=CSS/SmartNetDocs.CSS>" & vbCRLF)
Response.Write (" </HEAD>" & vbCRLF)
Response.Write (" <FRAMESET rows='93em,*'>" & vbCRLF)
Response.Write (" <FRAME SRC='FrameSetupMenu1.asp" & RequestQueryString & "' NORESIZE NAME=Menu ID=Menu MARGINWIDTH=0 MARGINHEIGHT=0 FRAMEBORDER=0 BORDERCOLOR=#E0FFFF HIDEFOCUS=1 style=margin:0;padding:0;></FRAME>" & vbCRLF)
'Response.Write (" <FRAME NORESIZE NAME=Menu ID=Menu MARGINWIDTH=0 MARGINHEIGHT=0 FRAMEBORDER=0 BORDERCOLOR=#E0FFFF HIDEFOCUS=1></FRAME>" & vbCRLF)
If (UCase (Request.QueryString ("Mode")) = "DEBUG") Then
Response.Write (" <FRAME SRC='TransactionRetrieve.asp" & RequestQueryString & "' NAME=Floater ID=Floater WIDTH=100% HEIGHT=100% MARGINWIDTH=0 MARGINHEIGHT=0 FRAMEBORDER=0 HIDEFOCUS=1></FRAME>" & vbCRLF)
ElseIf (UCase (Request.QueryString ("Signing")) = "YES") Then
Response.Write (" <FRAME SRC='SignForm.asp" & RequestQueryString & "' NAME=Floater ID=Floater WIDTH=100% HEIGHT=100% MARGINWIDTH=0 MARGINHEIGHT=0 FRAMEBORDER=0 HIDEFOCUS=1></FRAME>" & vbCRLF)
Else
Response.Write (" <FRAME SRC='FormCopiesList.asp" & RequestQueryString & "' NAME=Floater ID=Floater WIDTH=100% HEIGHT=100% MARGINWIDTH=0 MARGINHEIGHT=0 FRAMEBORDER=0 HIDEFOCUS=1 style=margin:0;padding:0;></FRAME>" & vbCRLF)
End If
Response.Write (" </FRAMESET>" & vbCRLF)
Response.Write ("</HTML>" & vbCRLF)
Response.End
%>
 
Perhaps you could post your client-side frameset code? Posting server-side code means we have no idea what half of the output will actually look like.

When you do post it, try putting it in TGML code tags (see the "Process TGML" link below the post box).

Dan



[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
 
Code:
<HTML>
  <HEAD>
    <META HTTP-EQUIV=EXPIRES CONTENT='FRI, JUN 12 1981 08:20:00 GMT'>
    <META HTTP-EQUIV=PRAGMA CONTENT=NO-CACHE>
    <META HTTP-EQUIV=CACHE-CONTROL CONTENT=NO-CACHE>
    <LINK REL=STYLESHEET TYPE=TEXT/CSS HREF=CSS/SmartNetDocs.CSS>
  </HEAD>
  <FRAMESET rows='93em,*'>
    <FRAME SRC='FrameSetupMenu1.asp?Mode=RePrint&TransactionID={A83BC484-B6BB-4307-A25E-9CD0A62B331F}' NORESIZE NAME=Menu ID=Menu MARGINWIDTH=0 MARGINHEIGHT=0 FRAMEBORDER=0 BORDERCOLOR=#E0FFFF HIDEFOCUS=1 style=margin:0;padding:0;border:></FRAME>

    <FRAME SRC='FormCopiesList.asp?Mode=RePrint&TransactionID={A83BC484-B6BB-4307-A25E-9CD0A62B331F}' NAME=Floater ID=Floater WIDTH=100% HEIGHT=100% MARGINWIDTH=0 MARGINHEIGHT=0 FRAMEBORDER=0 HIDEFOCUS=1 style=margin:0;padding:0;></FRAME>
  </FRAMESET>
</HTML>
 
frameset DOES have attributes though: framespacing and frameborder. I tried an kliz0328's example, setting those attributes of frameset to 0 and 0px, respectively and had a peculiar response from IE6.

(1) Type the address in the address bar: get small boundary between the two frames.

(2) Hit the 'Go->' button next to the address bar: same thing.

(3) Hit the Refresh button (the two recycle-looking arrows) and the border GOES AWAY!

(4) Hit return in the address bar or the 'Go->' button again, and the little border comes back.

Hmmm...

Dave


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
O Time, Strength, Cash, and Patience! [infinity]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top