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

How to properly specify font size and face in a classified Ads HTML template?

How to properly specify font size and face in a classified Ads HTML template without html, body and head tags (these tags will be cutted), when template will be put in iframe on page? The classifieds ...
19
votes
11answers
9k 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 ...
0
votes
0answers
5 views

Building a grid algorithm with fixed width and height [on hold]

I am trying to think of a way to make a grid of products that have aspect ration of 1:1.25(WxH) with screen fixed width and height of 1920:1080, I want to know how can I calculate the best width and ...
0
votes
0answers
5 views

CSS slideshow does not properly show images first time on website [migrated]

I am the webmaster of The Cast, a Dutch musical group. I did not develop the site, I just keep it updated. I only have just enough HTML knowledge to do this. Lately the slideshow on the front page has ...
0
votes
0answers
4 views

Have other elements observe the position of a fixed element [migrated]

I am trying to build a page with two tables. One table is a small "key" and I want it to always remain visible even after scrolling, which is required by the 2nd much larger table. I can accomplish ...
5
votes
4answers
8k views

What is the optimal folder structure for a web directory?

I've been doing web development for years, and I've always done a web structure similar to this: public_html/login.php public_html/css/login.css public_html/js/login.js public_html/img/logo.png ...
1
vote
1answer
58 views

When a mod_rewrite redirect is in place, do absent <img>s still cost more server time than present <img>s?

I have a series of webpages in which the <html> refers to: <img src="img1.png" [...] /> <img src="img2.png" [...] /> <img src="img3.png" [...] /> After I realised that ...
0
votes
0answers
22 views

(SEO)Should I use Wordpress as a website, or contain Wordpress in my website, or neither [duplicate]

I'm getting ready to release some software; However I was thinking that I could create a dev-blog going for the updates that I make etc.. The question came down to three different solutions: Write ...
0
votes
0answers
3 views

Difference between div~div and div:not(:first-of-type)? [migrated]

Is there a difference between div~div and div:not(first-of-type)? Aside from IE6 whatever errors, are there cases where they would do different things?
4
votes
1answer
33 views

How to override LESS colour variables without creating a new skin in MediaWiki?

I have a default MediaWiki install using the Vector skin. I would like to change the colours, but I want to keep maintenance to a minimum so I don't want to duplicate the skin (because I will have to ...
1
vote
1answer
37 views

Blogger's embedded CSS and JavaScript

I'm trying to host a blog on Blogger with a custom domain. It's all good except the annoyance of many workplaces blocking the Blogger website using web-filters, including mine. This is causing the ...
0
votes
0answers
8 views

How can I center my image in white space? [migrated]

How can I center my image in white space? I am using HTML, PHP or CSS. I am not sure of the best approach, but that is what I have involved so far. I only saw how to align an image within text on ...
1
vote
0answers
16 views

Does hiding some content with CSS hurt SEO when “Read more” is used to show the rest? [duplicate]

I have content that is hidden by these css height: 220px; overflow: hidden; which content height is problably about 1000px, so no display: none is used on the page. I hide it because below that are ...
0
votes
1answer
29 views

What is the name of this type of website? [closed]

I'm not sure what stack exchange site I am supposed to ask this question in, but I will ask it here anyways. This site has a particular style that I want to create on my own using HTML5, CSS3 and ...
11
votes
3answers
1k views

Robots.txt - CSS allow or disallow

Are CSS and templates allowed in robots.txt? Should it cause any problems? In Joomla, CSS and templates are disallowed in the robots.txt. Please help me find a solution to whether or not put ...
0
votes
0answers
13 views

Does display:none on images have SEO impact? [duplicate]

I am using wookmark.js in order to load a Masonry styled grid in my website. As they recommend, I am using display:none CSS property to hide images until loading (detected by imagesLoaded) and then ...
1
vote
0answers
61 views

ExpiresByType not working for PNG images when set in .htaccess for a WordPress site

In my website I have the expires headers settings reported below. When I use Google's PageSpeed Insights test I get the message: XYZ.png expire headers not set, which I'm getting for all the PNG files ...
1
vote
1answer
51 views

Can Google crawlers/googlebot read CSS content in before and after elements?

I have a div and I am placing some text in it via content in :before and :after. Can Google crawlers read this? Example: div:after { content: 'This is from CSS'; display:block; } Working ...
4
votes
1answer
80 views

How does “background: url(image.ext)” work from an SEO standpoint?

Forgive me if this has been asked, all I found was SEO: h1 with text vs. h1 with bg image and hidden text which wasn't the same question. Will search engines pick up and index (in their image ...
0
votes
1answer
16 views

CSS formatting output differs among Chrome, Firefox and Opera when viewed as source

This question relates to the way CSS looks when you view it as source in a web browser. I like to format the css for my website in such a way that you can scan the whole css file quickly and spend a ...
2
votes
2answers
101 views

How are hexadecimal color codes added together to produce a color in HTML?

I know that web colors use RGB color model in which red, green, and blue colors are ADDED together in various ways to reproduce a broad array of colors. Now, suppose I have a color: #800080 (which is ...
0
votes
2answers
47 views

Will inserting dummy hidden text via CSS for layout purposes harm SEO?

I have a website with a rather complicated input form, which can vary a lot (it has different fields depending on what the user has entered until now). When I was making the CSS, I noticed that there ...
8
votes
1answer
200 views

Improve web site performance via parallel CSS downloads?

I was optimizing the page load time of a website. One of the ways was by combining multiple HTTP requests for CSS into one combined HTTP request. But one of the reviewers asked an interesting ...
3
votes
1answer
83 views

