You are here: PSPad forum > English discussion forum > Re: Updated html, xhtml, css def
Goto Page: Previous1 2 3 4 5 6 Next
Posted by: carbonize | Date: 2011-06-23 20:22 | IP: IP Logged
Still missing the -ms- prefix ;)
Not sure what it's used for though. From what I can gather a browser has to have a prefix until it's implementation is deemed to fit the specifications and therefore matchs how the other browsers handle that particular css so we might see -ms-text-shadow.
--
Carbonize
Posted by: Manfred62 | Date: 2011-11-11 14:12 | IP: IP Logged
Jan has just released a new 'stable' version of PSPad.
That includes the last reworked files from here
=======================================
So, I have worked on and putted some CSS3 stuff into.
This are the following new ones:
- border-radius
- box-shadow
- box-sizing
- text-shadow
- opacity
- rgba color (simple, needs a color chooser? )
- resize
- outline-offset
same link: www.box.net
regards Manfred
--
PSPad 4.5.9 (2525)
Posted by: Manfred62 | Date: 2012-01-07 17:59 | IP: IP Logged
Included 'background-size' (CSS3) in css.def
for download see link above.
Manfred
--
PSPad 4.5.9 (2525)
Posted by: Manfred62 | Date: 2012-01-28 08:54 | IP: IP Logged
small fix in html + xhtml def. Included the media attribute to css link. Example:
<link rel="stylesheet" href="style.css" type="text/css" media="screen" />
regards Manfred
--
PSPad 4.5.9 (2525)
Posted by: Manfred62 | Date: 2012-03-20 18:57 | IP: IP Logged
Sorry, little fix in the css.def (with prefixes)
You can download the actual version
www.box.net
or correct it yourself. Line 99 should look like this:
%prefix%=@C browser prefix=,,,-moz-;-webkit-;-o-;-ms-,
--
PSPad 4.5.9 (2525)
Posted by: Manfred62 | Date: 2012-06-17 15:19 | IP: IP Logged
small fix and update in css.def:
included: 'rgb color';
fixed: box-size must be box-sizing,
also completed the values for box-sizing
same link: www.box.net
--
PSPad 4.5.9 (2525)
Posted by: Manfred62 | Date: 2012-07-14 16:18 | IP: IP Logged
small fixes and update in css.def:
now include snippet for @font-face
source code: css-tricks.com
same link: www.box.net
--
PSPad 4.5.9 (2525)
Posted by: Manfred62 | Date: 2012-12-01 11:18 | IP: IP Logged
Want to share some code for your html/xhtml def's.
When testing/developing in html sometimes you need simple images. For this I'm using the service from placehold.it. It's fast and easy to use.
Add this to your html/xhtml def's:
%width1%=@E width,,,
%height1%=@E height,x,
%bcolor%=@L backgr,/,
%tcolor%=@L color=,/,
%text%=@E Text=,&text=,
[img | image placehold.it]
<img src="http://placehold.it/%width1%%height1%%bcolor%%tcolor%%text%" (all the other parts if needed) />
|
Take care:
- colors must be in hex without #
- blank in text must be replaced with + (my+custom+text)
please read the specs at placehold.it
If there are any suggestions, let me know.
regards Manfred
--
PSPad 4.5.9 (2525)
Posted by: Manfred62 | Date: 2012-12-10 17:05 | IP: IP Logged
update for xhtml/html def's:
- added css-link for Google Webfonts. List of fonts refers to www.bestwebfonts.com.
- added ©
- cleaned up a little bit, some small corrections
same link: www.box.com
BTW: think we have to cleanup the html.def? Found a lot of very oldstyle things there. Neglected it because I'm mostly working in xhtml.
regards Manfred
--
PSPad 4.5.9 (2525)
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