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)

3
votes
2answers
1k views

Should I change from reset.css to normalize.css

I have been using css reset for quite a while now in different project, and I am quite pleased with it, always get good results. One thing that always bothered me was that I needed to overwrite a lot ...
1
vote
1answer
96 views

Where can I find out whether the price I've been quoted for a CSS template is competitive?

I want to get a template designed. A brand guidelines document already exists, and I've already created the HTML. I don't want any graphics or javascript, so basically there's little wiggle-room from ...
2
votes
2answers
205 views

Most CSS Grid frameworks use pixel as css units, why?

I started to develop my own webdesign using an grid framework 960 CSS Framework and also noticed that most of other famous css grid frameworks use 940/960px as maximum page width? Some of them have an ...
1
vote
2answers
152 views

Website Layout Design [duplicate]

Possible Duplicate: Any tool to sketch layout? We use Visio for UML Diagrams / Flow chart Diagrams. We are actually looking for a Software like Visio, on which we can design the structure ...
1
vote
2answers
75 views

Reducing the number of js or css files downloaded? [duplicate]

Possible Duplicate: Optimizing for load time VS staying organized I would like to speed up my website, and one of the ways YSlow! talks about is to reduce the number of files being ...
4
votes
3answers
2k views

Is there a Magento extension for combining/compressing javascript and css?

I thought Magento came with this feature out of the box but it doesn't appear to be working at all. I'm not sure if I haven't set it up properly, but right now I'm resorting to using cat and altering ...
5
votes
2answers
1k views

Can I use CSS to hide the tracking gif used by Google Analytics Mobile?

I am redesigning my mobile website which uses a 1x1px Google Analytics for Mobile Websites tracking gif. The old design displayed the image at the foot of the page, but my new design hides the gif ...
1
vote
4answers
302 views

From .psd to working HTML and CSS

I am not much of a designer. My strength lies in coding. That said, I'm often forced into the role of "The Man," responsible for all aspects of site creation. So, that said I'm wondering if the ...
0
votes
3answers
277 views

Symbol fonts using in page design

I wonder if it's safe to use font-face with special dingbats fonts. What are good dingbats that you can recommend to use this way? What are the tips and tricks? Thanks.
2
votes
1answer
245 views

How to fix page lag on load [closed]

I have a problem with my website, when you load the index page , the headers load fine but the main content appear with a delay between each photos. The error is only on the index because there is ...
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 ...
0
votes
2answers
164 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 ...
2
votes
1answer
1k 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' ...
1
vote
1answer
647 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
154 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
1k 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
154 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 ...
16
votes
1answer
6k 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
133 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
vote
2answers
731 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 ...
1
vote
2answers
358 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
196 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 ...
2
votes
2answers
621 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
116 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?
1
vote
1answer
277 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
573 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 ...
1
vote
2answers
332 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
419 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
1k 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 ...
8
votes
3answers
317 views

What font technique is being used here?

While I was attending this event (http://worldtour.fogcreek.com/) I noticed this page had custom fonts for the Address part in the top left corner (i.e "Fog Creek Software 55 Broadway Fl 55....") When ...
1
vote
1answer
404 views

CSS equal height divs with padding

I have been using this technique before to get equal column heights #page-wrap { overflow: hidden;} .page-left, .page-right{float: left; width: 435px; margin-bottom: -5000px; padding-bottom: 5000px; ...
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
124 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
84 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 ...
9
votes
2answers
11k 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 ...
10
votes
2answers
338 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 ...
3
votes
1answer
144 views

JS and CSS caching issue: possibly .htaccess related

I've been using the HTML5 Boilerplate for some web projects for a while now and have noticed the following issue cropping up on some sites. My CSS and JS files, when loaded by the browser, are being ...
2
votes
2answers
102 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
251 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 ...
2
votes
6answers
126 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?
0
votes
1answer
143 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"> ...
12
votes
4answers
8k 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
9k 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
83 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
319 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 ...
1
vote
3answers
139 views

Liquid Layout out of Proportion

I am using a liquid layout on my website, but when I view in in my browser I find that when I change the browser window size, the images are stretched out of proportion. Can anybody help?
0
votes
3answers
563 views

How can I make my website look better? [closed]

So I have a website currently under development.. let me just first say that the domain name is NOT the name of the website or going to have any relation to it.. http://pandafi.com/ This site is ...
1
vote
1answer
694 views

Custom font not displaying properly

I am trying to install a custom font on my site. The browser will load the font, but the display is not quite right. The character vertical positions/sizes seem to be off a tiny amounts. See examples ...