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
1answer
4 views

Div push other divs on hover

I am running Masonry and all my post container divs and I want the title and tags to appear when I hover over the post div. I am trying to display the title on top of the post and the tags to appear ...
0
votes
2answers
23 views

Dynamically load CSS

I'm using LESS for creating CSS and I'm considering using something like grunt-render on the server side in order to only load the CSS / JS that is needed for that page. My goal is to reduce overhead ...
0
votes
1answer
28 views

Why would layout differ on first-load of a webpage?

Not entirely sure I understand what's going on, but would appreciate some pointers or things to try. (In Chrome/Mac...) In an incognito window, try loading http://ireland.media.info - and look at ...
12
votes
5answers
2k views

Is it OK to use jQuery for responsive web design?

I have been tasked to update a site to make it responsive and appear correctly on smart phones. Unfortunately, the site in its current form isn't very easy to work with - I can't just change the CSS. ...
-1
votes
0answers
21 views

Social icons appear on top left of screen when loading [migrated]

I have a block of social icons on my website at the top right of the header, when the website is loading you can see the icons appear in the top left, but they move over to their correct position once ...
2
votes
1answer
112 views

Cropping images & SEO

So I have a page with a bunch of images with largely varying sizes. Also the layout of the page is such that the images are all in the shape of square tiles, so just resizing will cause distorted ...
3
votes
3answers
340 views

How to reuse font families in CSS for quicker CSS loading

Let's say I use different fonts on my page, let's say I use 3 different fonts in 10-20 different CSS rules and in each of them I must use the following and similar: font-family:"Lucida Sans Unicode", ...
1
vote
3answers
41 views

external CSS file or CSS added to head via code?

I am building a website that uses a custom CMS. I am seriously considering not using external style sheets and adding all of the required CSS to the head of the pages that as needed (using PHP and ...
0
votes
0answers
5 views

Image disappears when setting float to left [migrated]

I just got into HTML/CSS development and I'm trying to build my first WordPress Theme, but I'm having some issue's with the HTML and CSS. What I'm trying to accomplish is to have a header which ...
1
vote
2answers
27 views

Parts number and Google Site Search

I am using Google Site Search on our site and am looking for a way to get our parts number to show on the results page when searched. For example, if a user searches E23-457-123 or E45-65-322 or ...
2
votes
2answers
446 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 ...
6
votes
8answers
3k views

If CSS is getting better why do big-brands websites still use tables for layout?

Everybody is referring to how content should be separated from layout and I am one strong advocate of that architecture, I find it easy too to use CSS to layout, much much easier than tables, But ...
1
vote
1answer
30 views

Can I add microdata on generated content from CSS?

If I generate content with CSS can I still apply microdata to it in the HTML? Will Schema or RDFa accept an alt or title tag as a value. h1:after,h2:after,h3:after,h4:after,h5:after,h6:after ...
4
votes
1answer
2k views

Clearing cache with CloudFlare?

Is it possible to clear or avoid CloudFlare cache while doing development? I'm developing a site that has caching on several levels - WordPress supercache, the caching done by the browser, and ...
0
votes
1answer
35 views

Does CSS formatting of <h1>, <h2> tags have effect on search ranking? [duplicate]

I have a web page where I made some style into <h1>, <h2> tags, will it make some effect on my SEO ranking?
0
votes
1answer
134 views

Joomla theme only 1 page or module

Hi how can I theme only 1 page or module in joomla 1.5? And I don't mean change the css but change the php file, so I can choose to display the date above the title and not below. This should be very ...
1
vote
1answer
34 views

From SEO point of view is hiding H1 in this case bad for indexing?

I'm having to use a 3rd party CMS and I cannot change the contents of the h3 (or the h3 itself) I've not had too much dealing with "cufon" - presume its an old fashioned way of using a specific font. ...
1
vote
2answers
72 views

Google Page Speed's “above the fold” CSS tuning

Putting all 15kb CSS file inline on 100 pages of the site is not smart I think. How do I pick which CSS classes and IDs from CSS file to put inline (and leave other ones on external CSS file) to a ...
1
vote
2answers
54 views

Difference between “:” and “=” in HTML and CSS?

I am very new to HTML and CSS but while learning I ran into something that I was curious about. How come when you want to style or change font size etc. you use :. Example: style="color: red; ...
0
votes
0answers
13 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
308 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
54 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
11k 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 ...
12
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
62 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 ...
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 ...
0
votes
1answer
35 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
22 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
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 ...
1
vote
1answer
303 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
1k 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
49 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
52 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
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 ...
13
votes
6answers
9k 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
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 ...
1
vote
2answers
858 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
728 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
195 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
117 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
136 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
267 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
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 ...
4
votes
1answer
182 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
61 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: ...
10
votes
6answers
986 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 ...