Questions tagged [css]

Cascading Style Sheets (CSS) is a style sheet language used to describe the presentation semantics (the look and formatting) of a document written in a markup language. Questions regarding CSS are off topic here.

424 questions
133
votes
2 answers

How can I override the CSS of a site in Firefox with userContent.css?

In Mozilla Firefox, I want to create userContent.css which overrides the CSS of a site. Where should I create the file (Windows 7)?
Rauf
  • 3,627
  • 10
  • 26
  • 37
61
votes
5 answers

How can I force my css styles when I visit a website?

Imagine I want to visit webmaster.stackexchange.com (or an other website) everyday but I want to change the blue color of header (change it to red for instance). Is it possible to force personal css styles when I visit a website? If so, how can I do…
Zistoloen
  • 721
  • 1
  • 5
  • 8
50
votes
10 answers

Change default CSS of Google Chrome

I would like to be able to change the default CSS used by chrome, such as removing the underlines for links, etc. However, I cannot find the default CSS file used by Chrome. Does anyone know where it is?
George IV
  • 1,181
  • 4
  • 13
  • 14
41
votes
5 answers

Is it possible to view a page in Firefox using "print" media type?

I'm not talking of the Print Preview - I mean to view the webpage in Firefox "normally", with access to e.g. the F12 Developer Tools, but I want the layout to be the same as if I was printing the page out.
gaazkam
  • 943
  • 1
  • 6
  • 21
31
votes
1 answer

Firefox Quantum (ver >= 57) - How Can I Hide the Horizontal Tab Bar with TreeStyle Tabs?

Tree Style Tabs is an excellent plugin and probably the main reason I use Firefox. With the newer versions of Firefox, Tree Style Tabs works nicely, but I can still see the same tabs duplicated across the top horizontally. How can I hide the…
semtex41
  • 995
  • 2
  • 9
  • 13
30
votes
7 answers

Is there any way to view a webpage without styles in Chrome?

Under Firefox, View -> Page Style -> No Style allows viewing an unstyled page. Helpful for some overly-JS / stylesheet dependent sites (e.g.: Lifehacker). Is there any similar functionality under Google's Chrome, and/or where would I access…
dredmorbius
  • 483
  • 1
  • 5
  • 9
25
votes
1 answer

Modify Chrome user agent stylesheet

I would like to modify Chrome's user agent stylesheet. I am not looking for how to override them with CSS. I want to modify the default values and add some new rules that would help me speed up my workflow and enhance my browsing experience. Please…
Ahmad Alfy
  • 361
  • 1
  • 3
  • 6
25
votes
4 answers

Command-line CSS selector tool

Question What tool (preferably for Linux) can select the content of an HTML element based on its CSS path? Example For example, consider the following HTML document:

Header

Dave Jarvis
  • 3,168
  • 5
  • 32
  • 37
25
votes
1 answer

Why does CSS3 use two names for the same color: aqua = cyan, magenta = fuchsia?

Why does CSS3 duplicate #00ffff = 0,255,255 and #FF00FF = (255, 0, 255), spotted by this user? This duplication confuses, as each is listed separately on the aforementioned CSS3 link.
user269574
19
votes
3 answers

Different language syntax highlighting within same file

I'm trying to get simple syntax highlighting working within a file. Here's the setup. I have an index.php file, which Notepad++ correctly highlights any PHP code between the tags. Inside of this file, I have some Javascript, which is…
dmackerman
  • 427
  • 2
  • 5
  • 11
18
votes
5 answers

Is there a way to disable custom webkit scrollbars?

Is there an extension, custom user stylesheet, etc. that will disable or revert the customization of scrollbars in Webkit based browsers like Google Chrome? I like the plain, native scrollbars but I cannot seem to find a combination of CSS to make…
TedMilker
  • 281
  • 1
  • 2
  • 3
18
votes
3 answers

Safari Web Developer Tools?

Where do you enable web developer tools in Safari on windows? I can't find it anywhere. A quick web search found some really complicated instructions that felt more like a hack then turning on a setting. Does Apple really make it that hard to…
Adam Youngers
  • 283
  • 1
  • 2
  • 6
15
votes
1 answer

colors and vim with css

I started to use vim on Ubuntu for web development. Now, I have a visual issue when I use media query CSS when I put resolutions As you can see the first media screen is working properly but not the second one. Is there any way I can fix this so it…
hanna
  • 153
  • 4
14
votes
3 answers

Understanding CSS for user styling in a browser

I want to make a specific change to the appearance of a specific site in my web browser. This site uses CSS, so I think what I should do is write a user CSS override (please correct me if this is wrong). My browsers are Firefox (for which I think I…
Gilles 'SO- stop being evil'
  • 69,786
  • 21
  • 137
  • 178
13
votes
4 answers

How to take a CSS animation from a browser, and export a GIF of it?

I have the following CSS3 Animation going on: http://dabblet.com/gist/2884702. It's basically a simulation of a mirror rotating on its x-axis. Now, I wish to present that in a PowerPoint presentation. Since PowerPoint doesn't have the webkit engine,…
Madara's Ghost
  • 581
  • 4
  • 7
  • 30
1
2 3
28 29