CSS, short for Cascading Style Sheets, is a language used to control the presentation (including colors, layout, and fonts) of HTML and XHTML documents.
43
votes
5answers
8k views
How bad is it to use display: none in CSS?
I've heard many times that it's bad to use display: none for SEO reasons, as it could be an attempt to push in irrelevant popular keywords. A few questions:
Is that still received wisdom?
Does it ...
14
votes
8answers
3k views
Should I use HTML5 and/or CSS3 to build my website?
The new HTML5/CSS3 (Web8!) stuff sounds cool! Should I start using it now or stick with css/xhtml wait until more browsers can use it?
31
votes
5answers
2k 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?
...
2
votes
1answer
428 views
Are temporarily hidden elements bad for search-engine rankings?
I've been reading a lot of information saying that hidden elements are bad and that search engines penalize pages for using them. I started to get really worried about it when I realized that MOST of ...
12
votes
4answers
15k views
How do I set expiration headers for CSS, JS, and Images?
I have recently analysed my website with pagespeed addon on firebug. It suggested me to set expiration on CSS, JS and image files.
I am wondering how do i do this?
11
votes
1answer
526 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 sucessive updates have resulted in four 12,000+ line CSS files.
Obviously the CSS has ...
36
votes
7answers
5k views
Why should we use tags like p, span, hx tags when we can use CSS instead?
Why should we use tags like p, span, hx tags when we can use CSS instead? Is it important from an SEO point of view?
11
votes
3answers
4k views
How to pre-load images used only on hover?
I have a link that starts with one background image and then changes on hover to another. Both background images are set in the CSS. My browsers (any of them) don't seem to load the hover image ...
10
votes
2answers
284 views
How to identlfy unused css selectors and rules for css pages which cover multiple pages and are installed locally?
I'm looking for a tool which would be able to identify unused and/or duplicate css selectors and rules, with the following two restrictions:
The tool would have to be able to analyze css pages which ...
4
votes
1answer
250 views
How to overcome politics of the net (Google translate code refuses to work from a specific region)
According to the FAQ's I am not sure if my question is a ok to ask or will be closed or should I post it in the meta or even I would blame some one for downvoting it. However it is one that has been ...
2
votes
1answer
276 views
Collapsible menu and amount of links in a web page
One of my pages contain three levels of a collapsible menu (JS + CSS from mycssmenu.com). There are a dozen first level items displayed to users, each one with various second level items, and finally ...
2
votes
6answers
337 views
What are the best ways to implement cross browser css?
What are the best ways to implement cross browser css?
Rule: one approach for an answer.
1
vote
1answer
126 views
Adaptive websites - considered keyword stuffing by Googlebot?
I work on a SEO-dependent content website, and we are in the process of making our site adaptive/responsive. More technically, we are using CSS media queries to apply different CSS styles as the size ...
0
votes
1answer
191 views
image behind adsense
i want to have an image behind my google adsense
just like the below image
but when i tried the following css
L{
background: transparent url("http://www.triphp.com/images/adback.png") repeat-x ...
20
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?
15
votes
10answers
5k views
Are HTML tables bad for SEO?
A lot of designers discourage the use of tables but I have a layout where I'll use more div structure to achieve something made simple with a table..
Are tables bad for search engines?
edit: I will ...
8
votes
4answers
6k views
How do you save/export changes made in Firebug?
Using Firebug to edit CSS, how do I save/export changes made to the CSS?
TOOLS: Firefox, Firebug
MAJOR UPDATE: If you know of a way to lock the forward/back/refresh on a FireFox tab, please let me ...
2
votes
1answer
218 views
Automated image/css sprite generation from website DOM
I know there are plenty of online tools which let's you upload your images there and it generates the appropriate CSS/sprite(s) to be used with them on your page.
Is there any such website/tool ...
9
votes
3answers
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 ...
2
votes
2answers
131 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 ...
17
votes
4answers
944 views
Why insert static files ( css, images, js, ecc ) in a subdomain?
Why so many big and little sites inserts static files ( css, images, js, ecc ) in a subdomain like media.example.com or s2.static.example.com ?
What are the advantages ?
Why not just a directory ...
10
votes
3answers
1k views
Can CSS be copyrighted?
I know CSS on a website is protected under the website's copyright since it is considered part of the overall design. I also know that images used inCSS are copyrightable.
How about when CSS is used ...
9
votes
6answers
2k views
What's the best way to show a message for only IE 6 and IE 7?
What's the best way to show a text message for only IE 6 and IE 7 ?
Should I add a html tag to my webpages and normally hide it with css for all browsers except the above mentioned ?
And when I use ...
4
votes
2answers
918 views
Why is <strong> in Safari significantly bolder than other browsers?
I am just about to go live with a new website - and during cross browser testing i noticed that the bold fonts in safari are FAR bolder (horribly chunky) in Safari than in the other big 4.
The font ...
2
votes
2answers
535 views
tabs and seo issue
my customers are eager in showing news categorized in tabs and i recently developed it for them.
as my experience in web designing display:none is used widely in implementing tabs.
and as i know it is ...
2
votes
4answers
393 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 ...
1
vote
1answer
61 views
Tool or plugin required to show out in which html files a given css selectors is used [duplicate]
Possible Duplicate:
How to identlfy unused css selectors and rules for css pages which cover multiple pages and are installed locally?
I'm looking for a tool which is capable of indicating ...
1
vote
3answers
408 views
Can you make total height for a 3-div-sandwhich equal 100% if top & bottom divs are in pixels? [duplicate]
Possible Duplicate:
Any problems with DIVs inside a table cell?
Ok so I've got a header and a footer with absolute positioning and heights of 144px. The content div in the middle area needs ...
0
votes
0answers
1k views
Adding css class to a dynamically created row using java script [closed]
I have a jsp page in which rows of a table are added dynamically.
Here I am using a different java script than the one in my previous question.
Here I could add elements into table columns, but I ...
0
votes
1answer
133 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 ...
0
votes
1answer
253 views
Make content area appear on the right of the menu_bar [closed]
This is my css code, i would like to make the content_area come to the right of the menu_bar, at the moment it comes at the bottom of the menu_bar
body{
color:#000000;
font-family: arial, ...
