Tagged Questions

CSS, short for Cascading Style Sheets, is a language used to control the presentation (including colors, layout, and fonts) of HTML and XHTML documents.

learn more… | top users | synonyms (4)

16
votes
6answers
11k views

Is there a tool that converts css to less.css?

I have a pretty big CSS file, that I want to convert to less. When I wrote the CSS I did not know less.css, but now I still want to use my old CSS. Is there a tool that can help me to convert it ...
2
votes
2answers
1k views

Load custom CSS through browser to site being viewed?

Is there a way I can load a CSS stylesheet to a site I'm viewing in a browser? I'm working on my company website. For obvious reasons I don't want to make changes to the live version of the site ...
1
vote
1answer
2k views

Does Dreamweaver support inline CSS styles?

I don't write HTML every day, so DreamWeaver is a useful crutch. Often I find myself writing content for a site where I have no control over the page header. I need/want to use some one-off CSS to ...
2
votes
1answer
970 views

CSS templates for standard html elements?

I'm not looking for html page templates... but rather basic element templates. Is anyone aware of a site that carries this type of template? I want to create my own layouts and such, but I would love ...
5
votes
1answer
1k views

Majority of mobile devices support media queries for screen width?

Where I can find statistics on what % of mobile devices browsing the web support media queries for screen widths? I want to know whether for mobile optimization I can assume the majority of users' ...
0
votes
2answers
155 views

Getting the containing box of a given one in the CSS box-model [closed]

My understanding is that most layout (positioning and dimension) problems with CSS are the result of a bad understanding of which is containing box of the box you are trying to lay out. However as ...
0
votes
1answer
247 views

Customize Mediawiki's monobook.css with some skins

I have installed MediaWiKi on Ubuntu server. I am trying to customize the wiki's appearance, so I tried different skins (fratman, GuMax, and mozillawiki) None of them satisfied me. I want a skin ...
1
vote
1answer
513 views

HTML 5 - Backward Compatibility with new Tags and CSS?

In case I will use any of the new HTML5 Tags like: <article> or <section> ... with a doctype of <!DOCTYPE html> 1.) Can I directly assign a style to this element like: ...
2
votes
0answers
147 views

Any websites out there that showcase beautiful and pure css? (no images, flash, etc) [closed]

Something like the css zen garden but without the images used, just showing off what css can do on it's own? Or in general a site that gives an overview of pure css techniques to beautify web pages.
5
votes
1answer
899 views

SVG in CSS backgrounds

Edit: How can I detect in php if the client browser is capable of displaying SVG as CSS background ? I renamed my stylesheet from .css to .css.php. So I can include at the beginning: <?php ...
0
votes
1answer
151 views

Create sprites automatically

I get the folder with the following structure from my designer*: file.css images/ Is there any tool which can automatically create sprite from images folder and replace all images ...
13
votes
1answer
5k views

How Google reacts on display:none for CSS media query?

According to Google Webmaster guideline "Hidden text" is not acceptable. Which means I do have a dov containing some good amount of title or paragraph with link or images if I make it display:none in ...
2
votes
1answer
129 views

Why don't people embed style and scripts in the HTML?

I know this sounds like a silly question, but hear me out. These days, there are a lot of 'media aggregator' tools that will take your globs of javascript (laden with coffee and underscores and ...
-1
votes
1answer
147 views

I am done with html and css, NOW, what tools should I start with? [closed]

I am done with html and css, NOW, what tools should I start with? Shall I start with Adobe CS3 OR Adobe CS4 OR Adobe CS5 Please let know. I am just confused. Thanks :)
1
vote
2answers
268 views

changing <b> tag style to font-weight normal

I am highlighting key words on my web pages using the <b> tag. I have set all <b> tags to font-weight: normal in my global stylesheet and was wondering if this would be considered a 'black ...
1
vote
3answers
190 views

Adding text shadow to your whole website

