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
3 views

Animating Text to Appear as Div Transforms [migrated]

Long time reader first time poster. So in my site (here's the codepen version) I'm trying to make it so that when the user hovers over a div it transitions and the background changes, the width ...
-2
votes
0answers
19 views

Ive tried everything to get the whitespace under my footer removed, what havnt i tried?heres the code [on hold]

body{ background-color:#ebebeb; height:1317px; } #main_container{ width:980px; margin:0 auto; position:relative; bottom: 52px; height:685px; margin-bottom:0px; margin-bottom:0px; } ...
0
votes
0answers
10 views

css responsive table, trying to get header *above* the column [migrated]

we have a table like below. I am trying to make this responsive using some tricks found here. The result now is that I see the following on an iPhone: header1 header2 etc col1 col2 etc When I was ...
0
votes
1answer
19 views

div positioning: dynamic height outer div, fixed + dynamic height inner div [closed]

I'm trying to realize a status monitor, I need to display n servers and theirs services' status. Here's the structure I created. HTML <h1>Monitor</h1> <div class="container"> ...
1
vote
2answers
30 views

website Font Embedding, which way would be the best for cross browser capability?

Sometimes clients of mine request a specific font to be used in their website. I try and embed it using CSS @font face, but It is not very cross browser friendly. Sometimes I use Google fonts but they ...
0
votes
1answer
13 views

hide text between normal text without bad effect on search engine [duplicate]

I need put some hidden text between my normal text. I do it like this: <p> some text <span class="hide"> hidden text </span> some text </p> .hide{display:none} But I ...
18
votes
4answers
10k views

Is there a way to compile LESS files to CSS (so that every browser doesn't have to)?

I'm considering using LESS but I cringe at the thought of a browser having JavaScript disabled and my CSS not being readable (and the site looking awful). Also, it offends the engineer in me to force ...
3
votes
2answers
66 views

Internal server error when using base64 encoded icon on the home page

I have an "index.html" (or .php - it makes no difference) file in the root / of my hosting space. That "index.html" file has this line of code in it: <link rel="icon" ...
1
vote
2answers
133 views

How do I Add Expires headers for CSS file with ?ver=4.1

I'm optimizing my website with Gtmetrix and in Add Expires headers section it shows the below error- There are 49 static components without a far-future expiration date. ...
0
votes
0answers
6 views

Bootstrap Inline form in a <li> element [migrated]

I'm trying to align a simple form inside of a li element: <ul> <li> <span>list item text</span> <form class="inline-form"> <button ...
1
vote
1answer
32 views

Is there a single set of Media queries for all the devices? [closed]

I am using different media queries for each type of resolution, is there a better way of doing this?
1
vote
1answer
26 views

Translating the content of a web based off-line tutorial

I'm trying to translate a tutorial of a software. The tutorial is all in HTML, with CSS and some javascript. I'm noob in web development, so I'm a little lost. The problem is: I found the source-code ...
0
votes
0answers
2 views

To put things inline (containers and such) [migrated]

I am learning to bear with me. I want to have 3 separate blocks within a container, and through css have them inlined, for example the html (rough idea) <div class="content-container"> ...
11
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. ...
2
votes
2answers
123 views

Two duplicated <h1> tags and one hidden

Is that bad for SEO? <h1 class="responsive-hidden">This is my title</h1> <h1 class="hidden responsive-show">This is my title</h1>
1
vote
2answers
1k views

How to change the background color of searchbox for Google CSE?

How can I change the background color for search box of google custom search? It is white by default, I want to set it to gray, so that it looks like this example. The V1 CSS code for the search ...
0
votes
1answer
25 views

What is the difference between Flat Style design and a Metro UI? [closed]

When I look at the two they look the same, only there's not that many named "Metro." Is three a difference other than the name that Microsoft came up with?
0
votes
2answers
18 views

Graphic-only header - CSS and readability/SEO

I know it's not ideal, but if there's a 100% bitmap graphic header (with a text title rendered in the bitmap), the old way of making sure that there was a text counterpart to the graphic was to offset ...
0
votes
0answers
55 views

Blogger Edit HTML Not Saving Changes

I backed up my Blogger template before trying to make any changes, uploaded a new template, and then saw that the posts got screwed up. No longer were they showing up with "read more", so I tried to ...
0
votes
1answer
45 views

How to link to Avatar image in BlueSpice MediaWiki of fixed size?

The BlueSpice MediaWiki adds a profile picture that a user can set for themselves or take an automatically generated one. These images are visible on pages to see who has edited or viewed a page ...
7
votes
2answers
147 views

Is it possible to make an XML sitemap pretty enough to show to users?

I wouldn't mind showing my XML sitemap to users if there were a way to make it human usable as opposed to just machine readable. Is it possible to: Choose the colors and layout Make the locations ...
0
votes
1answer
19 views

Images are blurry in one category and not the other [closed]

You can see what I mean if you check out the site: http://healthitlink-e8865038.cloudapp.net All the images in the Apple/iOS category are blurry but if you click over to page 5 you'll see the ...
1
vote
0answers
44 views

CSS Above or Below Body for Speed? [closed]

I just have a genuine question, should I put any CSS above or below the body tag (maybe for Javascript too?), and what are the pro's and con's of each method? and what's the (dis)advantages of using a ...
0
votes
2answers
50 views

Why isn't the HTML break tag acceptable anymore for top and bottom margins?

I'm starting to think I'm making less with adsense now because of insufficient margins. I tried with CSS margins with using the margin and padding properties of applicable elements, but then I noticed ...
0
votes
0answers
30 views

Does Div Class Or ID Name Affect in SEO Result? [duplicate]

I've been reading some comments around the Web about HTML classes/IDs improving website's SEO. Which made me wonder and also lead me to the question: Does it make any difference giving random ...
1
vote
1answer
32 views

Is Image Spriting for Articles Images a good solution?

I am starting an online portal and I calculated that I need about 102 Images (based on the amount of articles), the problem is I want to keep the whole page below 800KB (Including all assets). I want ...
11
votes
8answers
3k views

CSS style viewer/tester

Is there a site out there that has a bunch of typical HTML for seeing what the CSS looks like once applied? I mean, something full of table, a, div, span, p, whatever. You go there, paste in your ...
37
votes
6answers
4k views

Why aren't we supposed to use <table> in a design?

What are some clear and logical reasons for why we shouldn't be designing websites with tables? Where are the benefits, what has been driving this idea in the industry? When is it okay to use a table? ...
3
votes
5answers
518 views

How can I determine the background color of a site?

How can I determine the background color of a site (so I can use that color in Photoshop)? I looked at the source code, but I don't know code well enough to figure out what's what...
4
votes
1answer
667 views

Using display:none legitimately. Still a SEO risk?

My webpage has a certain text on the footer, about 2 paragraphs. However, it is only relevant to pages and not posts. I would like to hide it on posts. If i do this using CSS display:none will I get ...
1
vote
1answer
39 views

How do you get CodePen to display the results? [closed]

I created a CodePen to compare it with jsfiddle. I added the html and the css. But...what now? How do I get it to show the results? In jsfiddle you select "Run" and, when satisfied, "Update". But ...
0
votes
0answers
17 views

A CMS for a beginner developer [duplicate]

I am a beginner developer who knows HTML, CSS and lately have entered in web development world with learning some beginning php scripts. I just want to know is there a clean CMS that allows me to ...
0
votes
1answer
21 views

Does putting everything in one SASS file violate the style guides?

I'm not a fan of having a lot of files in my project. I use vim and it's a lot easier to have all my stuff in one place rather than jumping between files. However as I understand, it is preferred to ...
1
vote
2answers
68 views

How does copying website pages and content but changing CSS affect SEO?

I have a media site that has thin content, I'd like to copy the pages to various domains I own. On the sites that will be receiving the duplicate content the CSS will be changed in various ways from ...
3
votes
3answers
3k 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 ...
2
votes
3answers
113 views

How do I enable compression to reduce the file transfer size on GoDaddy?

I have hosted one of my website on godaddy.com. How do I enable compression to reduce the file transfer size? I need to compress the .css and .js files. I tried the following but it doesn't work : ...
3
votes
5answers
2k views

Alt text vs CSS sprites (SEO vs speed)

I'm reworking our site to reduce HTTP requests and blocking requests by concatenating JS, css, gzipping, loading all JS via LABjs and using CSS sprites for images that were loaded individually via ...
14
votes
4answers
3k 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
4answers
826 views

Where can I find a simple open source css template? [closed]

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 ...
3
votes
1answer
80 views

How can I customize the Apache licence for my template design?

I have a template with the following license: /*! * name of original creator - name of theme (originalcreator.com) * Code licensed under the Apache License v2.0. * For details, see ...
0
votes
0answers
13 views

Will css validation failure will affect the Search? [duplicate]

My website has many CSS Validation error, now my concern is: will it affect my website in search? Will it affect the visibility of users? Google will index my pages for pagerank? I am waiting for ...
0
votes
1answer
44 views

Google and display:none for multilanguage content

I know that there are a couple of question about the effect of using display:none on the Google ranking, but none of those answered my specific question, so hear me out please. I'm currently working ...
-2
votes
2answers
162 views

Hiding H1 from user but making it visible to search engines? [duplicate]

I have h1 tag in a page. I do not want to display it to user but want to make sure that its content will be used for SEO. What is recommended way of achieving it these days. I can think of: in css: ...
1
vote
1answer
44 views

Issue linking Code Prettify alternate CSS file

I have installed the full Google Code Prettify prettify-4-Mar-2013.tar.bz2 found here and hosting my own JavaScript/CSS works fine with the templates provided: <head> <title>Google ...
1
vote
1answer
70 views

Why would the Better Wordpress Minify plugin cause alignment issues when activated?

I just installed the Better Wordpress Minify plugin to speed up a Wordpress site. The plugin is causing a couple very small alignment issues, but I can't seem to get the plugin settings adjusted to ...
2
votes
1answer
74 views

Google's cache is not using my custom font

When I check my site’s cache view on Google Search, I see Google does not use my custom font, it always replaces mine with Arial. Because of font widths, my whole design is changing. I have these ...
0
votes
1answer
32 views

Maximum size of inline css or when to use link tags with src to a css file

I read Googles Optimize CSS Delivery article but I still don't know how much I can put in an inline style block. Google recommends using inline css when the content is small and for big files they ...
1
vote
0answers
83 views

Atlassian Confluence batch.css blocked by CheckPoint R75 firewall

Our internal firewall is blocking Confluence's batch.css. The error message is: security scanner detected I know that batch.css is made from all other CSS files. I found that icons.css and ...
-1
votes
1answer
158 views

I am done with HTML and CSS. Now, what Web Development tools should I start with? [closed]

I am done with HTML and CSS. Now, what Web Development tools should I start with? Should I start with Adobe CS3, Adobe CS4 or Adobe CS5
1
vote
2answers
75 views

Should I learn html/css before php even for using database? [closed]

I have seen lots of questions about this topic and all of them were asking whether someone, who wants to use PHP for "building web pages", should learn HTML first, or not? Most of the answers said ...