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)

2
votes
4answers
96 views

Splitting big CSS file into parts for quicker loading

So I have a relatively big CSS file. I thought about doing the following, splitting it to 3 parts: 1st part will have the main selectors that are needed to run on the main page that gets the biggest ...
2
votes
2answers
219 views

Is LESS ready for use in a production site?

I'm considering using the Twitter Bootstrap HTML/CSS templates which use Less (a sort of scripting language for CSS) I've never used it so I was wondering if it's ready for "prime time".
2
votes
2answers
281 views

Use of rare fonts on the web

I have just been peeking at the source code of a web page. I notice that there is a CSS rule that defines what seems to be a rare font for some nice-looking subheadings. Html (Source file) ...
2
votes
3answers
352 views

Website has “lagging” effect. Causes? Tips and tricks to fix?

So I have this site here which has major performance issues. Scrolling is very slow, hover effects have a bit of lag and other similar issue. Unfortunately right now I am working off a cheap host so I ...
2
votes
1answer
128 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 ...
2
votes
3answers
760 views

CSS sprite, what html tag to use

I am thinking to switch to CSS Sprite for my images. The main problem is I need something compatible with alt attribute. (Seo-purpouse) What Can I use? The first think I thought was to use a standard ...
2
votes
4answers
121 views

File Specific CSS. Inside HTML doc or as a seperate file?

What is the preferred method for organizing CSS that is only used by a single HTML page. Should I put the CSS in: a section in the HTML doc? a CSS file associated with the HTML doc? eg: ...
2
votes
2answers
101 views

Since when is layering possible in Websites?

I'm asking because I remember a time when it wasn't possible to create a div box on another one, and I was wondering when was it introduced. It's probably a matter of CSS version, isn't it?
2
votes
2answers
323 views

Personal Web Page

I recently got a domain and am considering hosting a personal web page. I did some research and narrowed my options down to either Google AppEngine or GitHub pages to host my website. The website is ...
2
votes
2answers
900 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 ...
2
votes
2answers
376 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 ...
2
votes
2answers
102 views

Clearing floats? Or something else?

I'm working on this website for my dad: http://smartcampusdeals.com/TendonAiD/index3.html and the three columns (with the stick cartoony people) extend past the container. Right now, I have the ...
2
votes
1answer
125 views

How can I get this effect (lines in an input)?

How can I get this effect (lines in an input)?
2
votes
2answers
501 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
277 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 ...
2
votes
4answers
473 views

Should I jump straight into HTML 5 and CSS 3 from minimum knowledge of HTML?

I first learned HTML a long time ago, from the Visual Quickstart guide in 1999, HTML 4 for the World Wide Web. Though I have a grasp of fundamental concepts of HTML, my knowledge of CSS is woefully ...
2
votes
4answers
3k views

Good free CSS Sprite for icons

I am working on a small project where I need some of the basic icons: edit, favorite, delete. You know them. Now i can download them all seperate, and put them together in a sprite, but I was ...
2
votes
1answer
213 views

How does font-size work in CSS

Could you please explain me or send me a link where is explained how does CSS property font-size work?When you're working with relatives sizes in %. It's the percent of what? What are best practices ...
2
votes
6answers
16k views

How to make background image black and white?

Are there any filters that would make background image black-and-white? I have an image set as the background image using css, but now I need to apply a filter so that an image is shown in black and ...
2
votes
2answers
5k views

How to show a preview thumbnail on Facebook of a imageless website?

I have recently designed a website with no img tags, only one big fat CSS sprite with everything in it. Though, when I try to publish that website on Facebook, it won't show a preview thumbnail — ...
2
votes
2answers
1k views

Top and bottom gradient using CSS

I have a background that has a top and bottom gradient and I want it to show on a container layer. The problem is the bottom gradient since it has to appear at the very end of the container div. Any ...
2
votes
3answers
108 views

Is it possible to make all html links to share the same title?

The thing is I have a table containing ~2000 rows where each row contain a link that has the same title e.g. <a id="1" title="A very long string common to all my links that i would like to have ...
2
votes
2answers
101 views

How and where to place - css, html and images in email to make it a HTML email? [closed]

How and where to place - css, html and images in email to make it a HTML email? I have seen many advertising emails in my inbox and I am curious to know how does the email body display the HTML.
2
votes
4answers
250 views

Flipping text is good for SEO?

My client's name company has a flipped letter on its name, so for example "PEOPLE" the P is flipped, I managed to flip the P with 2 span tags, but now I am thinking to do this for SEO reasons is not ...
2
votes
1answer
1k 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
4answers
130 views

How to tune up colors in web page

Could you advise me some techniques and tools that you use to tune up colors in a web site? The website has background and there are some images with logos. If I change the background I need to change ...
2
votes
2answers
61 views