I want to add shadow to all the text into a website. The text is in different elements of the website. Now I was thinking of 2 things. 1) add a class to all the containers with text, and just give ...
1
vote
2answers
422 views

Putting Together HTML, CSS, and JavaScript

Hopefully this question isn't too broad… I am a competent iOS programmer and have some experience with Java (command-line tools). Over the last year or two I've dabbled into HTML, CSS, and ...
2
votes
2answers
545 views

Buttons in pure CSS3 or use image sprite

I want to know if it would be better to make an image for the buttons that I use, or can I get away with pure CSS. Ill give you the code. html: <ul id="buttons-dev"> <li ...
2
votes
1answer
2k views

Is there a way to use @media queries with pages embedded into Facebook?

Would a @media query recognize the 520px Facebook iframe limitation?
2
votes
1answer
109 views

What is a CSS form? How does one embed an AdSense ad into a CSS form?

One of the Google AdSense optimization tips says to, "Use a CSS form to embed the ads unit for more seamless design." What does this mean? How does one implement a CSS form?
0
votes
1answer
106 views

What CSS rules are causing extra space in the footer of this blog on blogger? [closed]

I am having some problems with the footer on my blog. Take a look at it here. Right above the footer, there is a blank, black space with nothing in it. Above it is the feed url, but it isn't on the ...
1
vote
1answer
252 views

Is liquid layout good or creating multiple css file for universal accessibility of web pages?

Is liquid layout (everything in % and font-size in 'em') good or creating multiple css file for different resolutions or browsers with help of Javascript good? I am a aspiring web designer, and want ...
2
votes
1answer
426 views

Background image strategies for a curved background

How would you handle a background image for a web page with a curve like the one below? Normally, I take a thin image and repeat it along the x-axis, but the curve negates that strategy as one side is ...
11
votes
1answer
2k views

Is this inline-block trick involving 'font-size: 0' dangerous for SEO?

A while back, I answered this question on Stack Overflow: http://stackoverflow.com/questions/5078239/how-to-remove-the-space-between-inline-block-elements The problem is that elements with display: ...
2
votes
1answer
260 views

Layout Columns - Equal Height

I remember first starting out using tables for layouts and learned that I should not be doing that. I am working on a new site and can not seem to do equal height columns without using tables. Here is ...
1
vote
2answers
309 views

Why can't Internet Explorer render this page correctly?

I've been pulling my hair out but can't figure out why my page looks like a huge mess in IE9, but Firefox, Chrome, Opera, Safari works great. My website is here: http://173.244.195.179/test-o.html ...
2
votes
2answers
392 views

Curious CSS: “font-family: restore-n8;”

Found some curious CSS in the source for http://contrastrebellion.com/: font-family: restore-n8, restore-1, restore-2, sans-serif; Restore-n8 and the like don't seem to be font names. What does ...
4
votes
3answers
844 views

Most Popular Fonts used in Webpages and their Fallbacks?

This is a two part question, the second question is dependent on the first: What are the most popular fonts used on web pages? (the top half dozen will suffice). Include the proper CSS fallbacks for ...
0
votes
1answer
37 views

if… or conditional comments?

So I'm working on this website for my dad (http://tendonaid.com/) and it works nice in modern browsers, but apparently he's getting comments on how the top navigation doesn't work on Internet Explorer ...
1
vote
1answer
70 views

Tool or plugin required to show out in which html files a given css selectors is used [duplicate]

Possible Duplicate: How to identlfy unused css selectors and rules for css pages which cover multiple pages and are installed locally? I'm looking for a tool which is capable of indicating ...
10
votes
2answers
341 views

How to identlfy unused css selectors and rules for css pages which cover multiple pages and are installed locally?

I'm looking for a tool which would be able to identify unused and/or duplicate css selectors and rules, with the following two restrictions: The tool would have to be able to analyze css pages which ...
-6
votes
1answer
506 views

Google web font [closed]

Please suggest me Google web font similar to following image,
3
votes
4answers
2k views

Check for duplicate 'id' values in a HTML page

