www.webdeveloper.com
Results 1 to 5 of 5

Thread: Editor removes my css ontop page, soon as I go back to the coding

  1. #1
    Join Date
    Apr 2012
    Posts
    110

    Editor removes my css ontop page, soon as I go back to the coding

    Hi, the editor kompozer moves the css that I put in the head section,
    I leave and go into design to check the page, then when I go back to the html code. then the css is gone. And it doesnt work anyway. Only html.
    Ontop the page it says htm doctype strict, not the transitional one.
    Should I be using the strict and if not how do I change it.
    If anyone can help, thanks

  2. #2
    Join Date
    Nov 2002
    Posts
    2,632
    By CSS, do you mean actual CSS or the externally linked version? If it is actual CSS, you should have it externally linked anyway. No clue on the changing of Doctypes, but there might be a setting set that makes it expect the strict one.

    Here's the markup for an external source of CSS
    Code:
    <link rel="stylesheet" type="text/css" href="styles.css" />
    Now use make a .css file named styles in the same folder as your code is in with only CSS in it.

    I would also look into using a better editor like Komodo, or the PHP version of Eclipse. Both are free.

  3. #3
    Join Date
    Apr 2012
    Posts
    110

    I tried externally and internally, doesnt work. but Ill try download that eclipse

    Hi spufi, thanks, maybe its time to try another editor like eclipse as you said, thanks. just hope it downloads, cause I tried and thought I downloaded coffee cup, it used a lot of megabytes, but then I couldnt find it anywhere on the laptop, so I dont think it downloaded, unless its hiding somewhere, but Ill never find it, Ive got to many files now.

  4. #4
    Join Date
    Nov 2002
    Posts
    2,632
    Anything downloaded should be in your Downloads folder if you are on Windows.

  5. #5
    Join Date
    May 2005
    Location
    Gold Coast (MS)
    Posts
    2,207
    It's better to preview your edit in the browser. All you have to do is refresh after making your edits and saving them. All WYSIWYG Editors recode when you use their Visual/Preview mode. CoffeeCup's allows you to use shortcut keys to open the browser tab with your page in it. Mine (paid version) uses F9 for browser and F12 for split view.

    Web Editors (PC):

    WebPlus Starter Edition – A Free & Powerful Website Builder For Beginners [Windows]: http://www.makeuseof.com/tag/webplus...nners-windows/
    PageBreeze (Free visual (WYSIWYG) and HTML tag/source modes): http://www.pagebreeze.com/
    Serif WebPlus SE: http://myrtc.blogspot.com/2009/08/re...ebplus-se.html
    Notepad++ (Free source code editor and Notepad replacement that supports several languages): http://notepad-plus-plus.org/ or http://notepad-plus.sourceforge.net/uk/site.htm

    Komodo Edit: http://www.activestate.com/komodo-edit
    Aptana Studio: http://www.aptana.org/products/studio2
    PSPad: http://www.pspad.com/
    jEdit: http://www.jedit.org/
    TextWrangler: http://www.barebones.com/products/textwrangler/

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
  •  
HTML5 Development Center



Recent Articles