what is the purpose of using caption in css? [closed] - css

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
The topic is about system fonts. what is the purpose of setting button {font:caption;}? system-fonts

The question asks what is the purpose of setting button {font:caption;}
The system the user is on (normally a browser like Chrome or Safari together with their device's operating system and related storage) will itself have styles for various different items.
In this case the question is about 'caption' - when used as font:caption as above it is saying to the browser when you see a button element in my HTML please use the same font that you would use to show a button.
This means you can have a website which blends in with the look that the user is used to - buttons (and other things depending on what else you set) will look the same as system ones - in this case at least as far as the font goes.
See https://developer.mozilla.org/en-US/docs/Web/CSS/font for information on what other in-built system formatting can be used.

Related

Screen Readers and Browser Events [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
Do any of the commonly used screen readers emit browser events that can be scripted with javascript?
Or, are there current or planned javascript APIs to communicate with screen readers in the same way there are now APIs for working with other OS level systems (cameras, GPS, etc.)?
A similar question from three years ago (Evaluating current state of a screen reader in JavaScript) produced a definitive "NO" answer. Has anything changed since then?
I believe, it's still a No, but the closest to your request is the (drafted) Accessibility Object Model. It does not allow to interact with screen readers directly (it seems), but it does allow to manipulate the accessibility tree in a browser.
Currently supported at least in Chrome Canary via a command-line flag.

Change link color or link CSS in Google Maps API [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I'm using Google Maps as an API to display a map on a client page. In the info window when the user clicks a marker I want the user to select that particular location and proceed to next page. Works fine with a link, however, visually this link gains to little visual weight. I want it to stand out more.
Is it possible, and if so how, to modify the styling of the links in the info window in the Google Maps API?
You set your infowindow content like this:
infoWindow.setContent("<div><a class='link' href='#'>...</a></div>")
So you can easily use the CSS selector to style the link.

How to edit Nexus welcome screen [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I would like to display custom information on my Nexus server, e.g. on the Welcome Screen or in a header. Basically I would like to add useful information for my users, like a contact address specific to my organization in case of issues, or links to guidance documents.
Is there any way to do this?
The branding plugin can be used to update the header image in the top left corner. There is a demo of that you can watch on the Sonatype Youtube Channel. There is no plugin to customize the welcome screen. You would have to write your own plugin to do that.
Update: The branding plugin is part of Nexus Pro only in the Nexus 2 series. The Nexus 3 series introduces a feature to have a completely customizable header and footer.
I have never used it but there is a branding plugin:
http://books.sonatype.com/nexus-book/reference/nexus-branding.html.
Might only apply to Nexus Prodfessional, worth checking out

how to download an imported style sheet from a website? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I often need to use some styles from a website but i cant find those style sheets since it is linked using an import function. can anyone say how to download/view those imported style sheets.
Here is what you can do. Depending on which browser you use you can activate developer tools in the settings. You can then right klick on a part of the website you want to have the styles from and often times it says something like "inspect element" in the menu. You will then be able to view the styles that are applied to this specific element or webpage and you will also be able to copy those to the clipboard.
I actually hope this will be of help to you.
https://developers.google.com/chrome-developer-tools/

jsFiddle could be indexed or I keep my codes private? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I'm worried about using some data in a fiddle (jsFiddle) because these data shouldn't be public.
Can Google index jsFiddle? I saved the fiddle but I don't save a title for it so it shouldn't became public..
However, the fiddle URL is still visible even if I log out from jsFiddle...
Some clarifications?
Thank you
There are currently two modes of privacy, one is public (where you add a title and description), this fiddle will show up in your dashboard and your public fiddle-list. The other mode is semi-public, where you don'y add description or title, hence the fiddle is only visible for you in your dashboard - crawlers shouldn't be able to reach there, hence shouldn't index your fiddles.
That said, the Beta version of JsFiddle has more privacy modes, including the much anticipated "private fiddle" - this functionality will be probably available only for subscribers.
Best,
Oskar (JsFiddle co-creator)

Resources