HTML - No Content Region Defined
I'm working on rebuilding a site to make all of the pages uniform for a friend of mine. I'm using Microsoft Web Expression 3 and trying to make a DWT to base the rest of the pages off of, but every time I try and save it, it tells me "no content region defined."
I've looked on the help file and it says to put this in the HTML code for the table: <--BeginEditable--> <--EndEditable--> but it still gives the error. I just put a table with 3 columns: the 1st being the nav buttons, middle being what I want to be the editable area, and the 3rd is just links to their other pages. Can you make just the middle column editable? If not, what about the whole table? The sites aren't online right now because we have to rebuild the entire office (she has a rack of 10 servers she's not using and still outsources the hosting to someone else. Working on changing that) I attached a screenshot - and here's the code for it: HTML Code: <div id="Body" title="Chattin' It Up"> <table border="0" cellpadding="0" cellspacing="0" style="width: 953px; height: 515px" align="center"> <!-- MSTableType="layout" --> <tr> <td colspan="3" style="height: 52px" valign="top"> <!-- MSCellType="ContentHead" --> </td> </tr> <tr> <td style="width: 148px" valign="top"> <!-- MSCellType="NavBody" --> <p style="height: 313px; width: 144px" class="style4"> <a href="Index.html"> <img id="img21" alt="Home" height="28" onmousedown="FP_swapImg(1,0,/*id*/'img21',/*url*/'button88.gif')" onmouseout="FP_swapImg(0,0,/*id*/'img21',/*url*/'button86.gif')" onmouseover="FP_swapImg(1,0,/*id*/'img21',/*url*/'button87.gif')" onmouseup="FP_swapImg(0,0,/*id*/'img21',/*url*/'button87.gif')" src="button86.gif" style="border: 0" width="140" /><!-- MSComment="ibutton" fp-style="fp-btn: Embossed Capsule 1; fp-font-size: 14; fp-font-color-hover: #FFFFFF; fp-font-color-press: #008000; fp-transparent: 1" fp-title="Home" --></a><br /> <br /> <a href="http://207.203.133.97/win98"> <img id="img22" alt="Listen Live" height="28" onmousedown="FP_swapImg(1,0,/*id*/'img22',/*url*/'Nav Buttons/buttonD.gif')" onmouseout="FP_swapImg(0,0,/*id*/'img22',/*url*/'Nav Buttons/button7.gif')" onmouseover="FP_swapImg(1,0,/*id*/'img22',/*url*/'Nav Buttons/buttonA.gif')" onmouseup="FP_swapImg(0,0,/*id*/'img22',/*url*/'Nav Buttons/buttonA.gif')" src="Nav%20Buttons/button7.gif" style="border: 0" width="140" /><!-- MSComment="ibutton" fp-style="fp-btn: Embossed Capsule 1; fp-font-size: 14; fp-font-color-hover: #FFFFFF; fp-font-color-press: #008000; fp-transparent: 1" fp-title="Listen Live" --></a><br /> <br /> <a href="http://207.203.133.88/chattlink-03-27-10.wma"> <img id="img23" alt="Recent Show" height="28" onmousedown="FP_swapImg(1,0,/*id*/'img23',/*url*/'Nav Buttons/button16.gif')" onmouseout="FP_swapImg(0,0,/*id*/'img23',/*url*/'Nav Buttons/button10.gif')" onmouseover="FP_swapImg(1,0,/*id*/'img23',/*url*/'Nav Buttons/button13.gif')" onmouseup="FP_swapImg(0,0,/*id*/'img23',/*url*/'Nav Buttons/button13.gif')" src="Nav%20Buttons/button10.gif" style="border: 0" width="140" /><!-- MSComment="ibutton" fp-style="fp-btn: Embossed Capsule 1; fp-font-size: 14; fp-font-color-hover: #FFFFFF; fp-font-color-press: #008000; fp-transparent: 1" fp-title="Recent Show" --></a><br /> <br /> <img id="img17" alt="Show Archives" height="28" onmousedown="FP_swapImg(1,0,/*id*/'img17',/*url*/'Nav Buttons/button1D.gif')" onmouseout="FP_swapImg(0,0,/*id*/'img17',/*url*/'Nav Buttons/button19.gif')" onmouseover="FP_swapImg(1,0,/*id*/'img17',/*url*/'Nav Buttons/button1C.gif')" onmouseup="FP_swapImg(0,0,/*id*/'img17',/*url*/'Nav Buttons/button1C.gif')" src="Nav%20Buttons/button19.gif" style="border: 0" width="140" /><!-- MSComment="ibutton" fp-style="fp-btn: Embossed Capsule 1; fp-font-size: 14; fp-font-color-hover: #FFFFFF; fp-font-color-press: #008000; fp-transparent: 1" fp-title="Show Archives" --><br /> <br /> <img id="img18" alt="Photo Gallery" height="28" onmousedown="FP_swapImg(1,0,/*id*/'img18',/*url*/'Nav Buttons/button20.gif')" onmouseout="FP_swapImg(0,0,/*id*/'img18',/*url*/'Nav Buttons/button1E.gif')" onmouseover="FP_swapImg(1,0,/*id*/'img18',/*url*/'Nav Buttons/button1F.gif')" onmouseup="FP_swapImg(0,0,/*id*/'img18',/*url*/'Nav Buttons/button1F.gif')" src="Nav%20Buttons/button1E.gif" style="border: 0" width="140" /><!-- MSComment="ibutton" fp-style="fp-btn: Embossed Capsule 1; fp-font-size: 14; fp-font-color-hover: #FFFFFF; fp-font-color-press: #008000; fp-transparent: 1" fp-title="Photo Gallery" --><br /> <br /> <img id="img19" alt="Chattin Friends" height="28" onmousedown="FP_swapImg(1,0,/*id*/'img19',/*url*/'Nav Buttons/button38.gif')" onmouseout="FP_swapImg(0,0,/*id*/'img19',/*url*/'Nav Buttons/button21.gif')" onmouseover="FP_swapImg(1,0,/*id*/'img19',/*url*/'Nav Buttons/button22.gif')" onmouseup="FP_swapImg(0,0,/*id*/'img19',/*url*/'Nav Buttons/button22.gif')" src="Nav%20Buttons/button21.gif" style="border: 0" width="140" /><!-- MSComment="ibutton" fp-style="fp-btn: Embossed Capsule 1; fp-font-size: 14; fp-font-color-hover: #FFFFFF; fp-font-color-press: #008000; fp-transparent: 1" fp-title="Chattin Friends" --><br /> <br /> <img id="img20" alt="Contact Us" height="28" onmousedown="FP_swapImg(1,0,/*id*/'img20',/*url*/'Nav Buttons/button3B.gif')" onmouseout="FP_swapImg(0,0,/*id*/'img20',/*url*/'Nav Buttons/button39.gif')" onmouseover="FP_swapImg(1,0,/*id*/'img20',/*url*/'Nav Buttons/button3A.gif')" onmouseup="FP_swapImg(0,0,/*id*/'img20',/*url*/'Nav Buttons/button3A.gif')" src="Nav%20Buttons/button39.gif" style="border: 0" width="140" /><!-- MSComment="ibutton" fp-style="fp-btn: Embossed Capsule 1; fp-font-size: 14; fp-font-color-hover: #FFFFFF; fp-font-color-press: #008000; fp-transparent: 1" fp-title="Contact Us" --><br /> </p> </td> <td class="style3" valign="top" style="height: 279px"> <!-- MSCellType="ContentBody" --> </td> <td style="width: 204px" valign="top" class="style4"> <!-- MSCellType="NavBody2" --> <span class="style6"><strong>Check out These other Great sites!</strong></span><br /> <strong> <a href="www.mywin98.com" target="_blank"> <img alt="" height="98" src="Win98Logo.jpg" width="196" /></a><br /> <br /> <a href="www.znj1065.com" target="_blank"> <img alt="" height="81" src="znjfls.gif" width="195" /></a><br /> <br /> <a href="http://www.mywin98.com/cal2010.htm" target="_blank"> <img alt="" height="98" src="Win98Calendar.jpg" width="98" /></a><a href="http://www.mywin98.com/superclassifieds.htm" target="_blank"><img alt="" height="98" src="Win98Classifieds.jpg" width="98" /></a></strong></td> </tr> <tr> <td colspan="3" style="height: 35px" valign="top"> <!-- MSCellType="ContentFoot2" --> </td> </tr> </table> </div> Any help would be GREATLY appreciated! Thanks in advance Similar TutorialsHello, I'm helping a friend redesign a film website. Is there a way of making an area of content (such as a set of links in a menu bar) updatable so that if it is updated it will change across all the specified pages on the site? I am vaguely aware of templates in Dreamweaver CS3 and I think this would provide the solution, but my friend uses Frontpage and will be editing and creating content in that. Is there a way of using CSS to update areas of content? I know how to use CSS to update values like fontcolour and background images, but not areas of actual HTML content. Thanks for any help you provide. I'm really stuck on this one. So, I'm on a page, let's call it index1 and I need to open index2 with index3 displayed in a frame on index2 (All from just clicking one link). The problem is on index1 there are many links that will all take us to index2, but with different pages (index4, index5 etc.) needing to be displayed in the frame on index2. How can I achieve this? Hi, Im trying to make my footer content align correctly to the main content when a window resizes. The apdivs don't seem to want to move at all even with a relative position etc. I have tried everything but just cant get it to work can someone help please? http://pjm.co.uk.uksite4.yourwebserv...splay&PageID=5 Also some one commented before on the amount of css and JS pages. These will al be stripped out as its an Open sources system im using! Thansk alot Joe Hey guys, I used to know a lot about html, but then just completely stopped doing anything with websites for too long. I was just wondering how I can replace a word or number with a specified word or number. What I want to achieve: I've got a forum with a couple thousand members and it's picking up in activity and I want to make some names stand out for being helpful. I want to replace their names with an image. But to do so, it'd have to be a code made and added into the footer template. Because obviously I can't edit a username for html image code. So I just need the code to find all instances of a certain username and replace it with what I specified. ------------- Man I really wish I remembered how to do this haha. Thanks guys. hi everybody, I am working in a html. I defined a functiion in a html file.(first.html) I want to call that function in another html file.(second.html) How can i call that function in second.html file? give some sample code Thanks in advance.... First I would like to know if there is a better way of doing this. <div></div> is the only way I know of doing it although others have told me they didn't even know it could be done with <div></div>. Second I would like to know if there's some way to control the speed at which the box scrolls. Third If the content is text then I want the scroll function to be vertical. There's other times I need the scroll to be horizontal. Here is the code: HTML Code: <div style="background-color: black; border-bottom-color: rgb(212, 47, 212); border-bottom-style: solid; border-bottom-width: 2px; border-left-color: rgb(212, 47, 212); border-left-style: solid; border-left-width: 2px; border-right-color: rgb(212, 47, 212); border-right-style: solid; border-right-width: 2px; border-top-color: rgb(212, 47, 212); border-top-style: solid; border-top-width: 2px; font-size: 11px; height: 200px; overflow-x: auto; overflow-y: auto; width: 200px;"> <span style="color:#ffffff;">CONTENT HERE</span></div> This is what the code looks like when viewed in Chrome and Firefox. However when used in IE the content can often move through the boarders. how can i put html table in a .doc file without border. That means i dont want to show border of html table in doc file. i put the border="0" but doc file display border by default. may anyone help. Here is my website for starters: http://divinedragons.tk If you navigate to my Schedules page, you can see there is an embedded calendar. At the bottom of this calendar, there is a line of text saying: "Want to add an event to this schedule? Contact us by clicking on the link above, and we will post it as soon as possible." I view this website on the current computer I'm using on Firefox, and the line of text can be viewed just perfectly. On my other networked computer, however, in MSN Explorer, i view the same page, but the same line of text seems to be too large, and it cuts off half the phrase. I was thinking the screen resolution was different, and that caused the text to be cut off in the browser. Yet i think there is a way for this line of text to be viewable on any computer, regardless of any screen resolution. I put the embedded code in a table format, as it is currently. The embedded code is with between the tags <TABLE><TD> and </TD></TABLE>. I remember looking somewhere that putting code in a table would cause it to appropriately "resize" itself in any monitor/screen resolution/browser size. Apparently it does not. So, I came here to ask an HTML expert if there is any way for my embedded calendar's footer text to be fully viewed, in any screen resolution or browser. Thanks for your time, and thanks so much in advance. When I start adding the content to my website, it pops up on top of the menu and the logo in the top of the page? Do you know what I can do to get it under the menu? Here is my HTML and CSS Code HTML Code: HTML Code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 TRANSITIONAL//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset-UTF-8" /> <title>Andersen Undercover Records</title> <link rel="stylesheet" type="text/css" href="page.css" /> </head> <body> <ul id="nav"> <TABLE BORDER=0 BORDERCOLOR=black width="700"> <TR><td> <li><a href="#">HOME</a></li></td> <td><li><a href="#">ARTISTS</a></li></td> <td><li><a href="#">MUSIC</a></li></td> <td><li><a href="#">NEWS</a></li></td> <td><li><a href="#">VIDEOS</a></li></td> <td><li><a href="#">PHOTOS</a></li></td> <td><li><a href="#">ABOUT</a></li></td> <td><li><a href="#">CONTACT</a></li></td> </tr> </ul> <div id="content"> </body> </html> CSS CODE Code: * { margin: 0; padding: 0; } body { font-size: 62.5%; font-family: Helvetica, sans-serif; background: url(images/background.png) repeat-x top } li { font-size: 1.2em; } p { font-size: 1.0em; line-height: 1.4em; margin-bottom: 0.8em; } ul#nav { height: 290px; width: 894px; margin: 0 auto; background: url(images/logo.png) no-repeat; list-style: none; } ul#nav li a { display: block; margin-top: 298px; float: left; width: 50px; margin-left: 52px; color: grey; font-weight: bold; text-decoration: none; padding-top: 2px; } ul#nav li a:hover, ul#nav li a:active { color: white; div#content { padding-bottom: 50px; float:left; } div#footer { background: url(images/) color: white; padding: 10px 0 10px 0; text-transform: uppercase; border-top: 0px solid black; text-align: center; } hi, i have a problem i don't know how to solve. i have a web template i designed and in the middle of the template i have something written. now what i need to do is when user clicks on the button it should load the different page that has everything the same except the middle text. i know i can do this by creating a new template and just put in the different text in ti and then create a link to this page but when you have a hudge amount of different middle data it becomes pretty difficult to administrate all. so my question know is how to create a template html script that can only change its middle context by loading different txt file so i don't have to write a new html template for every text file that i want put into my page sorry if this is not written properly but i'm still learning.... thnx This is my first post, and I am new to html so here goes. I am working on a project using google earth. I need to have the screen divided into a quad panel. I was using a table 2x2 to do this, but the project has progressed to needing a little more than just a table. So as of now I have 2 divs and only one will display the plugin. I am not even sure if I am in the right direction, but here is my code. <style type="text/css"> <!-- #pane1 { border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: #000000; border-right-color: #000000; border-bottom-color: #000000; border-left-color: #000000; height: 50%; width: 50%; left: 0px; top: 0px; } #pane2 { border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: #000000; border-right-color: #000000; border-bottom-color: #000000; border-left-color: #000000; height: 50%; width: 50%; right: 0px; top: 0px; } </style> <div id="pane1"> <script src="http://www.google.com/jsapi? key=ABQIAAAA1XbMiDxx_BTCY2_FkPh06RRaGTYH6UMl8mADNa0YKuWNNa8VNxQEerTAUcfkyrr6OwBovxn7TDAH5Q"></script> <script type="text/javascript"> var ge; google.load("earth", "1"); function init() { google.earth.createInstance('pane1', initCallback, failureCallback); } function initCallback(instance) { ge = instance; ge.getWindow().setVisibility(true); // add a navigation control ge.getNavigationControl().setVisibility(ge.VISIBILITY_AUTO); // add some layers ge.getLayerRoot().enableLayerById(ge.LAYER_BORDERS, true); ge.getLayerRoot().enableLayerById(ge.LAYER_ROADS, true); // in this sample we will attempt // to fetch a KML file and show it function finished(object) { if (!object) { // wrap alerts in API callbacks and event handlers // in a setTimeout to prevent deadlock in some browsers setTimeout(function() { alert('Bad or null KML.'); }, 0); return; } ge.getFeatures().appendChild(object); var la = ge.createLookAt(''); la.set(37.77976, -122.418307, 25, ge.ALTITUDE_RELATIVE_TO_GROUND, 0, 0, 500); ge.getView().setAbstractView(la); } // fetch the KML var url = 'http://example.com/' + 'kml/Network_links/RMLS/NL_Sched_rmls_Outages_by_Creator_and_Int.kml'; google.earth.fetchKml(ge, url, finished); document.getElementById('installed-plugin-version').innerHTML = ge.getPluginVersion().toString(); } function failureCallback(errorCode) { } </script> <body onLoad="init()" > </div> <div id="pane2"> <script src="http://www.google.com/jsapi? key=ABQIAAAA1XbMiDxx_BTCY2_FkPh06RRaGTYH6UMl8mADNa0YKuWNNa8VNxQEerTAUcfkyrr6OwBovxn7TDAH5Q"></script> <script type="text/javascript"> var ge; google.load("earth", "1"); function init() { google.earth.createInstance('pane2', initCallback, failureCallback); } function initCallback(instance) { ge = instance; ge.getWindow().setVisibility(true); // add a navigation control ge.getNavigationControl().setVisibility(ge.VISIBILITY_AUTO); // add some layers ge.getLayerRoot().enableLayerById(ge.LAYER_BORDERS, true); ge.getLayerRoot().enableLayerById(ge.LAYER_ROADS, true); // in this sample we will attempt // to fetch a KML file and show it function finished(object) { if (!object) { // wrap alerts in API callbacks and event handlers // in a setTimeout to prevent deadlock in some browsers setTimeout(function() { alert('Bad or null KML.'); }, 0); return; } ge.getFeatures().appendChild(object); var la = ge.createLookAt(''); la.set(37.77976, -122.418307, 25, ge.ALTITUDE_RELATIVE_TO_GROUND, 0, 0, 500); ge.getView().setAbstractView(la); } // fetch the KML var url = 'http://example.com/' + 'kml/Network_links/RMLS/NL_Sched_rmls_Outages_by_Creator_and_Int.kml'; google.earth.fetchKml(ge, url, finished); document.getElementById('installed-plugin-version').innerHTML = ge.getPluginVersion().toString(); } function failureCallback(errorCode) { } </script> <body onload="init()" > </div> url page: http://www.filtrexoem.com/application.aspx put in frame. header and footer no. how? see screenshot. This question might be rather basic. I'm not a web-developer, though I have a lot of other coding experience. As part of an internal webpage I'm creating, I want to access a webservice that returns a string and display it on the page. The service is accessed by URL, and requires parameters that are dynamically generated base upon the request parameters, so I can't just use #include. What I want to see is something like this, where the number string is provided by the webservice: Authorization code: 1343-7205-7570-8264 I tried this: Code: Authorization code: <object type=text/plain data="http://blah/service?params"></object> IE doesn't output the resulting string. Firefox does output the string, but it's not cleanly inlined with the rest of the text. It has it's own big block of the screen that the text sits in. Is there a simple way to insert the text from a dynamically generated URL into the current page? Hi, I have a question to all. How can I made 100% header (bg only), normal content area (fixed width) then 100% box and below normal content area (fixed wifth and at last 100% footer. Hey guys i used to mess around doing simple sites but haven't messed with it for a few years and I about forgot everything.. Now what I'm trying to do here is make my content box stretch as more content is added but when I do it now it breaks my page.. Can anyone direct me to how to fix this problem.. here is what I mean. http://img687.imageshack.us/i/fixprob.jpg/ I need to do this without making my box a scroll bar box as I want it to just stretch down my page. My background where content should stretch is a solid color and my sides are all even as well so it should flow fine I just don't remember how to do this. Thanks in advance. I have a page that is not being centered on the background in both IE 6&7 but looks perfect in FF. I am not sure what is wrong because the template I used is vaild Here is the page http://www.mesquitechristmas.com/wea...Z119&icao=KHQZ I have been banging my head all day an maybe just need another pair of eyes. -Thanks Ok, right, so I have some pictures in a table (Question1) and some text (Question2). Question 1 Is there a way of having a loading picture before the original image shows up? Question 2 Is there a way of having a loading picture before the text shows? This is only 'cause i would like some text that 'kinda looks like it's loading first, or a delay. I have an 'Agree' box on my website so that when people enter, they have to agree to certain terms first. Is there a way of having a checkbox underneath saying 'Do not show me this page again.' and when they select that, it stores a cookie or something so that they don't see the page again? The site: http://www.tc-ua.piczo.com/ Give me your comments and ideas. Thanks; ToshNeox Hello to all experts in HTML, I want to know, because when I try to print the contents of a DIV I print all text except the images. I created a DIV centered on my page, and inside there is some text and a background image. I haven't used the <IMG> tag for the background image but the style: background-image:#; <div> <a class="print" href="#" onclick="window.print()"><img src="icon.png" /><br />Print</a> <div id="content"> <p> eccc...... </div> </div> Can you please explain me, why I did not print from what I see from my browser? Thank you! ps. Sorry for my bad English. Hi!!! It's my fist post here, so i'll try to make it good My problem is: I want to show an embed video to only users, who press my link. e.g, Someones press my link, and it unlocks the frame, where the video is. Even better would be if it could know, that the person pressed like 5 times this week, and so after 5 times (at different days), it would unlock content. But I could get myself with the first too... So could anybody show me, how to do that P.S. I'm Lithuanian, so I'm sorry for my poor English skills. MUCH THANKS!!! Hi all, brand new here. I'm working on a simple website for a project I'm doing with a friend, but I'm having a problem with the layout. The site is www.Project217.com. On my Macbook, the content on all of the pages appears centered, which is where I want it. Firefox, Safari and IE all display properly. However, on my Windows computer at work all of the content within the black section of the pages is aligned to the left. Is there an issue with my source code that I'm missing? Thanks for any help, Aaron |