Link to home
Start Free TrialLog in
Avatar of yunkaa
yunkaa

asked on

White Margin Outer Edges Only

Hello,

Thanks so much to mark-b who helped us figure out a problem. (https://www.experts-exchange.com/questions/20956005/Java-Applet-Won't-Allow-Anything-Else-on-its-Page.html)

<FRAMESET ROWS="53,*" FRAMESPACING="0" FRAMEBORDER="0" MARGINHEIGHT="0" MARGINWIDTH="0" BORDER="0">
 <FRAME SRC="banner.html" FRAMEBORDER="0" BORDER=0 SCROLLING="NO" MARGINWIDTH="0" MARGINHEIGHT="0" FRAMESPACING="0" NAME="BANNER">
 <FRAME SRC="chat.html" NAME="MAIN" FRAMEBORDER="0" SCROLLING="YES" MARGINWIDTH="0" MARGINHEIGHT="0" FRAMESPACING="0" BORDER=0>
</FRAMESET>
 Now we have two frames that sit on top of each other.  Both pages have a blue background.

Is there anyway to have a white margin around just the OUTER edges of the two frames, and not where the two frames meet?

Many thanks,

Yunkaa
Avatar of COBOLdinosaur
COBOLdinosaur
Flag of Canada image

Just add a little styling to the frame tags:

<FRAMESET ROWS="53,*" FRAMESPACING="0" FRAMEBORDER="0" MARGINHEIGHT="0" MARGINWIDTH="0" BORDER="0">
 <FRAME SRC="banner.html" FRAMEBORDER="0" SCROLLING="NO" MARGINWIDTH="0" MARGINHEIGHT="0" FRAMESPACING="0" NAME="BANNER" style="border:5px solid white;border-bottom:0px solid white">
 <FRAME SRC="chat.html" NAME="MAIN" FRAMEBORDER="0" SCROLLING="YES" MARGINWIDTH="0" MARGINHEIGHT="0" FRAMESPACING="0" style="border:5px solid white;border-top:0px solid white">
</FRAMESET>
 
Cd&
ASKER CERTIFIED SOLUTION
Avatar of COBOLdinosaur
COBOLdinosaur
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of yunkaa
yunkaa

ASKER

Hello CD,

That one is elegant.  SUPER! :))  It is just the effect we needed.  

Many, many thanks,

Yunkaa
Glad I could help.  Thanks for the A. :^)

Cd&