I am developing a web application and I would like to check for duplicate id values in a HTML page. I am running the application on my local machine. There is a way to do that? P.S.: I am using ...
3
votes
2answers
34 views

Stylesheet switches increase loadtime?

I am using stylesheet switcher which uses a number of alternate stylesheets for the media="screen" and switches to those styles when instructed by the user. But in the web page I have to use several ...
1
vote
1answer
114 views

Zen Cart - different banners for each page

I have a zen cart shop with a costumized template and for now there is a slideshow gallery under the header. I need to keep this gallery for the first page only, but on all the other pages there ...
3
votes
2answers
83 views

[pic] Possible to style a text with CSS?

Preparing for a meeting with our designer later today, I was looking through his Photoshop sketches and wonder whether the following one could be expressed in HTML/CSS, without the need to render the ...
8
votes
3answers
5k views

iPad and iPhone browser rotating images on site?

I am experiencing an odd occurance on a site I'm building right now where images are displayed 90 degrees different from how they are supposed to, but while maintaining the normal dimensions of the ...
5
votes
2answers
6k views

How to mimic <pre> with <div>

I am publishing python code on some website that is CMS. I have a python script that reads any python script and makes a syntax-colored HTML out of it. Then I copy/paste this HTML into the CMS editing ...
2
votes
2answers
100 views

CSS spaces, top element or bottom element? [closed]

Whenever I format a website according to a PSD file, I always wonder if the space should be from the top element or the bottom one. So if I have 2 elements that are seperated by some space, I ...
2
votes
2answers
246 views

Online Code Editor + File Hosting

I've been searching all over the Internet and am having trouble finding the following: An online code editor (with syntax highlighting, line numbers, etc.) that allows you to save the file in the ...
3
votes
2answers
176 views

is it a good seo practice to put relative keywords in a hidden div? [duplicate]

Possible Duplicate: hidden texts and page rank I was wondering what would happen if we put some (around 25) relative keywords in the page using a hidden div so that the actual user does not ...
2
votes
6answers
115 views

Any tool for image to CSS?

I have an image (not gradient) color, I tried to identify the color code but not possible. Is there any tool to convert image to css or css color code?
1
vote
4answers
783 views

Where can I find a simple open source css template?

I'm a programmer, and have a solid understanding of XHTML, and back-end programming, but I have the design ability of a warthog (a particularly untalented warthog at that). Has anyone created some ...
1
vote
5answers
850 views

Book recommend: Start learning web design with css with basic HTML knowledge

I've already known some HTML, tables, link, image,...etc but just at a basic level. Now I want to learn how to build a layout for a website and design also. I want to start building a layout right a ...
0
votes
1answer
137 views

Comments section being indented by mysterious CSS

I use Disqus comments plugin for Wordpress, and the comments section is indented to the right like a blockquote is. The code appearing in the front end post is: <div id="disqus_thread"> ...
10
votes
2answers
190 views

Automated Website Testing/Sanity/Quality

I am thinking about building a tool that starts from the root of a webpage and traverses the entire website gathering a list of resources such as CSS/HTML/Javascript files and then runs CSS/Javascript ...
10
votes
5answers
6k views

is 'bookman old style' web safe

Is 'Bookman Old Style' web safe? If not, is there something that looks similar which is web safer?
5
votes
1answer
5k views

Format numbers with css

Is it possible to format numbers using css ? When I have 7000000.00, I would like it displayed as 7 000 000.00 I know I could write a backend (php, perl...) function or a javascript function that ...
0
votes
2answers
81 views

Mac font on website on PC

I like how fonts look on a Mac. Is it possible to render something similar in a website and have it work on all operating systems and browsers? I'm aware of font-face but I can't seem to find a clean ...
2
votes
1answer
286 views

Why my site automatically scroll down?

Every time when I open the site it to scroll down. About 1500 pixels down. The most interesting - I have not changed anything and before this problem was not. MODx Evo 1.0.5 ...