CSS wrong erases ALL the html

Using Firefox today in a webapp template.  When I put an incorrect syntax of css in a div style tag (I know, how could I?) he erased ALL the html code!  Wow.  That will teach me to learn my css.

Seriously, can someone check this?

IE is crap, pure and simple, he should be aware.

For many people, I see here all the time too for example have problems with browsers, the page layouts and styles. The first problem is that the code and sites are not in the web standards, full of validation errors, not well trained, inline/external javascript and CSS in every sense, is something going to the same place and very different the next. Even to be an expert, then find the mamoth question belongs.

If your HTML and CSS in the sites of malformed people then rely on the browser, making it. Firefox does a very good job thinking about what things should be, and then untangle them people used to know the problems, even with a few javascript errors, it can carry on.

Missing one; and chrome and firefox will be fine, but IE stops on all errors, which in some ways is good for this. But badly formed HTML it falls on.

Do some web standards, coding good CSS, knowing really well what you do, just like in any job as a plumber, electrician, then all you must then think about what are the bugs of IE.

I know hide form elements and try to run javascript will be problems in older browsers IE due to bugs, I know that 7 does not properly clear with clearfix again if you need to do certain things. I know that a z-index will not work unless you apply it to the parent so elements 7.

My IE only style sheets are very small these days because of these principles.

It is not to be ' I'm better then you "but if you follow the standards of the web, good code, pracatace etc., you have fewer problems and the performance of the sites you generate just increase the best.

Using code editors that not only quickly fill in your code, easy to follow and watch and provide the tools you need means that get you the job done correctly and efficiently.

It's like having the task sawing wood. You have a guy trying to do it on her lap, or the guy using the bench and the clamp. Just because you can do two ways, which gets the best cut and are less of a hassle and also safer?

Tags: Business Catalyst

