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)

0
votes
0answers
14 views

SEO for Backlinks Using JavaScript on a Third-Party site [duplicate]

We are currently implementing a widget that companies can put on their website. We give the publisher a script tag with the source pointing to a javascript file hosted on a CDN with the code they need ...
3
votes
1answer
412 views

Hiding Menu Item with CSS - will Google penalise my site?

I want to hide some sub menu items, using the CSS class, and assign it to the specific menu item. For example the class is no display: /* Hide menu items */ .nodisplay { display:none !important; } ...
5
votes
1answer
62 views

Which browsers do not support user-defined tags?

I recently added HTML5 <nav> and <footer> elements to a page, thinking that HTML5-capable browsers would use them for semantic things like navigation, while older browsers would see them ...
4
votes
0answers
12k views

What is a good default font family for any IE8/9, Chrome & Firefox? [closed]

I have users complaining that fonts are not clear on some browseres (especially displaying data in grids...I'm using Trebuchet MS per default of asp.netmvc3 css site styles) Q: What is a good overall ...
5
votes
3answers
5k views

Numbered list with subclauses

I'm trying to create a legal document with decimal numbered subclauses, then alpha and roman subsub and subsubsub clauses. (whew!) `1. MAIN HEADING 1.1 This is an example of a sub-clause and you can ...
13
votes
4answers
2k views

Are CSS sprites bad for SEO?

Nowadays often what was accomplished with an <img> tag is now done with something like a <div> with a CSS background image set using a CSS 'sprite' and an offset. I was wondering what ...
1
vote
1answer
82 views

CSS Display Table, any SEO implications?

I want to use CSS display table in place of JS for vertical-alignment and equal heights of HTML elements, however I'm not sure if there are any SEO implications of this, will crawlers try and ...
0
votes
1answer
88 views

When creating DOM elements with JQuery is it better practice to style them with JQuery or in the stylesheet [closed]

I am working on a code base and am using JQuery to add DOM elements.I want to know if it is considered better practice to style them with JQuery or just create them with JQuery then go to the style ...
0
votes
1answer
25 views

Changed an unordered list from images links to CSS background text links - uncached versions are showing broken

We had unordered list for social media icons that had ahrefed images. We swapped them out for text links that used CSS background images. If a user just loads the page, they'll get the old version. ...
5
votes
4answers
2k views

SEO and browser compatibility differences for headings <H1> though <H9>

We all know the importance and significance of Headings for Professional Webmasters. These were known for professional developers as: <h1>Heading 1</h1>, and H2 through H6. As a daring ...
2
votes
2answers
194 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 ...
1
vote
1answer
315 views

issue with wordpress theme background on widescreen computers [closed]

I am using the theme "irresistible" and I wanted to a add a picture of the person for whom I am building the site. Normally the background CSS uses repeat, but I don't want their picture to repeat i ...
6
votes
6answers
2k views

How to find the exact font used by the browser

I have used the CSS style sheet as font-family:arial,helvicta,sans-serif. When I checked it in browser, I don't know which font it is using from the font-family. I want to know the exact font used ...
3
votes
0answers
51 views

What is this modern look called and what is the template used for it? [closed]

I haven't been paying attention to modern websites for a while, but in the few years or so a bunch of websites with the same, very smooth, very sleek presentation format have appeared. Some examples: ...
0
votes
0answers
65 views

How to load the WordPress themes correctly in my local host?

I have a new customer that has send me a WordPress project. So to install the project it in my local machine, I have created a virtual host like the one below in my machine. So I can access like this ...
2
votes
1answer
111 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 ...
16
votes
6answers
10k 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
4answers
113 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 ...
1
vote
2answers
866 views

Applying a CSS style to drop-down list

I have a PHP function to display all my custom taxonomies in a drop-down list, but I don't like the drop down menu style. I want to change the look of it. How can I customize its look?
11
votes
1answer
789 views

Refactoring large/old CSS files

I'm currently working on a 100,000 page website, the current design has been in place for over 5 years and successive updates have resulted in four 12,000+ line CSS files. Obviously the CSS has ...
1
vote
1answer
142 views

How to style a div on the home page like a blog post [closed]

I have a theme. Because I don't have a static home page, a list of my latest posts is my home page. I want to add a drop-down box which I have coded on my starting home page which should remain ...
1
vote
0answers
335 views

Vertically center h1 in div [closed]

I know there are various solutions posted for this issue here, but for the life of me I can't get any of them to work. For a responsive website I'm trying to center an h1 text in a div. Centering ...
1
vote
2answers
124 views

How to show only disqus thread-votes and nothing else

I want to show just the thread vote portion of the whole disqus commenting system. How would I go about doing it? Here is an example of what I am asking for: http://i.stack.imgur.com/7FvYO.png could ...
1
vote
1answer
148 views

Using a CDN for CMS software (multiple sites)

I'm currently researching ideas for the media management side of a CMS I'm writing. I was looking at having images served from a CDN which is fine on a single site, but I want all sites that run the ...
4
votes
1answer
271 views

What is the correct way to code incoming links for SEO?

Our site is giving out 'badges' to our authors. They can post these on their personal blogs and they will serve as incoming links to our site. We want to give out the best possible code for SEO ...
2
votes
2answers
976 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 ...
4
votes
1answer
400 views

Is it necessary to specify content-type in http response header?

Except for the html document, currently all the files (css, javascript and images) served from my web server do not specify the content-type in the http response header. I happen to notice this as I ...
1
vote
2answers
63 views

The actual difference between styesheet in the header and a seperate file

I have always been taught to have all of the CSS in a separate file that is referenced from the head of the page. Reading this article, the author is talking about making the Guardian website ...
4
votes
2answers
2k views

If I override <STRONG> in CSS, does it retain any style elements?

If I override the HTML tag <STRONG> in CSS by specifying a different font weight and size, does it retain any other style settings or properties? strong { font-weight:700; font-size: ...
11
votes
6answers
1k views

How can I encourage the browser to download images from CSS file faster?

I use CSS to place a lot of my images (as backgrounds for <div>) and I often find that they load very slowly this way. They seem to be the last thing to load. Even small little icon images ...
18
votes
5answers
2k views

Remembering CSS left, top, right, bottom

When using CSS what little tricks have you done to remember (perhaps a saying?) the order of left, top, right, bottom when defining combined CSS attributes such as border, margin and padding. I'm ...
2
votes
3answers
524 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 ...
1
vote
1answer
105 views

The Joomla 'create a template' tutorial

I've recently downloaded Joomla using an instant download option, and now I'm looking to create my own templates. I went to http://www.siteground.com/tutorials/joomla15/joomla_create_template.htm and ...
0
votes
2answers
80 views

Trouble with my website and IE7

Sorry I'm new here but I have a serious problem: I changed the CSS style sheet for IE7 for my site, but now when using IE7 it has no graphics and all of the scripts code is printed. I have tried ...
3
votes
4answers
958 views

Using CSS sprites and hidden text - effect on SEO?

I am using CSS sprites for buttons on my website, They are used for stop/play/download etc. If I'm using for example an <i class="preview">preview "track name"</i> play button with the ...
3
votes
2answers
170 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 ...
1
vote
1answer
173 views

Images randomly not showing up

I just uploaded a website for a client which looked good while previewing locally. When I visit it on the server though some images aren't loading properly. It seems to be quite random, and sometimes ...
3
votes
3answers
964 views

How can you identify duplicate CSS rules?

I'm not talking about used/unused here. I have two stylesheets and some rules differ (either in selectors, rules or both) and some are exactly the same. So I'm looking for a way to extract and move ...
6
votes
2answers
597 views

Including specific characters with Google Web Fonts

I'm using the Open Sans web font from Google Web Fonts on my website. I only need the basic latin subset, but I do use the Psi (Ψ) character quite often as well and I would like to use the Open Sans ...
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 ...
3
votes
1answer
451 views

How to check if linked JavaScript and CSS files are being used?

I've inherited a website that seems to import every JS and CSS framework my predecessor could think of. Is there an easy way to analyze the site and determine which ones are actually being used? Or ...
0
votes
1answer
73 views

What HTML and CSS markup is best for SEO for a list of questions (like on Stack Exchange sites)

On the StackOverflow a question block (in the q-list on the index page and so on) represented by the following html code: <div class="question-summary narrow tagged-interesting" ...
7
votes
3answers
679 views

How does client side XML+XSLT affect SEO?

I have a site that is built completely in XML and is transformed by a single XSL file. How does this affect SEO? Is it possible to store page-specific metadata? Will robots see the transformed page ...
0
votes
1answer
499 views

Fixing Google Chrome text antialias for .ttf fonts

I have found a topic which presents a solution on how to get antialising working in Google Chrome - Windows, but they use .svg format. I have a .ttf format and I import all of my fonts like this at ...
0
votes
0answers
34 views

CSS Issue in WordPress site [closed]

I want to close the gap between the image and the excerpt text on the following page: Kindly advise how to achieve this. Thanks in advance. Sunil
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 ...
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 ...
0
votes
2answers
416 views

Exactly what is Google's PageSpeed Service recommending and how to optimize CSS?

Looking at my webmaster tools, Google kindly recommended that I could further increase the performance of some of my sites and to look at the recommendations provided by their PageSpeed service. So I ...
21
votes
10answers
1k views

What is new in HTML5/CSS3?

I've seen this site and this site, but that's a lot to digest. What are the main things about HTML5 that make it different/better than regular old (X)HTML/CSS?
0
votes
1answer
67 views

Is possible create a Microblogging Service in HTML and CSS? [closed]

Is possible create a simple Microblogging Service in HTML and CSS with Login similar to Hatena Haiku? PS: is possible to host in Google Drive?