Solved

frames without border

Posted on 1998-12-02
8
195 Views
Last Modified: 2010-04-09
may i know what does each of these do?

<FRAMESET ...
1) frameborder="0"

2) framespacing="0"

3) border="0">

<FRAME SRC="robmenu.htm" NAME="robmenu"...

4) MARGINWIDTH=10

5) MARGINHEIGHT=0

6) NORESIZE

7) frameborder="0"

8)framespacing="0">
0
Comment
Question by:java_kevin
  • 4
  • 4
8 Comments
 
LVL 5

Accepted Solution

by:
Christian_Wenz earned 100 total points
ID: 1840150
) frameborder="0"

--> Microsoft syntax: show/do not show 3D border

     2) framespacing="0"
--> Microsoft Syntax: distance between frames (thus width of border in pixel)

     3) border="0">
--> Netscape syntax: width of border between frames.

So if you want borderless frames with both NN and IE, you have to use frameborder=0 framespacing=0 border=0

     <FRAME SRC="robmenu.htm" NAME="robmenu"...

     4) MARGINWIDTH=10
distance (in pixels) between the right (or left) border of the frame and the content of the frame ("how much is the frame content indented from left and right")

     5) MARGINHEIGHT=0
same, here distance between the top and bottom of the frame and its content

     6) NORESIZE
the user may not resize the frame with the mouse (cannot alter width and height)

     7) frameborder="0"
same as with frameset

     8)framespacing="0">
same as with frameset

if you have additional questions, please leave me a comment.
0
 

Author Comment

by:java_kevin
ID: 1840151
Then do I need to include the border=0 etc inside the frame src?

Is the full name border=0 or frameborder?
0
 

Author Comment

by:java_kevin
ID: 1840152
n the noresize doesn't need any =??
0
 
LVL 5

Expert Comment

by:Christian_Wenz
ID: 1840153
(1) usually, you don't have to include border=0 in the frame tag - but I always do that, maybe some alternative browser needs it.
(2) border = Microsoft syntax; frameborder = Netscape syntax, so you need both
(3) exactly, you just need NORESIZE
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:java_kevin
ID: 1840154
So it's safer to
<frameset frameborder (netscape) =0 broder (MIE) =0>
<frame frameborder=0 ... >

to be on the safe side...
0
 
LVL 5

Expert Comment

by:Christian_Wenz
ID: 1840155
exactly. to be on the _very_ safe side, do also include FRAMESPACING="0" in the <FRAMESET> tag
0
 

Author Comment

by:java_kevin
ID: 1840156
thanks for being patient even when we are just commenting.

so, the framespacing is MS, frameborder is NS. then border?
0
 
LVL 5

Expert Comment

by:Christian_Wenz
ID: 1840157
frameborder refers to the "3d border" of a frame in IE, whereas framespacing defines the distance between two frames (so there may be a distance between two frames in IE that doesn'T look like this bold 3d border line. border is NS-specific,
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction The Google Maps API offers various ways to draw dynamic and static maps.  Using a combination of PHP and JavaScript, you can draw active JavaScript maps that allow pan-and-zoom in the client browser window.  You can also draw "static" …
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

895 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

17 Experts available now in Live!

Get 1:1 Help Now