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
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
Now use make a .css file named styles in the same folder as your code is in with only CSS in it.
<link rel="stylesheet" type="text/css" href="styles.css" />
I would also look into using a better editor like Komodo, or the PHP version of Eclipse. Both are free.
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.
Anything downloaded should be in your Downloads folder if you are on Windows.
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
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)