Skip to main content

Posts

Showing posts from January, 2018

How to Use CSS Within SVG Embeded in HTML

There are six ways of embedding SVG in HTML . However, not all are equal neither are they well-behaved. In this article the issue at hand is how to style embedded SVG with an external style sheet. The three components of this set up include: 1. The SVG file 2. The HTML file 3. The CSS file   Using <object> to embed SVG  This is quite easy. The <object> code within the HTML file will look like this: <!DOCTYPE html> <html> <head> </head> <body> <object type="image/svg+xml" data="test1.svg"/> </body> </html>  SVG A simple SVG [ test1.svg ] is shown below: <?xml version="1.0" standalone="no"?> <?xml-stylesheet type="text/css" href="style.css"?> <svg width="400" height="300" xmlns="http://www.w3.org/2000/svg" version="1.1">   <rect height="100" width="100" id="nrb1" /&g

How to Recover Android 7 Icons

I lost my dailer.  Hmm? But its still installed and active in the Settings > Apps menu. So where is it? Android 7 is too smart for its own good.  Try searching the alternative vertical swipe home menu. How do I access this vertical menu? Have a look the image below. The button surrounded by a red square changes from horizontal swipe home screen to vertical swipe. While in vertical mode, the blue bar on the top right allows you to rapidly scroll up and down the list of apps. To return to horizontal mode, use the Back button circled in red. If you scroll in vertical mode and find your icon, move it back to original position by pressing for a second or two, drag it into the desired position then release it.   Cheers. Happy mobing. The Messiah is coming. See proof here .