legality/practicality of nesting complete and valid HTML pages

People:

DW CS3 on Intel Mac OS 10.4.11

This is a generic skeleton HTML page call the "index.php". You will see a little
php in the mid code:

<! DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional / / IN".
" http://www.w3.org/TR/html4/loose.dtd" >
< html >

< head >
...
< / head >
< body >
....
<? PHP require ("another_page.html");? >
...
< / body >
< / html >

If the content of the 'another_page.html' is invalid, it contains, outside
level, < html > < / html >. That is, when the page is served, the
recipient browser will see something like this:

< html >
....
< html >
...
< / html >
...
< html >

In other words, this completely nested product - well that otherwise quite valid - HTML
files. I read that this is a BAD IDEA... Of course, you can do it, but I can't find anywhere that it is said that you can't tell the HTML specification.

Uh, I was nesting of files like this for months, and I have not noticed
something goes wrong on the customer. But I have a very narrow test
Basic: a simple browser, only FireFox on Mac OS 10.4.x.

OK, common sense says that you should not risk doing unusual things for browsers. Based on what I saw while looking for this issue and the fact that pages that result may not test W3C validation, I am convinced: it is definitely a BAD IDEA, and I need to fix it.

You can guess that I have a deeper question. Well Yes! I designed a site
who has a unique model page, index.php, which dynamically fills
content using php 'require '. I put individual pieces of content of .html
files, which are all autonomous valid - in starting and ending < html >
with < / html >. Bingo! Stand-alone-valid HTML nested files, BAD IDEA.

Why do all the .html files autonomous valid? Because Dreamweaver
insists. I can't get working WYSIWYG, nor can I use the entire site
CSS differently. I need all the work to do in the index page and the line segments.

Question 1: This problem is not all the time in the design of dynamic web page?

Question 2: How can I fix or workaround?

I thought about plans to "roll out" the index page but they rearrange the whole problem. There is no way to "UN-contain" logically contained things.

DW provides a way of 'pseudo include' the outdoor elements for the purposes of the creation? I looked, but I did find something like that.

Otherwise, there could be a script or an add-on that removes items from some files - inside those holding the content - before their download. I have not seen such a thing, but I'm not quite clear about where to look.

All the other solutions I've heard involve hand-setting of each file for each edition. It is absolutely not realistic!

TIA

Henry

Gary:

Sound effect: . "Design-time style sheet" is EXACTLY what I needed! I've looked everywhere but I couldn't find anything, even in places like the DW CS3 help. Could not understand the terminology of right. Never occurred to me to look in the menu 'text' DW. As soon as I read the sentence, I knew that my troubles were nearly over. Do you have a quick test case. Yeeeeeeeesssssss! The W3C Markup Validator is now happy. Thank you thank you thank you.

For the record, I had up to 200 pages of content that will need to be marked as containing the design-TIME style sheet references. This is not something I relish in hand and the mouse, using the DW--> Styles CSS-> DTC text... I did a little research, found that the "marking" is done by the clichés of XML files in the nearby _notes folder. Looks like a great job for a script...

Uh, kind of followed: it was how you got my topic ' legality/practicality of HTML pages complete, valid of nesting' to the 'Design-time style sheet? Really, I have accumulated my brain to get to that I wasn't happy with it, and many people did not have what I wanted could you suggest what should I use in the subject line and the body of my post which would have been better?

Thank you!

Henry

Tags: Dreamweaver

