Cascading Style Sheets (CSS) is a language for specifying the layout and presentation in general of XML documents (in particular HTML).
2
votes
2answers
239 views
Are unused CSS rules so costly that they must be removed?
I have been reading various Web application optimizing articles and many of them suggest to remove unused CSS rules. Currently, I have a page which has jQueryUI css, Bootstrap CSS, Datatables CSS and ...
3
votes
1answer
177 views
Having a Starting Place for Coding a Site [closed]
This is more of preference question that I wanted to toss out to other developers to learn a bit more about others process when developing a site. Every time I start a site I feel I could save a lot ...
0
votes
0answers
14 views
Y Slow for colors? [migrated]
We're completely color illiterate on our team. Our internal site has a lot of black and white, but I've heard that too much contrast is bad. And people don't respond well to the look of our site.
...
29
votes
4answers
864 views
What's the right way to work with a graphic designer?
Recently, we worked with a graphic designer (arranged by the client) to provide the skin for a Django+Bootstrap application we had built. The designer provided a series of static images of the new ...
4
votes
2answers
172 views
Responsive Web Design vs. User-Agent Sniffing
The CSS3 media query feature has led to many interesting possibilities in terms of developing websites which adjust to many different screen sizes and devices.
However, in practice, I'm starting to ...
-4
votes
0answers
31 views
What is the tool he is using to select a rectangle on the browser? [closed]
I am looking at some CSS framework tutorial, and I got this video:
http://www.youtube.com/watch?v=KHLrEF9tHjw
at 2:42-2:48. It seems that a tool which is super useful, what is this tool? Thanks.
1
vote
4answers
175 views
Is XML, HTML/CSS, XSL analogous to Model, View, Controller?
For some time in personal projects I have been using XSL to convert my raw XML data into human-friendly HTML/CSS (in simple projects, I have no JavaScript, so let's leave that out of the equation for ...
4
votes
3answers
336 views
What is the best way to construct your CSS documents?
Normally I start a project working on a site, I'd do the basic html skeleton and then start tweaking the styles using CSS. Slowly I'd just add one CSS rule after another with no "organized structure" ...
-2
votes
1answer
150 views
Chess GUI in Javascript [closed]
Hi I am currently working on a chess application. I have written these applications before, but never added GUI to them.
This time I upped the level a bit, I am trying to make a Multiplayer Web ...
1
vote
1answer
186 views
Is there a name for CSS code smell that can be seen in class names like “float” or “white”?
I noticed some code in our projects using CSS class names such as red, black or float.
I want to provide some information for people so they know to avoid it.
Is there a common name for that code ...
0
votes
4answers
359 views
To use custom CSS/HTML template or write code from scratch for a web application back end
I just developed the front end of a unique application for which I coded all the HTML, CSS, jQuery, and JavaScript. Now I want to start developing the back-end or admin panel. What's the best option ...
2
votes
2answers
244 views
Client side web development, general question
I'm a novice web developer, mostly worked with ASP.NET. On the server side, everything is very well documented and whenever there is an error, you get an explanatory error message. But on the client ...
4
votes
1answer
156 views
Where did the html/css 'float' concept come from?
Pretty straightforward, was wondering what the inspiration or precedent for the CSS 'float' concept. I'm not familiar with any other graphic APIs or other layout DSLs that use this concept, but it's ...
1
vote
0answers
104 views
How to be very good at converting design to css [closed]
I've been working for so long in the web area, but mostly back-end. I can convert an algorithm into source code, but when facing task of converting a design/layout into css, it took me a very long ...
0
votes
1answer
120 views
Mobile-first implementation or desktop-first? [closed]
When working with CSS media queries, I am unsure of whether I should program in a mobile-first style, or a desktop-first style.
For example, let's say I'm given a design that consists of a set of ...
-3
votes
1answer
312 views
best way to learn HTML and CSS [closed]
I want to learn HTML and CSS in Nowruz holidays, what way do you suggest?
according to that I know about HTML a bit, is possible to learn HTML5 directly without full knowledge about HTML4?
thanks!
-1
votes
1answer
69 views
Better performance on web with big PNGs [closed]
I'm currently developing a web that is all made from images (an HTML version of a Flash web).
The client provided me with a big PSD which I had to export each layer as a PNG to keep transparencies. ...
-2
votes
4answers
539 views
Is there anything like a CSS Fiddle? [closed]
I'm trying to create the CSS design for a new web application. Usually what I do is write the code in Notepad++, then ALT+TAB to Firefox and refresh the page to see my changes. The problem is that ...
2
votes
4answers
332 views
Why Have People Started Deeming it Necessary to Separate JS hooks from CSS hooks in HTML?
Edit: Point of clarificatioon, IDs and classes as separate hooks is just one form of the applied idea in question which is to never use the same hooks for CSS as you do in JS. I've also seen people ...
1
vote
1answer
140 views
Why do we program each file separately and place them in separate folders and how do all these file come together?
I was wondering how the cover flow effect is coded. I used this link which gave me the code on how it all worked out : http://luwes.co/labs/js-cover-flow/. I am completely new to complex programs so ...
1
vote
4answers
139 views
Suggestions for CSS frameworks? [closed]
So I've started developing web sites and have learned HTML and CSS fundamentals. However, I often run in to WTF-moments concerning layout; what looks good in one browser may look strange in another ...
-3
votes
3answers
325 views
how easy is html/css? [closed]
many people say that html/css is something easy, it looks easy at first sight but when i worked on some projects i noticed that :
same value works differently depending on other properties and on ...
-1
votes
2answers
461 views
What are some interview questions I can expect for a technical evaluation? [closed]
I am 20 years old and I've been doing some web development work for about 2 years or so. I have an interview for a Junior Web Developer position and the company knows that but I'll still be going ...
0
votes
0answers
62 views
annoying “yo-yo”effect on sidebar [closed]
my sidebar at
http://ntm.at/r0sa is doing annoying yoyo-effects, you can see it especially when you click on "projects"...
has anyone an idea or firebug and can help me how to make the sidebar slower ...
5
votes
1answer
220 views
Copyright notice in CSS or XML files
I'm currently working on an open-source project. Currently, we put our copyright notice at the top of every Java source file.
I was wondering whether it was advisable or common practice to put ...
5
votes
3answers
148 views
CSS Classes for semantics vs. styles in general cases
The W3C spec on the class attribute says
There are no additional restrictions on the tokens authors can use in the class attribute, but authors are encouraged to use values that describe the ...
7
votes
1answer
465 views
Why doesn't CSS natively support variables and hierarchy?
I am new to UI development, but I feel very uncomfortable with how CSS works.
My use case is that I wanted to apply some specific styles inside a particular div on a page.
CSS attempt:
div.class1 ...
7
votes
3answers
3k views
Are there any advantages of sass over less?
I'm trying to do research on these css preprocessors.
Are there any advantages of using sass over less as a css preprocessor? Factors that i'm looking for include community size, software project ...
23
votes
8answers
5k views
Should I write HTML or CSS first?
There are a lot of analogies for HTML/CSS development; which can be a bit confuse for a beginner.
HTML = foundations/house
CSS = walls/blueprint/wallpaper
Is there any best practice here? ...
2
votes
0answers
102 views
Switching CSS to use asset pipeline in Rails?
I have a lot of legacy CSS files from what was a Rails 2.x app that got upgraded to Rails 3.2.8, and I want to switch over to using the Rails asset pipeline for stylesheets. The issue is, the CSS ...
8
votes
4answers
316 views
css - use universal '*' selector vs. html or body selector?
Applying styles to the body tag will be applied to the whole page, so
body { font-family: Verdana }
will be applied to the whole page. This could also be done with
* {font-family: Verdana}
...
1
vote
1answer
150 views
'Windows' in a browser using html/css/js [closed]
I'm about to make a html/css/js/jquery page and I want it to contain collapsible, movable boxes/divs. Each box will typically contain a table or a graph and the idea is that the user should be able to ...
1
vote
3answers
239 views
CSS vs codebehind, if I have to do part of the style in codebehind, should I do all of it there?
I'm working with ASP.Net and trying to style an ImageButton. I tried to do this via CSS only to discover that for some reason, .Net writes out an inline style setting the border width to 0 ...
2
votes
1answer
188 views
What is the most performant CSS property for transitioning an element?
I'm wondering whether there is a performance difference between using different CSS properties to translate an element. Some properties fit different situations differently.
You can translate an ...
5
votes
2answers
236 views
Using table-styled divs instead of tables
I was referred here from stackoverflow as my question was apparently too broad.
I'm working on a template, and I know using CSS is preferred over HTML tables for positioning... But, is it acceptable ...
1
vote
5answers
156 views
CSS naming guildlines with elements with multiple classes
Its seems like there are 2 ways someone can handle naming classes for elements that are designed to have multiple classes. One way would be:
<span class="btn btn-success"></span>
This ...
4
votes
1answer
165 views
Why is CSS3 doing animations?
Like what the title says, why are there animations in CSS3?
With basis from the "rule" of separation of concerns, HTML is the content, CSS is the style, and JavaScript is the interactive component. ...
5
votes
1answer
291 views
What is the proper way to create a cross-fade effect?
When creating an image slider, using a cross fade is one of more popular effects. Various sliders use differing techniques to create such an effect. Major techniques I've found so far are:
Method 1: ...
15
votes
7answers
2k views
ASP.NET Webforms developers and web designers: how to interact?
I'm an ASP.NET Webforms developer, and I face some problems when I deal with designers.
Designers always complain about the asp.net server controls. They'd rather just have an html file and create ...
1
vote
2answers
269 views
What is the impact of CSS Validation Failure?
I am developing a asp.net website. When I used the CSS property "word-wrap", VIsual Studio 2010 is showing a warning: Validation (CSS 2.1) 'word-wrap' is not a known CSS property name.
When I tested ...
4
votes
3answers
247 views
Multiple style sheets best practice
I currently am working on a project which has one large style sheet for about 20 pages. The style sheet contains some styles which are specific for certain pages. I'd like to break the style sheet up ...
2
votes
2answers
1k views
Less vs Stylus vs Sass [closed]
I'd like to start using a CSS pre-processor to cut down development time. Which one of these is the fastest from this perspective?
4
votes
1answer
130 views
Which CSS attributes should be in HTML and which in BODY? [closed]
I have the following:
html {
overflow-y: scroll;
}
body {
font-family: Georgia, "Times New Roman", serif;
font-size: 1.125em;
line-height: 1.5em;
margin: 0 auto;
max-width: 41em;
}
Which ...
5
votes
2answers
2k views
front end development test - html/css/jquery/javascript
We are continually revamping our front end developer test that we do in-house after a candidate has passed an online test. The online test has questions such as:
How does a for loop start?
What is ...
6
votes
3answers
246 views
Where can I learn about browser-specific quirks?
I am a professional iOS, Java and C# programmer. Now I want to build a website. The problem is I have already started building it and I am finding IE is not rendering it correctly. It is rendering ...
2
votes
2answers
121 views
Can display issues affect SEO?
Can website display issues on certain platforms affect a website's search rankings and potentially hinder any SEO efforts?
1
vote
3answers
396 views
Next step after creating mock-up screens
I have created some mockup screens for my app in HTML/CSS. I have 4 screens in total.
They contain no client-side coding i.e. Javascript or jQuery.
The screens themselves are quite bland at the ...
1
vote
2answers
1k views
Is it better to use multiple html pages or just change content on the same page using JavaScript?
Is it better to use multiple html pages and link them together with href or just change content on the same page using JavaScript? I am thinking of how to layout a page and I don't have a lot of ...
0
votes
1answer
145 views
Css design skills
I have seen this article: CSS3 Loading elements at HTML5 and CSS3 Tutorials pages.
How did someone made this calculations? what angle, how much space, how much rotation to give?
If I do it with ...
3
votes
3answers
361 views
Using “Context-based” CSS Class Names
This morning I found a note on my desk with some tips from a higher up developer who had been looking over some HTML/CSS I had put together.
One of his suggestions was for me to "stay away from ...