Tips for developing a responsive website [closed]

I'm having problems trying to figure out a good workflow when designing a responsive website. I've tried a few approaches, nowadays what I'm doing is: Do all html and css work with the window ...
1
vote
0answers
80 views

Is it possible to blur the content under my navigation bar? [closed]

I need as clean code as I can get to get to an effect I have tried to achieve, to no avail: http://logandark.net/images/blur.png I am trying to ask the questions the best I can because I have been ...
1
vote
2answers
41 views

Position of the Tags and Content of Pages removing the CSS Style

Hi there guys at Pro Webmasters! Have a little question (Maybe for a newbie) ... So here it goes: When I choose to see a mobile page of my website with the "Web developer" Plug of Chrome I notice ...
40
votes
7answers
7k 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?
1
vote
1answer
93 views

As per SEO can we use 'CSS Ellipsis' to cut link title?

Few anchor URL are very big in my page, So can I use 'CSS Ellipsis' to hide/cut this? text-overflow: ellipsis; width: 200px; white-space: nowrap; overflow: hidden; Ex Name: Institute of ...
0
votes
0answers
11 views

Make Offscreen Sliding Content Without Hurting SEO [duplicate]

On my website I have content which is positioned off the screen, and then slides in when you click a button. For example, when you click the news button, content slides in with news. It didn't occur ...
0
votes
1answer
87 views

Changing CSS styling for static HTML site with only FTP access

A client has an older static HTML site which I would like to port over to WordPress, but I have been informed that this can be very time consuming re 50 pages. I have FTP access for various reasons ...
16
votes
4answers
9k 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 ...
0
votes
2answers
158 views

PSD to CSS Service [closed]

Does any one here recommend online services where I can have my PSD (or other image format) design sent and they give me the HTML+CSS of it? I saw a few of those on the internet, but I am looking for ...
0
votes
1answer
188 views

SEO-friendly Responsive Design, swap navigation UL for Select?

I am designing the menu for a web site, and I was hoping to find an SEO-Friendly way to implement the Responsive Design used here: Ask4Sam.net- Responsive Design Example As you can see, for large ...
13
votes
7answers
2k views

Should I split a large CSS media queries file into separate files for each screen size?

I am working on a responsive design website to deliver content for all screen sizes. I have media queries for 5 different "steps", and the CSS file is around 30 Kb. Would it be better to split this ...
33
votes
5answers
3k 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? ...
1
vote
5answers
984 views

Book recommend: Start learning web design with css with basic HTML knowledge

I've already known some HTML, tables, link, image,...etc but just at a basic level. Now I want to learn how to build a layout for a website and design also. I want to start building a layout right a ...
5
votes
3answers
147 views

How to make content load faster for mobile on a responsive design site?

So, I have a responsive design site. Studies say that for mobile devices we need to show a bit less content (graphics and such), and that we need to make sites load quicker for mobiles. If I set some ...
4
votes
7answers
511 views

What are the best ways to implement cross browser css? [closed]

What are the best ways to implement cross browser css? Rule: one approach for an answer.
4
votes
2answers
2k views

Does Google cache stylesheets?

Hey guys, we all know that Google caches the HTML of pages, but does it cache the corresponding CSS as well? I ask because a site I used to have and have since closed down is still in the cache and ...
5
votes
2answers
3k 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
0answers
11 views

Does Visibility:Hiden and Display:None Affect SEO [duplicate]

If I had some text that initially had the CSS property visiblity:hidden or display:none Would that effect how much the content is weighted by search engines? Could using one of those properties ...
1
vote
1answer
53 views

How does licensing affect my website?

I like to use prebuilt CSS/JS such as Foundation and PureCSS and I'm curious as to how I should go about displaying the licensing information, as well as how the license will affect the code that I ...
1
vote
2answers
36 views

Global UTF-encoding, the right way

I'm curious, as to what is the right way to have UTF-8 encoding on all web files All my files (incl. CSS and JS) are made and saved in UTF-8 encoding In PHP, I set the char-set on top of the main ...
1
vote
2answers
47 views

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

I saw lots of question about this topic and all of them were talking if someone want to use php for "building web pages", should learn html first or not. and most of them said yes, because most of ...
0
votes
0answers
3 views

Will I get penalised by google for overflow hidden? [duplicate]

I have 2 divs next to each other, div A and div B. Div A displays a whole wordpress post and div B displays about 15 excerpts of posts with the same tag. To get this looking nice I set the hight of ...
1
vote
1answer
43 views

How to edit thousands of html pages at once? [closed]

I need to edit thousands of pages for a website with dynamic content added manually by the owner throughout 3 years, it has thousands of pages and I'm sure there is a better way to edit them without ...
4
votes
2answers
181 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 ...
2
votes
1answer
337 views

Using <strong> for introductory paragraph to a post - a bad idea?

I have a news website and on most posts the first paragraph is in bold. Currently the authors are just using <strong> to bold the paragraph, would it be better from an SEO point of view to ...
1
vote
2answers
80 views

CSS color marked as invalid by code inspector

On this page, there is a "read more..." link towards the end of the page, enclosed in <span id="s-hpi"></span> There is CSS: #s-hpi { color: 0000FF; cursor: hand; } but Chrome code ...
0
votes
1answer
24 views

How do I generate this layout? [closed]

I want to create a template like the below image. The yellow block displays a transparent background colour over the top of the header block. How can I do this using HTML & CSS? Thanks.