Any way to add a decorative border around a chrome tab using css? - css

Sorry if my question is silly; I am a total amateur when it comes to css.
I wanted to make a chrome extension that would allow the user to add a custom decorative border around chrome tabs like the image attached.
At first I thought that it might not be possible, but I encountered an extension called browser pets which creates a little animal which walks across your screen. From this I deduce that putting images on top of a chrome browser is not impossible?
Thank you for taking the time to read this, and I'd love if someone knows the answer.

Related

Having an issue with safari not displaying numbers in <a> tags

I'm doing some browser testing with a responsive site, and ran into an issue with Safari that I cant track down the answer to. On the top of their page, they want a clickable phone number so that mobile devices and Skype users can easily call.
On every other browser it looks like it's supposed to:
The Right Way!
In safari, however, I get this:
The Wrong Way!
(rep is still too low to post pics, thus the Gdrive links)
What's going on here? Ive formatted the number portion to look as follows:
<h3 id="phone">Seattle <a id="ph-number" href="tel:2065272000">(206) 527-2000</a></h3>
The link works in every browser, it's just safari that's having issues with the display portion. Can anyone help me out with this (probably simple:) issue?
Adding as an answer for future searches:
Hard to tell from just the HTML unfortunately. Any way to shine some light on CSS? What font family are you using (it may be missing glyphs somehow)? Double-check font-size?

Firebug/Console style hover effect

Think I know the answer to this one, but just thought there may be some genius out there whos know of a way to do this...
Basically I am making a site editor kind of thing and it would be amazingly handy if I could replicate the way Firebug and the Chrome console highlights elements when you hover over their code in the html/elements tabs of those inspectors...
Its not something I can do with background effects because that does not highlight the whole Div (the contents show above the highlight) and I don't think there is anyway of making a div overlay over the top of all the content but have it not block mouseovers on underlying elements...
Anyone any ideas? Is there any browser specific code that achieves this kind of thing?
In general, Firefox extensions are mostly JavaScript. Since Firebug is BSD licensed, you can browse its source code on its project site. Maybe you'll find the relevant code and get an idea how to solve your specific task.
You could add an outline in CSS on mouseover - that would highlight the element without changing its position, as outline does not effect layout. A box-shadow would also work similarly.
In fact, it looks to me like Firebug adds a dark bluish box-shadow to elements to highlight them.

Google+ Games Buttons

I have no idea how to even start this question, but I was referred to Stack Overflow by a friend who basically told me that anything I need help with or to help others, I should come here. So I have a question for website designers and coders alike. (optional: have a google+ account for a visual aid)
If you go into Google+, you have all these cool features that seem advanced with code, but very basic in style. You hover over a button and it becomes animated like the in the games section. You have an image of the game in a div container I believe and it cycles through like its a gif or a timed sequence. At the bottom of the image, you see a small box from left to right, filled in with a different color, and has the name of the game on it. When you hover over said game a box begins to move from the bottom of the div to the top of the div completely covering up the image, but has more details in it. These details includes the description of the game and a button at the bottom that is a dark bluish that says play game, and when you hover over it, then it becomes a light blue like color.
Basically I want to create the same thing, but with different attributes. Same concept initially with the picture and the box with the name with a white border, but when you hover over it, then the background would be like a dark red with white text and a dark red button with a white border with the words view site and when you hover over it then it is like a light red.
I am making a portfolio website for my website designs and photoshop work. I think that this would be a great addition and I hope somebody or anyone can help me. I always give credit in my about pages if I didn't actually create something on my own.
Thank you for your time on reading this ridicuously long question, but I hope it relatively makes sense.
Your question makes sense and you can totally do it, personally I recommend learning HTML & CSS and creating a working demo - then hiring someone / finding someone to help build the features you want it to have. That way you have total control of the appearance, which I think is something that you're more interested about then coding the features ( you mention showcasing your design work ).
http://learn.shayhowe.com/html-css/terminology-syntax-intro/
Is a nice resource I saw today that might help you get started. In the future I think Stack Overflow is much more affective for specific questions related to specific issues, not something so broad as to code and design an entire web application.
Best of luck!

Niggles of Web App Between IE7 and IE8

This is probably the worst question I have ever posted on Stack Overflow but I am trying to figure out how to fix this page so that it renders the same way in IE7 as it does in IE8.
As far as I can tell there are 3 differences.
The first is that the content becomes centered in IE7.
The second is that the middle section of the video shifts slightly to the right so that it is out of alignment with the top and bottom border images.
The third is that the thumbnail of the active video becomes slightly messed up on the right hand side as if it is too big for its background image.
I could post all the code but I think there's too much for it to be effective on SO.
Here is a link: http://facebook.icrossing.de/tools/youtubetab/esprit/
Perhaps there's someone who has seen this sort of problem before and is able to diagnose a quick and not too painful solution.
If you are not using the New features IE8 has to offer, you should consider using compatibility mode.
Here is MSDN page on how to define document compatibility.

IE/Firefox CSS confusion: Why does my table have inside borders on Firefox, but not IE?

I'm having a problem with CSS not displaying correctly between IE and Firefox... The big problem is that we have a ridiculous number of CSS files (and this isn't something that is currently scoped to fix), and I can't seem to find what style is being applied.
Any way, here's what I'm looking at: On the shopping cart page for our site, we have a table (yes, I know) where each row is an item in the cart. On IE, Chrome, Opera and Safari, this table renders fine - everything looks good, borders are all hidden, it looks great. On Firefox, however, while the outer border on the table remains hidden, lines separating columns/rows inside the table are displayed.
I don't have direct links to show the problem, but if you go to
https://store.petango.com/Roc-P6986.aspx
and click the "Add to cart" button, it brings you to the cart page (where you can see the lines showing in FFox, but not in IE).
For what it's worth, this is a third party E-Commerce package that we purchased, and on top of that we hired out our web design to a DIFFERENT third party web developer. Hence the jumbled mass of CSS files/confusion. Trying to look at the CSS for specific TD elements (in Firebug) is basically impossible to read it's so long, but I can't see anything obvious in there either.
I would be thrilled if this is just something stupid I'm missing, and there's a well known mistake that has been made in our CSS that lets it render fine in every browser but Firefox - any help would be greatly appreciated.
A bit of poking around in Firebug reveals that removing the border-collapse:collapse style from the ctl00_wpm_Basket_ctl04_BasketGrid table removes the borders. I'm not even going to try to explain this - the style should be completely unnecessary, as like many of the other applicable styles it's set and reset multiple times at multiple levels... I suspect you're encountering some subtle difference between how styles are applied in Gecko and other browsers; it's probably a bug, but I would encourage you to slim down the test case if you decide to report it...
this isn't something that is currently scoped to fix
It probably should be... Otherwise, you'd better get comfortable using Firebug.
"We fully recognize that IE is behind the game today in CSS support."
ieblog

Resources