Frame Borders

Discussion in 'Web Design and Development' started by Burningmace, May 3, 2006.

  1. Burningmace macrumors newbie

    May 3, 2006

    I'm fixing my page so that it's W3C compliant, but I have a problem.
    As it uses frames, I've set it up using DTD HTML 4.01 Frameset EN.

    I want to kill off the borders for all of my frames, but the W3C Validator says that the border and frameborder properties don't exist (but it still works in my browser). How can I remove frame borders?

    Another problem I have is that despite all of my site being W3C compatible and displaying perfectly in Firefox, IE refuses to display it correctly. Some people just get a white screen, some people get my frames all jumbled up and wierd sizes.

    Here's my page:

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "">
    <html lang=en>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <link rel="stylesheet" type="text/css" href="burningmacelans.css">
    <script type="text" language="JavaScript" src="js/redir.js"></script>
    <script type="text" language="JavaScript" src="js/jumppage.js"></script>
    <frameset rows="128,*">
    <font color="FF0000"><b>ERROR</b></font><br />
    This site uses frames. Your browser either does not support frames or has them disabled.<br />
    This site is designed to work with <a href="">Mozilla Firefox</a> at a screen resolution of 1024x768 or higher.<br />
    If you have anything other than that, then I can't guarantee that you will see this site as it was supposed to be seen.
    	<frameset cols="196,*,196">
    		<frame noresize="noresize" name="topleft" scrolling="no" src="topleft.html">
    		<frameset cols="*,512,*">
    			<frameset rows="*,3,*">
    				<frame name="lefttopblank" scrolling="no" src="blank.html" marginwidth="0" marginheight="0">
    				<frame name="leftacross" scrolling="no" src="barh.html" marginwidth="0" marginheight="0">
    				<frame name="leftlowblank" scrolling="no" src="blank.html" marginwidth="0" marginheight="0">
    				<frame noresize="noresize" name="topbanner" scrolling="no" marginwidth="0" marginheight="0" src="topbanner.html">
    			<frameset rows="*,3,*">
    				<frame name="righttopblank" scrolling="no" src="blank.html" marginwidth="0" marginheight="0">
    				<frame name="rightacross" scrolling="no" src="barh.html" marginwidth="0" marginheight="0">
    				<frame name="rightlowblank" scrolling="no" src="blank.html" marginwidth="0" marginheight="0">
    		<frame noresize="noresize" name="topright" scrolling="no" src="topright.html">
    	<frameset cols="193,3,*,3,193">
    		<frame noresize="noresize" name="leftbar" scrolling="no" src="leftsidebar.html">
    		<frame noresize="noresize" name="leftseparator" scrolling="no" src="bar.html">
    		<frame noresize="noresize" name="main" scrolling="no" src="news.html">
    		<frame noresize="noresize" name="rightseparator" scrolling="no" src="bar.html">
    		<frame noresize="noresize" name="rightbar" scrolling="no" src="rightsidebar.html">
    Thanks in advance!
  2. Mitthrawnuruodo Moderator emeritus


    Mar 10, 2004
    Bergen, Norway
    You need to set the frameborder attribute on frame tags and not frameset tags.

    Also, you should look into div tags for layout and not frames... ;)

Share This Page