markodenic.com

...call, and SMS links 3. Ordered lists `start` attribute 4. The `meter` element 5. HTML Native Search 6. Fieldset Element 7. Window.opener 8. Base Element 9. Favicon cache busting...

...The `spellcheck` attribute 11. Native HTML sliders 12. HTML Accordion 13. `mark` tag 14. `download` attribute 15. Performance tip 16. Video thumbnail 17. input type="search...

...a simple change. Note that Devise's default configuration actually only redirects requests for HTML content (as requested by the HTTP Accept header). For all other formats (like JSON) it...

...config.http_authenticatable = true config.navigational_formats = [] You may want to also disable routes to the HTML forms in your routes.rb: devise_for :users, skip: [:sessions] # or skip: :all to also disable...

makandra dev
litmus.com

...they want their tables back. Unfortunately, you need them all for laying out your HTML emails. Email client HTML rendering is way more scattered than browser HTML. While you might...

...can use to support all major browsers, I doubt anyone masters this craft for HTML email clients. The only way to ensure your email looks good (acceptable, at least) in...

schema.org

...Cameron (born August 16, 1954) Science fiction Trailer Further reading: How to Create an HTML5 Microdata Powered Resume

...you click on is not necessarily a link or button, but could be any HTML element with a Javascript event binding. The easiest way to get this step is to...

smashingmagazine.com

A comprehensive introduction to sending HTML emails. Intro: HTML email: Two words that, when combined, brings tears to a developer’s eyes. If you’re a web developer, it’s...

...lap at some time in your career, whether you like it or not. Coding HTML email is old school. Think back to 1999, when we called ourselves “webmasters” and used...

...keep your well-structured CSS files and do the inlining for you. See Designing HTML email Since Roadie is now in passive maintenance mode, we go with premailer: Include premailer...

...tag attachments['logo.png'].url, alt: 'Company logo', width: 100 %> Note: You should set the html width and/or height attribute as shown above, because most of the e-mail clients can...

...JavaScript, and put this into your application.js: $(function() { $('[data-remote][data-replace]') .data('type', 'html') .live('ajax:success', function(event, data) { var $this = $(this); $($this.data('replace')).html(data); $this.trigger('ajax...

...helper, use the following code instead: $.unobtrusive(function() { $('[data-remote][data-replace]') .data('type', 'html') .live('ajax:success', function(event, data) { var $this = $(this); $($this.data('replace')) .html(data) .activateUnobtrusiveJavascript(); $this.trigger...

makandra dev
phrogz.net

...non-default behavior that you know from other tags. Do not try to style html or body for positioning, width/heigth, or similar. Every browser has its own caveats and you...

...can not test them all. Generally speaking: Use the html tag to define your page's default background color (because on short pages or large screens, your body may not...

makandra dev

If you need to test some HTML, e.g. an embed code, you can use RubyMine's "scratch files": File > New Scratch File (or Ctrl + Shift + Alt + Ins) Select "HTML" as...

Write or paste the HTML Move your mouse to the upper right corner of the scratch file editor. Pick a browser to instantly open your file...

...note = '\u266A' You can use Unicode escape sequences in both single and double quotes. HTML Use an entity: ♪ Ruby 1.9+ In modern Rubies you can use the \u escape...

...using ASCII art, but you can also make it send those notification as simple HTML e-mails that have some simple formatting for clarity, but no images etc. To do...

...so, activate this option: :email_format => :html Those HTML notifications are still delivered with a text-only version, so if you are using a console client or want to forward...

caniemail.com

...substitute for checking the actual rendering in real clients. Make sure you follow Designing HTML Emails...

...xml = Nokogiri::XML(" foo bar ") parses an xml string. You can also call Nokogiri::HTML to be more liberal about accepting invalid XML. xml / 'list item' returns all matching nodes...

Tooltips that are delivered through HTML attributes are encoded. Decode entities before checking for their presence. Capybara: Then /^there should( not)? be a(n encoded)? tooltip "([^"]*)"$/ do |negate, encoded, tooltip...

...tooltip = HTMLEntities.new.encode(tooltip) if encoded Then "I should#{negate} see \"#{tooltip}\" in the HTML" end Note This step uses the htmlentities gem described in another card. Make sure you require...

If a controller action responds to other formats than HTML (XML, PDF, Excel, JSON, ...), you can reach that code in a controller spec like this: describe UsersController do describe '#index...

makandra dev

If you want to convert a README.rdoc file to HTML, say this from a shell: rdoc README.rdoc You will find the generated HTML in doc/index.html. If you do this while...

...of our gems, please .gitignore everything in doc and don't commit the generated HTML...

Imagine you have a list you want to render inline on large screens, but stacked on small screens. high

Haml 3.1.2 displays single quotes in FormBuilder#text_ field html escaped. You may see something like that: David's Chapter Looking at the page's HTML, your field's...

matthewphillips.info

...single tweet in fact, can be used to allow defining custom elements purely in HTML. This post will expand on the idea, show how the snippet works, and argue for...

...want to actually use this. A nice trick that lets you define "partials" in HTML without any additional rendering technology on the server or client...

github.com

HTML sanitizer by the wonko.com guy...

astuteo.com

SlickMap CSS is a simple stylesheet for displaying finished sitemaps directly from HTML unordered list navigation...

When you print (or print preview) and elements are cut off (e.g. after 1st page, or "randomly") you should check...