Tables vs Div vs Spans [closed] - css

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I have always heard that it is better to avoid using <table> in HTML.
However, I encountered a situation in which a table would make my life easier when building a page that shows multiple products and their characteristics.
Should I try to hack it so that I do not need a table, or should I just go with a table?

No, you should not avoid the TABLE concept. Learn/Use it to display tabular data, not web layouts.
Learn about those elements from the W3C.
Tables
Div
Span

I use tables constantly in web apps - they provide a perfectly good and predictable way to display results in any browser.

Tables are for tabular data (like an excel sheet, etc)
Use CSS for times when the data is not tabular.
Tables are not dead, you just need to use them right :-)

Related

Which is a better interface for designing an ASP.net application: drag and drop or manual positioning? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Which is a better interface for designing an ASP.net application: drag and drop or manual positioning?
That defines on how you define "better".
"Better" in the sense that even an unskilled developer can get a webform up and running in no time: Use drag and drop.
"Better" in the sense that it gives a skilled developer more control over the generated HTML and CSS, potentially leading to
more robust layouting, compatible with a wide range of browsers, and
easier maintainance, due to a lack of unnecessary tags and attributes:
Use manual positioning and a lot of knowledge about HTML and CSS.
You use them all - anything to make the design you look for.
Drag Drop, Manual position, tweak changes, css write/change/delete/re-write, copy/paste, open close ten programs, search on google for other css, anything to make what you have on paper - and then is not good and you start over. Anything you can have you use it.

Tool to identify repeated CSS selectors across two stylesheets [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
We're bringing in outside content to our existing site along with its associated external CSS stylesheet and need to identify the CSS selectors that share the same name across the two files. Once identified, we plan on manually modifying each duplicate in the newly imported file, then changing the HTML accordingly.
Does anyone know of a tool that will do this? One painful way I thought about was to combine all the CSS into one Word Document and going down the page doing manual Finds? That would be nice to avoid though.
There is a firefox plugin called Dust me selectores which is designed to find unused CSS code. It may be what you're looking for.
You could merge the files into one, use a tool like CodeBeautifier with sort selectors enabled. A word of caution though: sorting selectors may change how they are applied to the final document.

Need advisory about HTML 5 chart and gauge components [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I need to develop a web application in asp.net which needs to display
-bar charts
-pie charts,
-gauges,
-grids
with HTML 5 support. And able to export the content in PDF format.
As a winforms developer im not familiar with web technologies.
I have found these componenets
-Telerik web charts-- i didn't see gauge control
-Devxpress-- no info about HTML 5 support
-Kendo UI-- low export functionality
Could you please advise some other components or comment these to help me selecet proper one?
many thanks.
I had the same requirements (except that the backend technology could be whatever I wanted) and ended up creating the charts as images on the server. A bit memory intensive, but worked exceptionally well. I also created an old-fashioined image map to facilitate context-aware mouseover popups on the client.
The main reason I did it that way was, that whatever I tried, there was never a perfect fit between the chart as shown in the brwoser (with the added layer of difficulty that user could use whatever brwoser they wanted) and the PDF. Images ofcourse solved that.

Best Practices...Which should be used - iframes or ajax [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I am just beginning my career as a web developer. I have noticed alot of writings about iframes, and they seem pretty neat (pardon the venacular). However...
My instructors always frown on the use of frames. Is there a difference between frames/frameset and iframes? Should they be so negative in their views? Should I ignore iframes (as they suggest) and start learning ajax?
I am concerened about best practices moving forward.
Framesets are totally different than iFrames. Framesets break up a 'page' with a collection of items that contain content completely separate from one another. This destroys the ability to really bookmark anything other than the frameset itself unless you 'view frame content'. (These, quite frankly, are still around for purposes of historic preservation)
IFrames are simply a supported wrapper that lives within any html page that contains information from another page...whether it be a local or absolute reference. So, if you wanted to put the front page of 'http://theonion.com' inside of a div wrapper on some random page...you could...
As far as best practices go, I really can't imagine much reason to use either. If you really want to show content from elsewhere these days, you can get it in many different ways.
In terms of iframes & ajax...well...as you move forward in your career...try not to refer to them in the same sentence as having anything to do with one another.
=2 cents...

Is there a "best" way to edit CSS? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Is there a "best" way to edit CSS?
I'm looking for a designer tool. It has to "visual"... less code.
Visual studio does a good job but it seems to be lacking when it comes to the actual design stage.
My suggestion is CSSEdit by MacRabbit. It's focused on just editing CSS, and is very visual without hiding code. You can edit CSS attributes through a GUI, or directly edit the text in the code. You can preview your work on any site, even applying your edited CSS to the display of live Web sites. As a plus or minus depending upon your platform of preference, it's a Mac only application.
Here's what I do:
Design the page semantically, using lists, headings, paragraphs etc.
Add classes and ids where appropriate.
Open the unstyled page in Firefox.
Open Firebug.
Write/edit the CSS there and see the results instantly.

Resources