Similar Questions

  • Dreamweaver CS6 when connecting it to the external style sheet, it doesn't affect all the html page.

    Dreamweaver CS6 when connecting it to the external style sheet, it doesn't affect all the html page. It started to happen after upgrading to mac osx elcapitan.

    have no idea how to solve this? now I write all my css stylesheet in the head section of my html page.

    Thanks for help

    Best regards

    the problem has been resolved.

    I forgot to write rel = "stylesheet", that was the problem.

  • Hi I want to erase all the data from my current phone if I erase content and settings would be deleted all the data off my sim card? Thanks for your help

    Hi I want to erase all the data from my current phone if I erase content and settings would be deleted all the data off my sim card? Thanks for your help

    Erase the data on your phone will not erase the data on the sim card.

  • Convert Photos from iPhoto. Why will it erase all the pictures on my computer?  How can I save them?

    Convert Photos from iPhoto. Why will it erase all the pictures on my computer?  How can I save them?

    Why will it erase all the pictures on my computer?  How can I save them?

    You don't have to do anything.  When you open your iPhoto library with the new photo app that the existing library is migrated to a new library of Photos.  However, as with any operation should have a current backup before proceeding.

  • Hello. I have perchased the new iphone, and I gave my old iphone to my little brother. I erased all the content and the date in the settings menu. This will automatically delete all my photos data old messages etc. thanks

    Hello. I recently perchased the new iphone, and I gave my old iphone to my little brother. I erased all the content and the date in the settings menu. This will automatically delete all my photos data old messages etc. thanks

    Follow the directions here: what to do before you sell or give away your iPhone, iPad or iPod touch - Apple Support before giving the phone to your brother. -AJ

  • How can I erase whatever it is associated with to Brother DCP-1200. It was added by mistake. I need to erase all the files on my computer related to Brother DCP-1200

    How can I erase whatever it is associated with to Brother DCP-1200.  It was added by mistake. I need to erase all the files on my computer related to Brother DCP-1200?

    You uninstall it?

    I could only partially uninstall the printer. It is not to add printers & devices more. It is not in the list of program. But he is still using a driver. Therefore, I can't fix it just delete it from the Driver list. I don't know anything else to do. Can you give me any suggestions? It makes my computer thinks that it must be installed. JoAnn

  • I have lr 5 and use adobe photoshop book in class.  I'm up to Lesson 4, but feel that Iwas going too fast and I want to erase all the lessons and start more with lesson 1 - how I would go all this?

    I have l4 5 and I use adobe photoshop book in class.  I'm in Lesson 4, but feel that I was going to fast and would like to erase all the lessons and start over.  How can I make trhis?

    You need not reinstall Lightroom in this case.

    If you want to start over with an empty catalog, simply go to the file menu > new catalogue > name > choose Create > restart

  • Erase all the data of the table row

    Is there a small script to make all fields in the same row (whiteboard) null? I want to erase all the data when this row is deleted.

    Hello

    This JavaScript function will reset all the fields in the line taken in;

    function clear (row)

    {

    var resetList = [];

    fields var = row.resolveNodes ("#field [*]");

    for (var i = 0; i)< fields.length;="">

    {

    resetList.push (fields.item (i) .somExpression);

    }

    xfa.host.resetData (resetList.join(","));

    }

    So to remove all data from the second line we could call him for help;

    Clear (xfa.resolveNode("Table1.Row[1]"));

    Hope that helps

    Bruce

  • Stripping all the HTML of a CLOB

    Hi all

    Running Oracle 9.2.0.8 on AIX...

    We have a table that stores the HTML document fragments in a clob. I have a requirement to convert them into plain text / (remove all the HTML tags) for sending in a body of text/plain e-mail.

    I read the following solution to the site of Tom Kyte:

    http://asktom.Oracle.com/pls/asktom/f?p=100:11:0:P11_QUESTION_ID:25695084847068

    Basically, creating a text index Oracle CLOB column and appellant with true ctx_doc.filter assigned to the parameter 'plaintext '.

    I noticed in the example of Tom, he uses the filter by default, based on the docs, NULL_FILTER, which applies to any filtering. I tried the example in my dev box, creating the text index on the CLOB column without parameters.

    The call to ctx_doc.filter filtered html code at all. I recreated the index and specified the INSO_FILTER and filtering has been performed. I was under the impression that INSO_FILTER was for binary content in plain text filtering...
    create table filter ( query_id number, document clob );
    
    create table demo
      ( id            int primary key,
        theclob       clob
      );
    
    create index demo_idx on demo(theClob) indextype is ctxsys.context;
    
    SET DEFINE OFF;
    Insert into DEMO
       (ID, THECLOB)
     Values
       (1, '<html><body><p>This is a test of <strong>ctx_doc.filter</strong> and plaintext filtering.</p></body></html>');
    COMMIT;
    
    exec ctx_doc.filter('demo_idx',1, 'filter',1, true);
    The code above does not convert html to plain text...

    Now re-create the index with INSO_FILTER
    drop index demo_idx;
    
    create index demo_idx on demo(theClob) indextype is ctxsys.context parameters ('filter ctxsys.inso_filter');
    
    exec ctx_doc.filter('demo_idx',1, 'filter',1, true);
    Above script returns string "this is a test ctx_doc.filter and filtering of plain text.

    ORacle documentation does not specify any special filter parameter that needs to be fixed... I was wondering, am I missing soemthing here... or, better yet, if there is a better solution to my problem. ;-)

    Thank you

    Stéphane

    This is a brute force method.

    SCOTT@orcl_11gR2> create table demo
      2    (id       int primary key,
      3       theclob   clob)
      4  /
    
    Table created.
    
    SCOTT@orcl_11gR2> insert into demo values (1,
      2    '

    This is a test of ctx_doc.filter and plaintext filtering.

    ') 3 / 1 row created. SCOTT@orcl_11gR2> CREATE OR REPLACE FUNCTION no_html 2 (p_string IN CLOB) 3 RETURN CLOB 4 AS 5 v_string_in CLOB := p_string; 6 v_string_out CLOB; 7 BEGIN 8 WHILE INSTR (v_string_in, '>') > 0 LOOP 9 v_string_out := v_string_out 10 || SUBSTR (v_string_in, 1, INSTR (v_string_in, '<') - 1); 11 v_string_in := SUBSTR (v_string_in, INSTR (v_string_in, '>') + 1); 12 END LOOP; 13 v_string_out := v_string_out || v_string_in; 14 RETURN v_string_out; 15 END no_html; 16 / Function created. SCOTT@orcl_11gR2> SHOW ERRORS No errors. SCOTT@orcl_11gR2> SELECT id, no_html (theclob) FROM demo 2 / ID ---------- NO_HTML(THECLOB) -------------------------------------------------------------------------------- 1 This is a test of ctx_doc.filter and plaintext filtering. 1 row selected. SCOTT@orcl_11gR2>
  • Clearing Spry float without erasing all the float

    I try to get a page with a menu that is appropriate (point), but can not solve a problem on the home page. On all other pages, I simply put

    Clear: both;

    under the div for the first div, but on my homepage, I have three div floated so that they appear on the same line. I can't understand how, if at all possible, to clear the float in the bar of menus spry (in the latest version), ONLY with respect to the first (or three) div. I tried to add a margin as well below the div spry and above the content div, but have nothing visible. I have not tested with files original spry, only the css and html I created for the page. It will come down in the screens below a certain resolution (as the div has a minimum width), so my problem is pretty much only in computer browsers. Here is a screenshot of the problem, if that helps. I know he's not focused, it's because I have it cropped on the sides in order to reduce the size of the image.

    problem.jpg

    This is the only css I have for the menu bar:

    {#menu}

    Width: 100%;

    padding-bottom: 1em;

    }

    and the div three together:

    # sidebar1″, #maintxt, #sidebar2 {}

    float: left;

    border-color: #303;

    border-style: solid;

    border-width: .15em;

    }

    Thank you!

    I did it just fixed - I changed the width of the div container which held the bar of menus spry to the same width as my page

    {#menu}

    Width: 8.5 in;

    Max-width: 100%;

    }

    something that I was to play with the appearance of the menu bar and he fell down the other div. May not be the most effective and there may be a nicer way to do, but it works! Thought I would also post the exact answer, I used to anyone who stubles on this, I couldn't find an answer anywhere else. Thank you very much!

  • "Erase all the content of the &amp; settings" removes all account?

    I got a new iPhone and reset my old iPhone 4S. If I select "erase all content and settings ' it says it will delete all of my account. Does this mean that I will lose everything in my iCloud account? If Yes, I will lose it on my new iPhone as well?

    N ° it will not erase anything icloud. It removes the information from the phone. Make sure you sign out of your iCloud on the phone before you delete it to remove the lock of the activation.

  • I need to erase all the data from my old 5 iPhone

    I bought a new 6 iPhone more. I transferred all of my 5s (32 GB, iOS 9.2.1 I don't know the speed of the processor).   Now, I want to erase all personal data on it, or maybe take it back to the factory.  I give the phone to my niece.  Currently, the 5s is still active on my Verizon carrier.

    I have been in support of Verizon, but am no where.  I came by the Apple Support page first, but the problems they had to choose, was not there.  So, I finally did here.  Please, could someone at least tell me where to find the information needed to get rid of the 5?  It would be highly appreciated.

    Thank you

    Barb M.

    Try what to do before you sell or give away your iPhone, iPad or iPod touch - Apple Support

  • Media Player 11 randomly erases all the files of music from the library

    Hi all! My Media Player randomly erases all music files in the library! The only way to recover is to run the add files program once again, which takes forever!

    Thank you

    Darren451

    Original post: Media Player 11 in Windows Vista Home Premium

    Hello

    This problem occurs because the Windows Media Player library database is corrupted.

     

    Method 1: Try the Fixit of article proposed below.

     

    http://support.Microsoft.com/mats/windows_media_player_diagnostic/
     
    Method 2: Clear the Windows Media Player database. To do this, follow these steps:
     
    (a) output Windows Media Player.
    (b) click Start, run, type %LOCALAPPDATA%\Microsoft\Media Player, and then click OK.
    (c), select all the files in the folder and then click on Delete on the file menu.
         Note: You don't have to remove the folders that are in this folder.
    (d) restart Windows Media Player.
     
    Note: Windows Media Player automatically rebuilds the database.
     
    Method 3: If method 2 does not resolve the problem, disable the Windows Media Player database cache files. To do this, follow these steps:
     
    (a) output Windows Media Player.
    (b) click Start, click Run, type % LOCALAPPDATA%\Microsoft, and then click OK.
    (c) select the folder Media Player and then click on Delete on the file menu.
    (d) restart Windows Media Player.

  • Can I get the Win 7 on a hard drive with multiple partitions without erasing all the data on the disk

    I have a HP p6310f with a 1 TB hard drive partitioned into two partitions.  One I have a Win 7 OS, which becomes more and more corrupt.  I would get a new version on the other partition and keep the old version until I don't know that I have restored all the programs and data properly, just in case I need something and are struggling to rebuild.  Is this possible?  When I tried to install the recovery disks, they said that the entire disk, not just the score, would be erased.  This seems a bit silly, but I am very worried about losing key information and programs that I am not able to restore.

    Hello

    If you use HP recovery disks to reinstall the operating system, you are right that they reformatted the whole HARD drive before installing the operating system.  As far as I know, has no way around that.  The only thing I can suggest is to make sure that you are able to get the installers of any program that you need before you restore the PC and maybe do two backup copies of all your personal data, just to be sure.

    On the link below, just select your operating system (Windows 7 32 bit or 64 bit) and verify that you are able to download the drivers and software you need before you reinstall it.  You can always save installers for a writable DVD etc. now and then just to run it from the disk when you want to reinstall.

    http://h10025.www1.HP.com/ewfrf/wc/softwareCategory?LC=en&DLC=en&cc=us β = en & product = 4107914 & 〉

    I hope this helps.

    Best wishes

    DP - K

  • How can I erase all the files on my iPod Nano (6th generation) and start over?

    I can sync is more manually all the files that I need on my iPod Nano (6th generation) to my Macbook (OS 10.6.8) because it is full.  Instead of delete folders and songs about the Nano, which would take forever, I'd rather delete it all and start by cleaning up the folder that I keep in my iTunes library (11.4), then by loading all on the Nano.

    How do I:

    (1) delete all music from the Nano?

    (2) see how many in the iPod folder in my iTunes library Macbook so I know what to remove?

    I know this must be a simple process, but it's been a long time I did!  Thanks for any help out there.

    When your iPod is connected to your MacBook, open iTunes, click on your iPod in the sidebar and in the 'Summary' tab, click 'Restore iPod.'

    If you don't see the sidebar in iTunes, go to the view menu in the menu bar, and then click see the sidebar.

Maybe you are looking for