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:
http://www.w3schools.com/tags/tryit....tml_frame_cols
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">
<html>
<head>
<title></title>
</head>
<frameset cols="25%,*,25%" frameborder="0">
<frame src="frame_a.htm" >
<frame src="frame_b.htm" >
<frame src="frame_c.htm" >
</frameset>
</html>
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">
<html>
<head>
<title></title>
</head>
<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">
</frameset>
</html>
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?
thanks
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
Forum Rules
Bookmarks