How to change Aptana3 html template?? - aptana

learning js by using aptana,
aptana2 can initial html file content in "Windows - Preferences - Aptana - HTML"
But in aptana3 i couldn't find this setting.
so i add new html file in project explorer by rightclick menu "new from template - html - xhtml 1.0 transitional template"
now the problem is...how to change template initial content?

Please see instructions for Creating a New Template and Modifying an Existing Template.

Related

Using bootstrap makes some of the design disappear

I am creating a website with ASP.NET MVC and I am a beginner to this. I have found a theme from bootstrap that I want to use as my design for the website. Before I copied the bootstrap css file into my css in the website, there was the original menu including Home, About, Contact, Register, Log In etc.
But when I add the css file from bootstrap the menu disappears and only the name of the page is left showing. I have copied the file into both 'Content' Bootstrap.css AND bootstrap.min.css, but is there something I am missing here?
https://bootswatch.com/journal/
Debug your code in browser using inspect element sidebar (Ctrl + shift + I shortcut for google chrome).
go to console tab and refresh the page to check if your added file paths are being loaded successfully or not.

Configure / override Piranha CMS html editor so as not to add &nbsp's to html

Is there a way to configure Piranha CMS not to add &nbsp's when editing html via the editor's "Source code" view? Copying and pasting indented html can result in some very ugly content if the white space / indenting isn't removed before pasting.
Or perhaps the html editor can be overridden some way to prevent this behaviour?
The editor used in Piranha CMS is Tiny MCE 4.0, which has quite a lot of configuration options. You can check out the documentation for the editor here!
http://www.tinymce.com
As for overriding the default configuration, you can make a copy of the embedded partial view:
https://github.com/PiranhaCMS/Piranha/blob/master/Core/Piranha/Areas/Manager/Views/Shared/Partial/TinyMCE.cshtml
and place it in your application under:
~/Areas/Manager/Views/Shared/Partial
Your local file will then be used instead of the default one.
Regards!

CKEditor image properties tabs disappear

I'm having an issue with CKEditor regarding image properties. Spent many hours investigating this but ended up without solution.
I'm using Drupal 7 with the latest CKEditor AND IMCE.
When I click on the image icon on CKEditor tool bar, the image properties popup window came up but I was looking at the "advanced" tab is not showing up. No tab show up at all.
Is there any configuration that I have to apply in order to show up the tabs in the image properties?
you can try by reinstalling with ckeditor - 7.x-1.16 and imce - 7.x-1.9,
worked for me
I got this trouble when use cdn version of ckeditor instead of local.
To fix it download latest ckeditor from official site http://ckeditor.com/download. I have downloaded full version. Then copy files to /sites/all/modules/ckeditor/ckeditor. Before you copy here must be only 1 file with name COPY_HERE.txt. After copy folders adapters, lang... etc.
Then go to the global settings of the ckeditor admin/config/content/ckeditor/editg and set path to the local ckeditor library like this: %m/ckeditor. Save settings and check if advanced tabs exist now.

Is there support for validating (intellisense) inline CSS3 in Visual Studio?

I am running Visual Studio 2010. I have installed SP1 and the Web Standards Update and restarted Visual Studio. I can now select CSS3 for validation and Intellisense of CSS files, but for "style" attributes of html elements, it is still using CSS 2.1. For example, the following html:
<div style="text-overflow:ellipsis;">
Some text
</div>
produces the following warning:
Validation (CSS 2.1): 'text-overflow' is not a known CSS property name
Things that I have tried that didn't work:
Adding the CSS toolbar didn't help, because when viewing an .aspx page, the options are all greyed out
The Options -> Text Editor -> CSS menu has no level options
The Options -> Text Editor -> HTML menu has no CSS level options
Changing the HTML target schema to HTML5 does not change the CSS level
Installing CSS3 IS 2.1.1 didn't change anything
Is there any way to get Visual Studio to use CSS3 for the style attributes of HTML elements?
Tools -> Extension manager
Then search for Css 3 (online gallery), install.
I'm not sure this will work, but its worth a try.

CSS linked to aspx page is Not loading in Firefox

I am creating a aspx page using visual studio 2008.
and linking it with a css via
but when i build it page opens with only html format and CSS look and feel is not applying
Please tell what can i do to make to correct.
But its working correct on IE...
Have you tried validating the resulting HTML page and the CSS file (HTML Validator) (CSS Validator)
If validating and resolving errors does not help, please post your HTML and CSS.

Resources