Similar Questions

  • Problems with the phone and Desktop Web page layouts

    Hi all

    I was hoping that someone could help with a problem with my website sciencenewsbreak.com. I have two office and put phone in page each has its own master page. When viewing my site for example on the desktop and using the navigation menu all my pages come up with available funds, all good. However, if I have a specific page using google search "3 aug science newsbreak" or "newsbreak science 28 July... My phone set charges upward, not my office layout. This is not uniform as pages for July 31 and August 1 appear as correct desk combination. This occurs using safari or chrome. Also when looking for a July 27 google shows a result but link to said page page is not found.

    I add a new page to home/today ' hui every day and I am just by clicking the + button to the left of my last page page

    Screen Shot 2015-08-09 at 2.16.42 pm.png

    Does anyone know whats going on. heeeeeeeelp please

    See you soon

    Garry

    Google indexes the same items in various ways, caused by the fact that you have two separated from each identical item versions that are duplicates - the only difference is the presentation which is displayed according to a mechanism of screen/detection javascript by Muse (which, coincidentally, is generally considered a bad method to deal with different screens and devices).

    You must all least tell Google which version is the main (the so-called canonical version), otherwise Google indexing algorithms will decide that based on their best estimate. This is the reason why the search results are so confused.

    Read this info to learn more about the canonical meta tag: use of the canonical - URL search Console Help

    In any case, apart from this question, I also noticed your pages the support phone on my Nexus 7 Android tablet version, and it looks terrible: the desktop version should be displayed on the landscape orientation.

    Your Web site should be turned into a responsive design for one. Two, as you update your content on a daily basis, Muse and static html pages are about the worst imaginable solutions (even more so when it comes with a lot of content that must be seen on a variety of devices and screens!).

    This case calls desperately for a sensitive designed dynamic site, whose content is well ranked in a content management system. The obvious solution that comes to mind: Wordpress.

  • CS5 - No. Valid HTML Templates are available to complete this operation

    Why test movie opens a new window in the IDE instead of compilation?

    And when I try the publication settings I get

    "No valid HTML template is available to complete this operation"

    It seems that the configuration of the user is bad.  Please try to delete the user configuration folder.  Please note that there are after the removal of the user, the user's settings configuration, such as the position of the Panel and saved jsapi commands, will be deleted or reset so that you can back up important files, you want to book in the user configuration before you remove the user configuration folder.

    1. quit Flash.

    2 remove the following folder:

    Win 7 and Vista: HD:\Users\\AppData\Local\Adobe\Flash CS5

    Win XP: HD:\Documents and Settings\<>> Settings\Application Data\Adobe\Flash CS5

    Mac: HD: / Users //Library/Application Support/\Adobe\Flash CS5

    3 restart Flash and see if that fixes the problem.

    Thank you

    San

  • Submit / run HTML on submit - after calculations and Validation

    Hello

    I use this code to send SMS, I want to run using PL/SQL process on submit - after calculations and Validation.
    http://xxxxxx.biz/api/api_http.php?
    username=xxxx&password=xxxx&senderid=SMSALERT&to=&P8_MOBILE.,&P8_MOBILE2.&
    text=&P8_TEXT.&type=text&datetime=2013-01-07%2010%3A48%3A53
    Is this possible? How?

    I use APEX 4.2 on Glassfish 3.1.2 listener 2.0, Oracle 11 g R2...

    Kind regards
    Fateh

    Hi Fateh,

    try to use the utl_http package to make a http request.
    For example:

    declare
      t_http_request   utl_http.req;
      t_http_response  utl_http.resp;
      t_text           varchar2(32767);
    begin
      --Setup your http request and get http response
      t_http_request  := utl_http.begin_request();
      t_http_response := utl_http.get_response(t_http_request);
    
      --Process the response
      begin
        loop
          utl_http.read_text(t_http_response, t_text, 32766);
          --do something with the response
        end loop;
      exception
        when utl_http.end_of_body
         then
           utl_http.end_response(t_http_response);
      end;
    exception
      when others
      then
         utl_http.end_response(t_http_response);
         raise;
    end;
    

    Also, make sure that you have configured the network ACL to perform the http request.
    Take a look at this page http://www.oracle-base.com/articles/11g/fine-grained-access-to-network-services-11gr1.php for info on this subject.

    Kind regards
    Erik-jan

  • Adobe enableld of the fillable PDF reader to display can be completed and saved on some machines and not others.

    I created the PDF (active player) and posted on my Web site: www.activeinhometherapy.com/contractor-opportunnities

    The forms can be downloaded, filled out, saved and re-opened successfully (i.e. the content is then re-opened) on some devices (MAC) and that on some PCs. In some cases, the form is saved, however, the content is missing when reopened. I don't know if it of a software problem or not. I need this to work for anyone to download, fill out, save and re - send regardless of their device: form w-9 to the application vendor and federal.

    Can someone please help me to solve the problems, or is there a better way to do this?

    This will happen to a PDF (enabled or not) form when it is opened and saved using the app on the Mac, as opposed to Adobe Reader. For more information and what you can do about it, see the following article: http://kb2.adobe.com/community/publishing/885/cpsid_88564.html

    People have reported something similar happens under Windows, but the exact circumstances were elusive, making the exact cause less clear. But you should be able to use the same approaches that are mentioned in the article.

    There is only so much you can make universally functional. Ago either Adobe spectators and a certain lack of support forms feature complete, and some haven't. Support is limited to same Adobe Reader for iOS, but this should work for basic with improvements based on JavaScript limited shapes (for example, setting the field shape, calculations, validations).

  • Time Capsule - My current Time Capsule 1 TB (Version 7.6.7) is complete and is overwhelming back more old ups. How can I migrate back existing ups for a new time Capsule (2 TB or 3 TB). El Capitan 10.11.6 OSX

    Time Capsule migration - My current Time Capsule 1 TB (Version 7.6.7) is complete and is overwhelming back more old ups. How can I migrate back existing ups of my current for a new time Capsule time capsule (2 TB or 3 TB)? El Capitan 10.11.6 OSX

    You just set up the new TC and plug the old TC... copy the sparsebundle existing old TC to the new... but we do not recommend to do this.

    It's much better to start a new backup TM on the new TC and keep the old one for several months until you have a fair story and if you need never old file the chances you decreases considerably with time.

    The instructions are here if you really want to do.

    How do I move Time Machine backups to another - Support Apple Time Capsule airport

    Instructions better although updated here.

    Q18 http://pondini.org/TM/FAQ.html

  • Iusually access my mail through the mail on my keyboard button. This button has stopped working completely, and I don't know how to access my mail at all. How can I get to my email?

    Iusually access my mail through the mail on my keyboard button.  This button has stopped working completely, and I don't know how to access my mail at all.  How can I get to my email?

     
     
    In case you wanted to tell Outlook Express...
     
    Right click on the desktop | New | Shortcut. Navigate to "c:\program files\outlook express\msimn.exe". Click next | Click Finish.  It will be a new shortcut on the desktop.
     
     
    Once an icon on the desktop, you can drag it to the taskbar for easy access.
  • HP Simplepass and validity sensor Versions

    Hello

    I recently had trouble with the digital simplepass and validity of hp. What are the latest version which are compatible with others and my computer?

    It's an Australian Pc by the way
    Product name: HP ENVY m6 (m6-1117mx) laptop

    Product number: C7E77PA #ABG

    8.1 Windows 64-bit

    Thanks for your help!

    Hi Cookie,

    I don't like upgrades.  I had so much trouble with them.

    You are the only first posting engine error, thank you for this.  It actually helps.

    Have you installed the following from the Support Page of your computer?

    Driver v9.4.0.1026 and Intel Chipset Installation Utility sp63640

    I agree that other people have the same problem - on a large number of these systems on which people have the worst problems, operating systems are indeed updated.

    ============================================================================

    As to the original question; I work around it.

    The answer is, as I understand it:

    • HP SimplePass 2011 / 2012 V5.3.1.7 (the most recent of the 'old' versions still in use)

    > Driver 4.3.118

    • HP SimplePass 2011 V5.4.0.402 - buggy and not recommended
    • HP SimplePass V5.4.0.620 (from AuthenTec) - is no longer available

    NOTE: None of the above versions work with newer versions of browsers Firefox or Chrome

    • HP SimplePass V6.0.100.257, V6.0.100.272 - obsolete, while 272 is always used and works for these books for which it was originally planned.
    • HP SimplePass V6.0.100.276 latest version, series 6 AuthenTec - available at HP

    > Validity sensor Driver 4.3.205.0 (or later / more recent)

    The latest version of series 6, if already installed AND that if he worked previously with Chrome, can still work with Chrome IF a particular solution is used AND of workaround is installed before the original Extension nonfunctional is removed from Chrome.  Confusing?  Yes.

    Series 8 HP SimplePass, the Softex version that now comes with new HP laptops, works with Windows 7 to Windows 8.x - when it works at all.  (Personal observation).  Series 8 requires Internet Explorer.  Series 8 worked for about three weeks with Chrome Google stomped on it.  Series 8 HP SimplePass seems to work with 4.3.205.0 drivers and newer.

    ===========================================================================

    Click on the Thumbs - Up Kudos to show that you appreciate the help and time of our Experts.

    Although I strive to reflect best practices of HP, I do not work for HP.

    Click on accept as Solution when the answer is a good solution or workaround!

  • Virtual ESXi / nested virtualization and VCA

    Hi all

    We tried to install some new virtual ESXi servers in our dev environment. to help our R & D.

    The problem is that our clusters must be activated EVC - Merom Genesis so that R & D for work stuff.

    I tried to use the following two articles:

    http://www.virtuallyghetto.com/2011/07/how-to-enable-support-for-nested-64bit.html

    http://www.virtuallyghetto.com/2012/02/how-to-configure-nested-ESXi-5-to.html

    After finishing the first link, the ESXi virtual is able to run 64-bit virtual machines. So all is well (although I stumbled upon both problems with this - apparently, you can't physical host the virtual ESX running in a CVS in the first place of accommodation).

    So after the ESXi virtual is able to run machines virtual 64-bit, I continue to the 2nd link and it doesn't work. I do exactly what the guy said there is still the virtual ESXi is not compatible with the EVC cluster and the 64 bit hosted on the virtual ESXi VM cannot run after changes to the CPUID mask.

    Someone knows something similar? Someone has ideas of what I'm doing wrong or can give me some ideas on what to do?

    Thanks in advance,

    Nitzan.

    In my view, the following option:

    CPUID.1.ECX = 00000000000000001010001000011001

    should be

    CPUID.1.ECX = 00000000000000001010001000111001

  • Inner nested table and cannot be exported

    Hello

    My environment:


    + Linux Red Hat 5.4 1 / 32 - Bit + company Oracle 10.2.0.4
    + Linux Red Hat 5.4 1 / 64 - Bit + company Oracle 11.2.0.2
    + Taste patterns scott, hr, oe, bi, pm...

    expdp system / * parfile = table.par

    where table.par contains:
    DIRECTORY=EXPDMP
    DUMPFILE=table.dmp
    LOGFILE=table.log
    TABLES=OE.ACTION_TABLE,OE.LINEITEM_TABLE
    I have the following errors:
    Export: Release 10.2.0.4.0 - Production on Monday, 16 May, 2011 15:46:01
    
    Copyright (c) 2003, 2007, Oracle.  All rights reserved.
    
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Starting "SYSTEM"."SYS_EXPORT_TABLE_01":  system/******** parfile=table.par
    Estimate in progress using BLOCKS method...
    Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
    Total estimation using BLOCKS method: 0 KB
    ORA-39165: Schema OE was not found.
    ORA-39166: Object LINEITEM_TABLE was not found.
    ORA-39166: Object ACTION_TABLE was not found.
    ORA-31655: no data or metadata objects selected for job
    Job "SYSTEM"."SYS_EXPORT_TABLE_01" completed with 4 error(s) at 15:46:15
    A test with the export of old, where him parfile:
    FILE=table.dmp
    LOG=table.log
    TABLES=OE.ACTION_TABLE,OE.LINEITEM_TABLE
    has shown the following errors:
    /home/oracle/EXPORT>cat table_cmd
    exp system/STRM  parfile=table.par
    /home/oracle/EXPORT>cat table.par
    FILE=table.dmp
    LOG=table.log
    TABLES=OE.ACTION_TABLE,OE.LINEITEM_TABLE
    /home/oracle/EXPORT>exp system/STRM  parfile=table.par
    
    Export: Release 10.2.0.4.0 - Production on Mon May 16 15:55:51 2011
    
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    
    
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Export done in US7ASCII character set and AL16UTF16 NCHAR character set
    server uses WE8ISO8859P1 character set (possible charset conversion)
    
    About to export specified tables via Conventional Path ...
    Current user changed to OE
    EXP-00064: ACTION_TABLE is an inner nested table and cannot be exported.
    EXP-00064: LINEITEM_TABLE is an inner nested table and cannot be exported.
    Export terminated successfully with warnings.
    /home/oracle/EXPORT>
    Anyone know the solution?

    Thanks for any help!

    concerning

    hqt200475

    Hello

    As far as I KNOW, it is not possible with parent segments

    Oracle error: EXP-00064: %s is an inner nested table and cannot be exported.
    Cause: An attempt was made to export an inner nested table without its parent table.
    Action: Export the parent of the nested table inside.

    -Pavan Kumar N

  • Work on MUSE sites - if they are not completed and uploaded by date limit beta +...

    Hi, I lose everything I worked on while in the beta version of MUSE if I have not completed and uploaded to a server? Will be saved my work all and move the new OFFICIAL software (if I pay etc) - also, I fear move to the latest beta version of MUSE will mess up or lose all unfinished work (several projects lost?) - hope this will make sence...

    -Thanks!

    Daniel is correct, after the beta version of all of your exported sites will continue to operate (and your .muse file will be still valid, unless you delete them yourself.) You just won't be able to open the .muse file unless you have a subscription.

  • Not valid HTML or XHTML

    Hello

    I'm puzzled because since some updates have been made to Adobe InContext, I was not able to edit some pages on my Web site. I get the error:

    "You can not save this page."

    "The page does not seem to be valid HTML or XHTML."

    I can't find any problems with it, and I could save my profile before with inContext pages in the past. This happens, for example, 8 and Firefox 3.

    The relevant pages are:

    http://www.aliyamustafina.com/includes/ice/IDE.HTML#page=Chinese%2Fprofile.php

    http://www.Anna-Pavlova.NET/includes/ice/IDE.HTML#page=Spanish%2Fprofile.php

    Can someone tell me what code is causing pages to not publish? I removed the PHP code once to see if this fixes (PHP code is in a table field that is not defined to be editable by context), but the error remained.

    Thank you!

    Alan

    Hi Alan,

    A quick inspection found several tags that are not closed properly:

    on the first page, the map tag is closed twice, and on the bottom of the page, there is a tr and td which are never closed. These problems are the most likely cause for which you receive these error messages. Please try to fix the structure of the page so that it is valid XHTML (you can use a validator to check questions) and let me know if you still have the same problem.

    Thank you

    Florin

  • When I try to install an add-on, it load completely and said so "seconds remaining" and never move forward. What should I do to remedy this?

    When I try to install an add-on, it load completely and said so "seconds remaining" and never move forward. My connection and the computer properly. I have the latest version of Firefox, it is updated. I get this add-on for the mozilla site, what should I do otherwise?

    Please update your firefox latest version Firefox 25 and check whether the problem exists or not

  • What are the practical differences between SEL20F28 and SEL16F28?

    What are the practical differences between SEL20F28 and SEL16F28?

    The 20 is much sharper on the edges and less vignetting.

    The 20 also provides more convenient angle of view walk-around lens.

  • I have problems with your e-mail via a web client is sending no text in the body and sending HTML instead of text.

    I have problems with your e-mail via a web client is sending no text in the body and sending HTML instead of text.  I am told that this problem is because of the BING toolbar on my browser - is this correct?

    original title: Messaging with the BING toolbar problem

    I suggest blind carbon copy yourself e-mails coming out in the future to check for other errors and if they happen then find a new Web hosting provider.  They should have been aware of the conflicts, one would presume.

    Steve

Maybe you are looking for