Results 1 to 2 of 2

Thread: Frameset, remove frameborder

  1. #1
    Join Date
    Mar 2011

    Frameset, remove frameborder

    Hi I found some thread about this, but don't get solve this.

    I have a page, with 3 frames and I don't want frameborder or any other separation. W3C saids frameborder is for <frame> and not for <frameset>, but I only get to remove border with frameborder in frameset.

    To test, I suguest try code in w3schools.com. Here are an example with border:

    with doctype and head, and frameset with frameborder="0"

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">

    <frameset cols="25%,*,25%" frameborder="0">
    <frame src="frame_a.htm" >
    <frame src="frame_b.htm" >
    <frame src="frame_c.htm" >

    You look no blank space between frames. But this is not w3c valid

    If frameborder is on <frame> instead <frameset> (and even style border = 0px)
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">

    <frameset cols="25%,*,25%" style="border: 0px">
    <frame src="frame_a.htm" frameborder="0" style="border: 0px">
    <frame src="frame_b.htm" frameborder="0" style="border: 0px">
    <frame src="frame_c.htm" frameborder="0" style="border: 0px">

    This is W3C, but have a blank space.

    This is code has same results in FF and Chrome (safari). IE needs framespacing="0" in frameset (not W3C) to work.

    Anyone can help me?


  2. #2
    Join Date
    Jan 2011
    Frames are highly discouraged, if you want to embed a webpage inside another webpage it is recommended you use the HTML element iframe.

    Its almost the same thing. The link above will get you started, you can even do a try it yourself like w3schools.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center