You are here: PSPad forum > English discussion forum > Updated html, xhtml, css def

Updated html, xhtml, css def

Goto Page: Previous1 2 3 4 5 6 Next

#31 Re: Updated html, xhtml, css def

Posted by: carbonize | Date: 2010-10-23 18:08 | IP: IP Logged

Yes I think we do as IE9 is in beta and supports a lot of the commonly supported HTML 5 tags as well as some CSS 3. Video and audio are the two main ones along with the new input attributes I mentioned. Then HTML 5 supports just using <!DOCTYPE html> so that will need adding to the list along with the fact HTML 5 only requires <script> and <style> without the type attribute as it will treat anything in these tags as JavaScript and CSS respectively unless the type attribute is present and says otherwise.

Then we have the CSS3 stuff but the issue with a lot of it is WebKit and Mozilla insisting on using prefixs for them in the form of -webkit- and -moz- which makes life difficult all round. But yeah we need to add border-radius and support for css transitions etc.

--
Carbonize

Options: Reply | Quote | Up ^


#32 Re: Updated html, xhtml, css def

Posted by: Manfred62 | Date: 2010-10-26 16:13 | IP: IP Logged

Only a small update in css.def, added 2 shortcuts:
- Ctrl+Alt+B --> open new brackets {}
- Ctrl+Alt+C --> set a comment

www.box.net

regards Manfred

--
PSPad 4.5.9 (2525)

Options: Reply | Quote | Up ^


#33 Re: Updated html, xhtml, css def

Posted by: Manfred62 | Date: 2010-10-26 19:39 | IP: IP Logged

Next small fix in xhtml.def:
- insert internal java script misses backslashes

//<![CDATA[
....
//]]>

regards Manfred

--
PSPad 4.5.9 (2525)

Options: Reply | Quote | Up ^


#34 Re: Updated html, xhtml, css def

Posted by: carbonize | Date: 2010-11-07 22:28 | IP: IP Logged

Maybe you could integrate some of the changes from these HTML5 files - www.pspad.com

--
Carbonize

Options: Reply | Quote | Up ^


#35 Re: Updated html, xhtml, css def

Posted by: Manfred62 | Date: 2010-11-12 13:06 | IP: IP Logged

carbonize:
Maybe you could integrate some of the changes from these HTML5 files - www.pspad.com

What changes do you mean espacially? Tags, syntax..?

regards Manfred

--
PSPad 4.5.9 (2525)

Options: Reply | Quote | Up ^


#36 Re: Updated html, xhtml, css def

Posted by: carbonize | Date: 2010-11-12 13:12 | IP: IP Logged

well since we can't change the syntax highlighting without creating our own I mainly mean some of the HTML 5 tags such as audio, video and their attributes as well as the new attributes for inputs such as required, pattern and the different types. Be nice if you could also add some of the more exotic CSS3 stuff such as border-radius but wondering if there isn't a way to make it do all the varying border-radius methods from a single input (-moz-border-radius, -webkit-border-radius etc)

--
Carbonize

Options: Reply | Quote | Up ^


#37 Re: Updated html, xhtml, css def

Posted by: Manfred62 | Date: 2010-11-12 15:13 | IP: IP Logged

html 5: hmm, that's not so nice. Think, it's better to use the real (full) html 5 def. If starting to mix (x)html with html5 tags, you don't get clean (valid) code.

Just now you can use the (more simple) html5 doctype with (x)html.
Thats no problem with browsers and validation.
It sets all browsers in standard mode (like strict).

css3: I already have a first draft for a full css3 def.
But no time to make it ready to go sad smiley

Like you mentioned, there are some already now and then used properties,
that we could include in the actual css.def
Will take a look into it...

A nice idea would be -->
you choose border-radius,
then you get the popup for attributes -->
and with checkboxes for the prefixes -->
make your selection, enter -->

-webkit-border-radius: 60px;
-moz-border-radius: 60px;
border-radius: 60px;

Not sure, how to realize this. But I try it.

regards Manfred

--
PSPad 4.5.9 (2525)

Options: Reply | Quote | Up ^


#38 Re: Updated html, xhtml, css def

Posted by: carbonize | Date: 2010-11-12 16:02 | IP: IP Logged

Yeah I don't understand why the browser vendors have done things that way, either you support the feature or not.

--
Carbonize

Options: Reply | Quote | Up ^


#39 Re: Updated html, xhtml, css def

Posted by: Manfred62 | Date: 2010-12-06 17:39 | IP: IP Logged

Small update in both html files. Completed favicon link with missingtype="image/x-icon"
www.box.net

Manfred

--
PSPad 4.5.9 (2525)

Options: Reply | Quote | Up ^


#40 Re: Updated html, xhtml, css def

Posted by: Manfred62 | Date: 2011-06-23 20:07 | IP: IP Logged

Small update for the css file.

Now included option for class, id and selector,
type . --> class --> type name or choose a option
type # --> id --> type name or choose a option
selector --> type name or choose option

options for class and id are:
wrapper;header;navigation;content;sidebar;footer
configure your most needed options/names in line 27/43

options for selector are:
html;body;h1;h2;h3;h4;h5;h6
configure your most needed selectors in line 64

also included the browser prefix
-moz-,-webkit-,-o-,

Same link: www.box.net

regards Manfred

--
PSPad 4.5.9 (2525)

Edited 1 time(s). Last edit at 2011-06-23 20:07 by Manfred62.

Options: Reply | Quote | Up ^


Goto Page: Previous1 2 3 4 5 6 Next





Editor PSPad - freeware editor, © 2001 - 2024 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR