Wednesday, March 20, 2013

Blue border in IE only


I made a flowchart into a clickable image map so I could make the different points of the flowchart clickable for further instruction.  In firefox this worked great, but in IE there was an ugly blue border around the image.
The first fix I found was here: http://webdev-il.blogspot.com/2009/12/how-to-remove-blue-link-image-border-in.html
using the css style sheet to remove the border using
However when I did this, nothing happened.
I didn't know if it was because I was using an image map or something, but adding this into my CSS file didn't do anything.
what did work was using
border="none"
as an image attribute.  So the line of code for the image map looked like this:
<img class="center" src="new.png" usemap="#newmap" border="none" />
<map name="newmap">

Then after fiddling with it, and remembering what CSS does again, I added
border:none;
To the class I created called center.  Which I made so the image would stay centered.  That code ended up looking like this:
.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    border:none
}
I figured it might not have worked because I already had a CSS class assigned to the image, and maybe CSS wouldn't assign 2 attributes to it.  I don't know if this is what was actually going on, but adding "border:none" to the existing class assigned to the image removed the blue border.
Adding "border=none" also worked for me.  I only have one image on the pages I'm working on so either way works for me, if you are using multiple images, adding to CSS is the way to go.

Saturday, March 9, 2013

Flash error: tempInit

My full error was tempInit, Line 4 1086:Syntax error:expecting semicolon before me.







Usually I'll have some actionscripting by the time I get errors referencing lines, but at this point in my project all I had were buttons, so it was kinda driving me mad.  There was no line 4 in code, so I had no idea what was going on.
Turns out it was a button named "about me" apparently you can't have AS linkage with spaces in it.
And its not that it even really wanted a semicolon between About and Me, because that just threw even more errors.
So moral of the story, keep your AS linkage names one word.  Even if its screwyouASlinkage, as long as there aren't any spaces, you're good to go.

Getting RTL8812au passed to Virtualbox VM (Ubuntu)

There are no guarantees, I just write these notes so I can come back to them. First, get the dongle working on the host OS. After going thro...