Is there any downside to using <embed> with Flash content?

I've recently learned that HTML5 now officially supports the <embed> tag. With that in mind, is there any reason not to just use it to embed Flash content into HTML5? Would there be any browser ...
2
votes
1answer
119 views

How is style of tags at math.stackexchange done?

I like the style of tags at math.stackexchange.com. In fact, I'd like to create something similar and I was wondering how are they styled. First of all, I've launched Firebug and was trying to ...
2
votes
4answers
283 views

SEO HTML for plain html css website

This isn't really a programming question, but I couldn't think of a place where people can better answer my question then here. I allways had a joomla website, for me it's good, but it's not very ...
2
votes
2answers
192 views

How to use CSS to get 5 buttons aligned like this [closed]

I'm struggling to get a design like I put in this image in CSS. I'm using wordpress, and my theme just adds a full image to the top, I would like to make the most of space. ...
2
votes
2answers
439 views

Does Google host all the jQuery UI themes?

I have seen the base theme http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.3/themes/base/jquery-ui.css Are the other themes found in the gallery also hosted (Darkness, Smoothness, etc.)? If so, ...
2
votes
1answer
85 views

Will using same colour H1 as background hurt SEO if I use background image?

Can it hurt SEO if H1 headings are the same colour as the standard body background colour, even if all H1 headings are placed in divs that have a contrasting background image? (So to be clear: the ...
2
votes
2answers
447 views

Responsive design best practice: Duplicate html elements for media querying and SEO impact?

I have a page with, in order of html appearance, a figure tag, headgroup tag, and an article tag. In order to make a page's design responsive using media queries, I need a different order for ...
2
votes
1answer
24 views

Apply CSS to a particular page element in Firefox

Is there a Firefox extension that will let me simply select a visible element on a page, get a CSS selector referring specifically to that element (as the Firefox Web Developer extension already ...
2
votes
1answer
874 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 ...
2
votes
1answer
108 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?
2
votes
1answer
256 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 ...
2
votes
2answers
245 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
2answers
181 views

Alter the appearance of form elements for Paypal buttons without having to edit the CSS from my theme

I have template from ThemeForest and I don't want to edit CSS from this template, because I don't have time for it. I want integrate Paypal buttons to my web page. The problem is Paypal buttons use ...
2
votes
3answers
482 views

How to get an image 100% in the middle of every single screen in the world

I have a website with some images, and I want them to be in the middle, now on my screen they are in the middle. Because I've put them there by moving them to one side, when I get my friends to look ...
2
votes
1answer
79 views

How do you use/make CSS based buttons?

'd like to have one image for the background and then reuse that for any size button with any text on it by just using a CSS class. So, I'd like to have the button, the moused-over and clicked button ...
2
votes
2answers
70 views

Which web design site discussed embedding single characters like & using base64?

I'm looking for a well known article site on site design which made an article about embedding just a single character (in this case, '&') from a font to save load times. I believe the site used ...
2
votes
1answer
113 views

Using @import in CSS files

OK, I get it, CSS files should be grouped to reduce HTTP requests. My question is whether the @import method does a good work? Also, can I somehow group print and screen stylesheets?
2
votes
3answers
149 views

Recommend me a CSS/JS compressor

There are scripts to compress CSS on-demand like these. Have you stumbled upon something similar for javascripts? Also, any recommendations regarding CSS and JS compression are more than welcome. ...
2
votes
2answers
186 views

How do I make a sprite full of different images (hover, non-hover, etc)?

I understand there are tools on the net to make a sprite, but I'd like to learn how to create icons for the different states of the icon. Is there an easy way to make all these different variations ...
2
votes
1answer
95 views

Guidelines for Opera Mobile

Opera Mobile fails to render two sites I help out with correctly and I cannot find the guidelines for Opera Mobile. All other browsers tested (even Opera for the Wii) show these sites correctly. ...
2
votes
1answer
82 views

Can Google see CSS transitions?

I heard that Google "rewards" you for styling the links differenty from other text that are not ought to be clicked. It makes sense I guess. But what if my links are black, like the rest of the page, ...
2
votes
2answers
175 views

Print friendly version best practice

I am currently recoding a website from tables to modern html/css and have several 100 pages to go over. The problem is, each page has its own print version in another file, also with tables. Would ...
2
votes
1answer
315 views

Reduce HTTP Requests method for js and css

Is these way can Reduce HTTP Requests? multiple javascript files with & symbol <script type="text/javascript" ...
2
votes
1answer
510 views

Responsive CSS grid having capability to change column order visually

Trying to find a responsive CSS grid with the capability to change column order visually. E.g., I have content before navigation, but visually it should be vise versa: left navigation, right content. ...