We are building web applications and I'm a front-end developer. In my job, I often have questions about CSS architecture, what is the best way to organize CSS/HTML markup. Examples of these would be questions about SMACSS or other front-end architecture frameworks.   Is this topic appropriate for Stack Overflow?
631
There seems to be more than a few computer science/programming Stack Exchange networks (is that the correct term?). Stack Overflow, being the first, has by far the most users, questions, and answers.  What is the reasoning for creating the others, and are there clear guidelines for which kinds of questions should be posted? I can see a large amount of potential overflow, many cases of people not getting a good answer to their question, because the person who has the answer isn't browsing that particular network at the moment.  I understand that they were probably created for organizational purposes, but wouldn't it almost make more sense to just have them as categories under Stack Overflow, keep them separated but still connected, instead of making people have to create multiple 'account's, one for each network?  I am sure there was a very good reason to break them up, but as someone that is new to SE, it can be somewhat intimidating to decide which one to post in to ensure you get a good answer. For example, if I am a computer science student, my first instinct might to be to post in the computer science network, until I see that it literally has 1% of the users as the Stack Overflow network, which still seems to be for programming/computer science related questions.  So my second instinct would then to be to post it into the Stack&nbsp;Overflow site on the basis that I have a significantly higher chance of my question being seen and getting a good answer. Then I notice that there is also a 'programmers' network, and I don't even begin to know where that fits in. I, and I am assuming most people, will probably just post on Stack&nbsp;Overflow to be safe.  My question is, other than the short little description blurb of each one, is there a clear cut set of guidelines which what each network is intended for, what kinds of questions should go to each one, and is anything being done to encourage people to post in these newer, smaller (more specialized?) networks as opposed to just posting in big daddy Stack Overflow?  Now again, this is for computer science/programming/"why isn't this code doing what I want?" related questions, I am not saying that if I had a question about Linux or WordPress or something I would have the same confusion.
8221
Stack Overflow seems to be having some CSS issues right now. At first, it presented as CSS disappearing when refreshing in Firefox (though hitting Enter from the address bar seemed to restore it - I'm thinking that's a cache issue though). I loaded my blank Firefox profile and discovered CSS wasn't rendering on Stack Overflow at all (Meta seems fine; haven't checked other SE sites).  I've since checked the site in Chrome and Opera, and can repro in both.
88020
I have a content type that uses many cck fields, and I would like to theme the content type by grouping certain fields in "blocks" (not Drupal blocks but div blocks), preferably div tags, so that the fields aren't just displayed one after the other. I can edit the css of individual fields, but if I want a field to be in a div on the top right hand corner of my node types page, and then another group of fields to be along side it, and then another group of fields to fall underneath all of the other fields, that css could get messy and interfere with my themes main css. I'm not sure what to put in my template file, since all the fields just fall under "content."   I'm using Drupal 6, and a little new with php, but can do basic "print" and "if" conditions. Any help would be greatly appreciated! Thanks in advance!
97173
I am working on a Web application, and I was looking for a reasonable implementation for one of its backend services. I wanted to ask the community if they have done something similar and if so how does their implementation work?  This is a subjective and possibly open-ended question, hence Stack&nbsp;Overflow is not the right place to ask this question.  Is there a Stack&nbsp;Exchange community in which one can ask suchlike questions?
114342
I have a sketch that I want to put up on my website, and I also intend to write a short play at some point which I'd also want to make freely available.  I'm trying to work out the best way of representing this in HTML. I basically need two columns - one for the character speaking, and one for the text. Each speech obviously needs to line up with the speaker though. In other words, something like this:       Jeff        This sure is a nice website we've got now.      Joel        It certainly is. By the way, working at FogCreek rocks.      Jeff        Of course it does. Have you played Rock Band yet? It's                  a lot of fun.   (Well it's better than lorem ipsum...)  I know how I could do this with HTML tables (with one table row per speech) but that seems pretty ugly, and everyone certainly seems to be keen on using CSS to represent non-tabular data. I can't see how this really counts a tabular data - my use of "row" and "column" earlier was to do with the layout rather than the fundamental data.  So, any ideas? I think most of the script websites I've seen (not many, admittedly) either use &lt;pre&gt; like my example above, or don't bother trying to keep the normal script format, instead just prefixing each paragraph with the speaker's name. (See the podcast wiki for an example of this style.) I'm having trouble working out even what HTML elements I should be using to represent this, frankly - a dictionary definition list with the speaker as the term and the speech as the definition is probably the closest I've thought of, but that feels like abuse.
84013
We're a web design company that have created several websites for clients, all of which have a back link to our own website. I was just wondering the best strategy for this:   Should the keywords be in the title, alt and link text? E.g &lt;a href="domain.com" title="keyword"&gt;Keyword&lt;/a&gt;? Should we make the keyword the same on all the client web sites? Should we incorporate our company name as the link text?   Are there any other general things I should follow?  UPDATE: Currently we have "designed &amp; built by ". Are we better off having something like ""?
79097
I'm working on a web app with a team of 5, including me. One database administrator, one project manager, two programmers and me the front-end designer. This project is an internal reporting system.  Anyways, I've struggling a little bit with my team, the DBA and two programmers seem to control our meetings with what Data we are going to pull and the best way to work it into an object model.  And then look to me to design some pretty interface.  Truth is, we've never measured the objectives of this application and what strategy will best meet them from a front-end design/UX standpoint. We've done no wire frames, no planning of content, no planning of pages, no conversations on specific interface components, nothing like that. It seems my team is content with designing and building the entire UX/UI based on a couple of ideas we've spit-balled in meetings.  Forgive me if this sounds too much like a gripe, but I'm at a loss. How do I get my team to understand, we can't just throw the front-end together based on back-end data and the interface HAS to be well planned out and organized?
122513
There's been a lively conversation (such as it can be in 140 chars) lately about whether it is better to put CSS files on the disk in the _layouts folder or to store them in a Document Library in the Site Collection.  This seemed like a good place to post the topic to allow some longer discussion about it.  As for me, I always prefer to avoid putting anything on the disk if I can avoid it.  I prefer a Document Library for the CSS. There are many reasons for this, but here are some: versioning, fine-grained permissions, approval processes, they are a part of a Site Collection backup, touching the server can lead to problems, etc.  I also don't believe that files on the disk will be served up any faster than files in SQL if SQL is managed correctly.  What's your opinion? Weigh in!
104769
I'm not sure why I need to use ul-li vs simply using divs when listing items. I can make both look exactly the same so where is the functional advantage to creating an unordered list vs lining up divs?
111766
I am using WordPress 3.1.4 by now. I am confused with where (which hook) do I use:   to register and/or enqueue  scripts and styles  on front- and back-ends?   Questions:   Which are right hooks to use? All front end register/enqueue scripts/styles in init? Why is there no admin_print_styles-{xxx}?
46059
I'm a big fan of Yahoo's  for speeding up websites. One of the recommendations is to combine images where possible to cut down on size and the number of requests. However, I've noticed that while it can be easy to use CSS sprites for layouts, other image uses aren't as easily combined. The primary example I'm thinking of is a blog or article list, where each blog or article also has an image associated with it. Those images can greatly affect load time and page size, especially if they aren't optimized. What I'm looking for, in concept or in practice, is a way to dynamically combine those images while running them through a loss-less compression using PHP.   A few added thoughts or concerns:   Combining the images and generating a dynamic CSS stylesheet to position the backgrounds of the images might be one way to go about it, but I also worry about accessibility and semantics. As far as I understand, CSS images should be used for layout elements and the img tag (with the alt attribute) should be used for images that are meant to convey information. I could set the image as a background to a div element and substitute a title attribute for the alt attribute, but I'm unsure about the accessibility and semantic implications of doing so. Might the GD library be a good candidate for something like this? Can you recommend other options?
48227
I am building a Sharepoint 2013 App in Javascript / HTML / CSS and I want to implement / inherit the color / class / css used by the theme.  How do I do this?  I want to ensure consistency through usage of the same colors.  Thanks in advance!
85310
Looking at most sites, I noticed something a bit weird. Stack Overflow has a different layout for their upper interface (which personally I find unique and easy to use).  On most of the sites I see:  | SE logo &amp; Sites dropdown | Inbox | Achievements | --- | Profile | Help | Searchbar | | Sitename | --- | Questions, Tags, Users, Badges, Unanswered | Ask Question |   On Stack Overflow:  | SO logo | Questions etc. | Searchbar | Profile | Achievements | Inbox | Help | Sites dropdown |   I have two questions,   Why does SO have such a format unlike the rest? Are there any other sites that have a unique upper interface?
83453
I'm just starting to learn web design and ux and I have a very simple question. What is the best resolution to design for?   For example, I want to design a WP Plugin settings page, what resolution should it be? What resolution should I use for the buttons?
29285
What's the difference between &lt;div class=""&gt; and &lt;div id=""&gt; when it comes to CSS? Is it alright to use &lt;div id=""&gt;?  I see different developers doing this in both ways, and since I'm self taught, I've never really figured it out.
28548
What are some standard practices for managing a medium-large JavaScript application? My concerns are both speed for browser download and ease and maintainability of development.  Our JavaScript code is roughly "namespaced" as:  var Client = {    var1: '',    var2: '',     accounts: {       /* 100's of functions and variables */    },     orders: {       /* 100's of functions and variables and subsections */    }     /* etc, etc  for a couple hundred kb */ }   At the moment, we have one (unpacked, unstripped, highly readable) JavaScript file to handle all the business logic on the web application. In addition, there is jQuery and several jQuery extensions. The problem we face is that it takes forever to find anything in the JavaScript code and the browser still has a dozen files to download.  Is it common to have a handful of "source" JavaScript files that gets "compiled" into one final, compressed JavaScript file? Any other handy hints or best practices?
112155
I just finished slicing and coding a very nice table-less css template for my website, all the time I was testing with IE7 and Chrome.  Then I just had the brilliant idea of testing this template with IE6, I installed Windows XP on a Virtual PC and then I opened my website on IE6.  It looks extremely bad!  The format of my page looked like garbage, nothing displaying correctly like in IE7 and Chrome. I knew that some things were not supported by IE6, but I didn't think that my page would render like it did.  So I would like to know if there is a place where I can see what is not supported by IE6 so I can fix my CSS or even create a new one only for IE6.  Any info will be very helpful!  Thanks!