Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

WebDesign: Use StyleSheets

  • 18-02-2005 9:19pm
    #1
    Closed Accounts Posts: 35


    guys, tables are dead. use stylesheets for layout
    came across a great website, must for web developers

    http://www.htmldog.com


«1

Comments

  • Registered Users, Registered Users 2 Posts: 11,987 ✭✭✭✭zAbbo


    welcome to 3 years ago


  • Closed Accounts Posts: 35 superhoops1973


    but lots don't spread the good news and all that...

    :)

    lots of people still use tables. god damn awful! when you work in a company, your hands can be tied.

    look at this site!


  • Registered Users, Registered Users 2 Posts: 14,761 ✭✭✭✭Winters


    A mix of both are best. There are still things you can do in tables far quicker then playing around with stylesheets.

    Trust me .. its my job.


  • Closed Accounts Posts: 9,314 ✭✭✭Talliesin


    Winters wrote:
    A mix of both are best. There are still things you can do in tables far quicker then playing around with stylesheets.

    Trust me .. its my job.
    Tables are a kludge for anything other than tables.

    Trust me… it's my job.


  • Closed Accounts Posts: 35 superhoops1973


    I think we need to pay huge attention to accessibilty etc.. and tables are a huge barrier to this.

    Also, for semantic web to work, web developers should us H1, H2, P BLOCKQUOTE etc... and not every use the font tag to achieve these in the format the want.

    I work in a company that has formatting embedded into every page. I won't mention names of website design tools, but some of them should be banned and there should be a jail sentence for using them :rolleyes: as they put so much muck into pages. Everyday I go to work I curse it


  • Advertisement
  • Closed Accounts Posts: 4,655 ✭✭✭Ph3n0m


    my only problem is that cross platform and yes even cross browsers - divs used in website creation are rendered differently - which leads to further frustration for any developer/designer.

    personally i have found I can create the layout I want much easier with tables (in relation to widths, etc) - however I find the task is increased more so when using divs - especially the different layouts of a div that do not necessarily work, or are valid (according to w3c).


  • Closed Accounts Posts: 2,525 ✭✭✭JustHalf


    It's not about what's easier for you, it's what's best for the job. I wouldn't trust a painter who'd skip the undercoat because it was easier for him.

    Cross-browser compatability is possible, and isn't that hard once you know what you're doing (and know where to look to find out how to solve the more arcane bugs).

    To produce a fresh, refined, high-quality XHTML/CSS template takes me between 6 to 12 hours (depending on whether or not I'm using fancy tricks like SIFR, and the complexity of the style). On even a small site, this should only be a small fraction of the amount of work. Even it takes you a single hour to create a table-based template, that should only be a small amount of the total work to be done.

    Tables are sometimes the best tool for the job of layout, but that is the case so rarely that you should have some pretty damn solid reasons (like a large install base of Netscape 4 in a particular institution) for this. The default choice is to use CSS for layout.


  • Registered Users, Registered Users 2 Posts: 1,746 ✭✭✭pork99


    I think the place for tables in semantic markup is when displaying tabular data (well d'uh) such as that pulled from a database - table as in database table, <tr>s corresponding to records, <td>s to each field and <th>s to column names.

    I find table-less layout are the "dog's b-ll-x" - very much the way ahead. But you do have to be prepared to put up with a bit of cross-browser frustration with regards to things like the box-model and differing interpretations of what relative positioning means.

    But apart from a couple of buggy things like that (which can be worked-around) designing without tables (or spacer gifs - remember spacer gifs? :eek: ) is so much better it's ridiculous.


  • Banned (with Prison Access) Posts: 16,659 ✭✭✭✭dahamsta


    90% of the CSS sites I develop need kludges to get the layout I want.

    Seriously, if you want to be 100% standards-compliant, that's your lookout and i won't stop you. But do us a favour, leave the evangelism at home until such time as those standards have been implemented. It just makes you guys sound like complete nerds. Mind your business.

    adam


  • Closed Accounts Posts: 2,525 ✭✭✭JustHalf


    All of the essential layout tools (positioning, etc) are implemented in modern browsers. There are bugs of course, but there are bugs to worry about when implementing a table-based layout.

    I don't quite get what you are trying to say Adam. Your "kludges" line, taken in the context of the rest of your post, would seem to indicate that you think CSS hacks are bad; so bad, in fact, that if you can't implement a layout without using them then you shouldn't use CSS for layout at all. I hope I'm misinterpreting you. Can you clear this up for me?

    As an aside, the point I was trying to make in the third paragraph of my previous post was that a difference of 5-6 hours in template implementation time shouldn't make much of a difference in terms of overall work done. To build on this point: I believe any additional effort to be worth the time spent, and I also believe that if you know what you are doing then CSS layouts take less time to create than table-based layouts.


  • Advertisement
  • Closed Accounts Posts: 35 superhoops1973


    dahamsta, not evangelism, just smarter.. work away with your tables. as long as it keeps you happy. continue to use what is universally accepted as bad practice by people who know. :rolleyes:

    i work for a company who decided to outsource some website work to a third party. Now i work closer to the server and web design isn't necessarily my concern, but what came back from the professional web design company was nothing short of a disgrace, yes they have spacer gifs. 2005 i ask you. don't shame yourself by producing anything similar


  • Closed Accounts Posts: 35 superhoops1973


    Folks, I bumped into a CSS tool while i was getting familiar with RSS. It's called TopStyle.

    http://www.feeddemon.com/

    anyone know of any better?

    btw: RSS is fantastic. feed demon is :cool:


  • Registered Users, Registered Users 2 Posts: 1,865 ✭✭✭Syth


    There's also the very stylish http://www.csszengarden.com


  • Registered Users, Registered Users 2 Posts: 7,740 ✭✭✭mneylon


    dahamsta, not evangelism, just smarter.. work away with your tables. as long as it keeps you happy. continue to use what is universally accepted as bad practice by people who know. :rolleyes:
    Grow up.
    You make it sound like:
    1 - You are the first person to discover CSS
    2 - You know best
    3 - You know better than the rest of us

    You don't.

    Browser support for CSS has improved and will get better, but going around the place evangelising, as Adam quite correctly put it, won't help your cause.


  • Closed Accounts Posts: 2,525 ✭✭✭JustHalf


    The bit I liked the best was where superhoops1973 implied Adam was an idiot. Great way of convincing others of your opinion there.


  • Banned (with Prison Access) Posts: 16,659 ✭✭✭✭dahamsta


    For the record, IANAWD (I Am Not A Web Developer). Or rather I am, but it's just one part of what I do. I'm a consultant: Jack of all trades, master of none, but quite good overall like, imho, even if I do say so myself, if that's ok with everyone, no offense like, etc.
    JustHalf wrote:
    All of the essential layout tools (positioning, etc) are implemented in modern browsers. There are bugs of course, but there are bugs to worry about when implementing a table-based layout.
    Very true, but old skoolers like me have been working with those (table-based) bugs for so long that we know them like the back of our hand now, dealing with them is second nature. Moreover, as clients develop these bugs tend to get worked out, and the ones that aren't are often handled transparently by tools like DW and FP. Of course the "solutions" and "handling" are often kludges too, but it's all about balance and, dare I say it, personal choice. Which is the point I was trying to make.
    Your "kludges" line, taken in the context of the rest of your post, would seem to indicate that you think CSS hacks are bad; so bad, in fact, that if you can't implement a layout without using them then you shouldn't use CSS for layout at all.
    Not at all, in fact I try very hard to produce sites that adhere to standards, and I'd say the majority of the sites I've developed in the past year - which wouldn't be a whole lot tbh, I farm out the bigger jobs these days - have been CSS only, and largely standards-compliant. However I won't be a slave to standards at the cost of creavity, earnings, or even bandwidth; i.e. if adhering to standards means compromising on the look that I want, or cutting into my profit margin, or even cluttering up my code wih hacks, then I'm going to work around them.

    The site I'm developing at the moment is a perfect example. I did it in tables to get the layout the way I wanted it, because it's quicker and easier that way in DW, which won't render a lot of CSS hacks. Now that I'm happy with it I've stripped out a lot of the tables, and of course ALL of the formatting is done with CSS, but stripping out the major positioning stuff was leaving me with a ton of crufty, ugly, bandwidth hogging code, and I don't like that. So for me, tables are far from dead.
    As an aside, the point I was trying to make in the third paragraph of my previous post
    Just in case there was a misunderstanding: I wasn't replying to any particular post in the thread, just making a general comment.
    a difference of 5-6 hours in template implementation time shouldn't make much of a difference in terms of overall work done.
    Again though, this is subjective. The last three sites I did were brochures done largely as favours, and those guys aren't getting 5-6 hours out of me total, never mind on template developement. (Ironically, the last three sites are all pretty much standards-compliant, but that's just by-the-by.)

    adam


  • Closed Accounts Posts: 35 superhoops1973


    blacknight the keyboard warrior :rolleyes:

    10 years + developing software for proper software companies. i should know more than most. I make mistakes, but am always looking for improvements. I think its important to share knowledge..


  • Registered Users, Registered Users 2 Posts: 7,740 ✭✭✭mneylon


    blacknight the keyboard warrior :rolleyes:

    10 years + developing software for proper software companies. i should know more than most. I make mistakes, but am always looking for improvements. I think its important to share knowledge..

    And what a lovely charming attitude you have too


  • Closed Accounts Posts: 35 superhoops1973


    JustHalf wrote:
    The bit I liked the best was where superhoops1973 implied Adam was an idiot. Great way of convincing others of your opinion there.

    its not just my opinon

    http://www.webstandards.org/learn/faq/


  • Closed Accounts Posts: 4,655 ✭✭✭Ph3n0m




    ok so by that reasoning, should we all use standards that in the real world could cut down a website audience numbers? the problem is not with the standards, it is how browser technology implements them.

    earlier someone said they go for 100% compatibility and so do I - nothing to do with ease of use, etc. Hell I try to use valid HTML/xHTML whenever I use it - but in some cases to get a site working for everyone, you have to use bad code - its a fact of development.

    It is not a problem of the developers - it is a problem of those who create the browsers and how they implement the "standards". the number of times I have cried over a site looking great on all browsers on a PC - only for the Mac to come along and **** all over it.

    I will use as close to the standards as possible - otherwise I will continue to use what works for everyone, not just the elite of browsers


  • Advertisement
  • Closed Accounts Posts: 35 superhoops1973


    yes i know some browsers don't comply to the standards, well microsoft thinks it is the standard. but i won't write code that doesn't comply with standards..

    yet another link

    http://www.hotdesign.com/seybold/


  • Registered Users, Registered Users 2 Posts: 758 ✭✭✭Archytas


    Im sure you all know this but blind screen readers... text readers... and A whole lot of other things cant read your table layout crap. And pixel spacers? wtf? AOL got f**ked for it and so will any other mainstream site if they're not accessible. AOL had to pay out big for their ignorance and hopefully people will start to change their outlook. And their websites.


  • Banned (with Prison Access) Posts: 16,659 ✭✭✭✭dahamsta


    Archytas wrote:
    Im sure you all know this but blind screen readers... text readers... and A whole lot of other things cant read your table layout crap.
    Whose table crap? Mine? Everyone that uses tables? Paul Knight from 63 Cable Terrace, Ankh Morpork? Anyway, setting aside the fact that that's a gross (and badly constructed) overstatement the first thing you should do is file a complaint with Boards.ie about their site, because that's used "table layout crap" since it was born, and continues to do so today. Then you should file complaints with the rest of the sites on the web running vBulletin, phpBB, UltimateBB, and all the other forum software solutions, because 99.99% of them use tables too.

    They use tables for layout because the developers tried using CSS for their layouts, but they either didn't work for some users (irony, eh?) or ended up producing gallons of HTML (which is not good on already-heavy sites like these). So they reverted to tables, like many others have. Oh, and stick in complaints to the millions upon millions of other sites running tables while you're at it. Because, according to you, they're unreadable by a tiny minority and all but useless. (Of course they're not unreadable, but let's not waste time with facts here!)
    And pixel spacers? wtf?
    I doubt anyone in here's used a pixel spacer in years, but way to go on picking an item up out of a thread without actually examining the details. You go girlfriend.

    BTW, superhoops? If that's a football related handle and you have an account on Foot.ie, let me know what it is so I can ban you on general principle.

    adam


  • Closed Accounts Posts: 35 superhoops1973


    dahamsta

    ban me from foot.ie.. because you don't like what i got to say.. nice one. ban me all you like.. ;)

    keep diggin


  • Closed Accounts Posts: 35 superhoops1973


    legacy is something we all got to deal with. tables are used all over web, that cann't be changed. i'm just saying that its best to use CSS from now. The goverments and EU are going to sometime require complete accessiblity. Archytas has a point. Just because able bodied people can read websites and admire how nice they look, what about those not so fortunate


  • Closed Accounts Posts: 2,525 ✭✭✭JustHalf


    dahamsta wrote:
    Very true, but old skoolers like me have been working with those (table-based) bugs for so long that we know them like the back of our hand now, dealing with them is second nature. Moreover, as clients develop these bugs tend to get worked out, and the ones that aren't are often handled transparently by tools like DW and FP. Of course the "solutions" and "handling" are often kludges too, but it's all about balance and, dare I say it, personal choice. Which is the point I was trying to make.
    Sounds like me two years ago. I've been using HTML since a school project in 1996, so I'm well aware of how to use tables. :)

    One of the big problems with CSS layout is that you need to hand-code pretty much everything to get the result that you want. Now, I've hand-coded sites for as long as I can remember - I've never been happy with the output of tools like Dreamweaver - so this transition is easier for me. I would recommend weaning yourself off the editors though - you are at the mercy of their faults.
    dahamsta wrote:
    Not at all, in fact I try very hard to produce sites that adhere to standards, and I'd say the majority of the sites I've developed in the past year - which wouldn't be a whole lot tbh, I farm out the bigger jobs these days - have been CSS only, and largely standards-compliant. However I won't be a slave to standards at the cost of creavity, earnings, or even bandwidth; i.e. if adhering to standards means compromising on the look that I want, or cutting into my profit margin, or even cluttering up my code wih hacks, then I'm going to work around them.
    Let's break this one down:

    Creativity:
    There is very little you cannot do with pure CSS that you can do with tables, and there is plenty that you cannot do with tables that you can do with CSS: floats and absolute positioning give you an amazing level of control. The argument that CSS-based design is an impediment to creativity seems alien to me. You just need to look at the various CSS galleries to see why.

    Bandwidth:
    Everything I've ever heard, until now, has told me that the use of CSS for layout has decreased bandwidth usage relative to site traffic. I've read case studies of redesigns that reduced their page weight by half. If you've found a case where the reverse is true I'd really like to see it.

    Earnings:
    Because of the many benefits of seperating presentation from content - the bandwidth savings, the improved accessibility, the ability to enact site-wide changes in design by changing one file, the ease of creating parsers for clean and structured XHTML documents, etc - using standards gives you a competitive advantage. By refusing to use standards you put yourself at a disadvantage, and this may hurt your earnings.

    I don't see how the use of standards could reduce your earnings.
    dahamsta wrote:
    The site I'm developing at the moment is a perfect example. I did it in tables to get the layout the way I wanted it, because it's quicker and easier that way in DW, which won't render a lot of CSS hacks. Now that I'm happy with it I've stripped out a lot of the tables, and of course ALL of the formatting is done with CSS, but stripping out the major positioning stuff was leaving me with a ton of crufty, ugly, bandwidth hogging code, and I don't like that. So for me, tables are far from dead.
    I don't buy your argument. I'd like to see your evidence, and if I can see where you're having problems perhaps I can help you out?


  • Closed Accounts Posts: 2,525 ✭✭✭JustHalf


    ban me from foot.ie.. because you don't like what i got to say.. nice one. ban me all you like.. ;)
    Banning from foot.ie aside, can someone ban this guy from the Webmaster board?


  • Registered Users, Registered Users 2 Posts: 7,740 ✭✭✭mneylon


    Archytas wrote:
    Im sure you all know this but blind screen readers... text readers... and A whole lot of other things cant read your table layout crap. And pixel spacers? wtf? AOL got f**ked for it and so will any other mainstream site if they're not accessible. AOL had to pay out big for their ignorance and hopefully people will start to change their outlook. And their websites.
    And last time I checked this was Ireland, so we are not bound by US laws.

    I'm sure the EU will get round to enforcing accessibility at some stage but they haven't yet.

    Even when they do that does not mean that you have to stop using tables.


  • Closed Accounts Posts: 35 superhoops1973


    your a moderator justhalf. why don't you do it? who do you think you are? what have i said thats so wrong. please tell me. i'd love to know.


  • Advertisement
  • Banned (with Prison Access) Posts: 16,659 ✭✭✭✭dahamsta


    JustHalf wrote:
    Sounds like me two years ago. I've been using HTML since a school project in 1996, so I'm well aware of how to use tables.
    I wasn't suggesting you weren't. Presumably you weren't suggesting that I'm two years out of date.
    One of the big problems with CSS layout is that you need to hand-code pretty much everything to get the result that you want. Now, I've hand-coded sites for as long as I can remember - I've never been happy with the output of tools like Dreamweaver - so this transition is easier for me. I would recommend weaning yourself off the editors though - you are at the mercy of their faults.
    I handcode PHP because I don't like IDE's, I find them cumbersome and crufty. However handcoding has faults too, in that it can lengthen development time and increase the possibility of error. I reckon you know what you're doing, so I wouldn't recommend that you switch to an editor. Which begs the question: Do I look like I don't know what I'm doing? That sounds a little snappy, but I'm just trying to amplify the point I've been trying to make: Handcoding works for you, and that's great; but it's not better, it's just better for you.
    You just need to look at the various CSS galleries to see why.
    When I look at CSS galleries, I see very pretty sites that have been developed with the limitations of CSS in mind. Underneath the pretty colours I see an awful lot of same-same going on on the layout front.
    Everything I've ever heard, until now, has told me that the use of CSS for layout has decreased bandwidth usage relative to site traffic.
    On the formatting front, certainly, but I've already said that I use CSS for formatting. On the layout front, I find that trying to hack a site to get it to layout as I'd like without tables often results in messy, ugly, and often very large stylesheets.
    By refusing to use standards you put yourself at a disadvantage, and this may hurt your earnings.
    I'm not refusing to use standards, you're saying I am.
    I don't buy your argument.
    To be perfectly frank JustHalf, I don't think you understand it. You seem to be trying to argue that standards are Good, which is pointless because I never said they were Bad. I said that I'll do things my way and you do them yours, and that should be an end to it.
    I'd like to see your evidence, and if I can see where you're having problems perhaps I can help you out?
    I'll send you a URL privately later on that you can look at, of a development version of my own website, which is half-css-half-tables. If you can show me a way of converting it to CSS without a load of cruft, I'd be only too happy to use it -- I was going to post here to ask it if it was possible later on anyway, before I put it live.

    adam


  • Closed Accounts Posts: 2,525 ✭✭✭JustHalf


    dahamsta wrote:
    I wasn't suggesting you weren't. Presumably you weren't suggesting that I'm two years out of date.
    Nope, I don't know where you are. I was bringing that up to make the point - which I completely failed to make - that being comfortable with using tables shouldn't prevent you from moving onto a better tool. CSS is a better tool for layout purposes in the resounding majority of cases. I sincerely doubt that every job to you
    dahamsta wrote:
    Which begs the question: Do I look like I don't know what I'm doing?
    You complain about weaknesses that CSS has - like excessive bandwidth use - when using CSS for layout tends to result in the exact opposite of what you're getting. This suggests that either:

    1: You are implementing your XHTML/CSS in an odd way.
    2: You are working on a layout problem that I've never seen.

    If it is (1), I'd like to help you out. If it's (2), I am genuinely curious... I'd like to see what this layout problem is.
    dahamsta wrote:
    That sounds a little snappy, but I'm just trying to amplify the point I've been trying to make: Handcoding works for you, and that's great; but it's not better, it's just better for you.
    The reason I brought up hand-coding is that this is still the only decent way to implement CSS layouts. It's a pity, but a reality.

    You seem to be approaching this from the perspective of what is easier for you. Is this a correct assumption?
    dahamsta wrote:
    When I look at CSS galleries, I see very pretty sites that have been developed with the limitations of CSS in mind. Underneath the pretty colours I see an awful lot of same-same going on on the layout front.
    Table-based sites are developed with the limitations of table-based layouts in mind. What's your point?
    dahamsta wrote:
    I'm not refusing to use standards, you're saying I am.
    If that's not the case, then I am misunderstanding you.
    dahamsta wrote:
    To be perfectly frank JustHalf, I don't think you understand it. You seem to be trying to argue that standards are Good, which is pointless because I never said they were Bad. I said that I'll do things my way and you do them yours, and that should be an end to it.
    Perhaps if I phrase it like this: a rock will put a nail into a piece of wood, but a hammer is better, and in the long run better for you.
    dahamsta wrote:
    I'll send you a URL privately later on that you can look at, of a development version of my own website, which is half-css-half-tables. If you can show me a way of converting it to CSS without a load of cruft, I'd be only too happy to use it -- I was going to post here to ask it if it was possible later on anyway, before I put it live.
    Alright. I'll take a look at it and make suggestions.


  • Registered Users, Registered Users 2 Posts: 1,017 ✭✭✭Altheus


    Christ, I've never read such crap in all my life. The TABLE tag has plenty of life in her left. CSS is great and all things to all men, but to a mid-level designer/developer, not some code nerd who does not even need to reference his variables, it can very intimidating to make the move over to CSS.

    Justhalf I completely disagree with your hammer/rock/nail analogy. I believe it would be more like decided to use a brush or a hoover on a parquet floor. The brush will pick up pretty much everything, get into all the corners, and if there's a spot you've missed you can get at it. The hoover is a little less thorough, but it's quick easy, and undoubtably effective. I suppose a combination of both might be the solution, a little hand brush and pan.

    Anyway it's a stupid analogy, you're arguing evangelically now.

    As a designer moreso than a developer, I design with an image primarily which I try to then translate onto the web.

    CSS is a perfectly round hole for my oddly shaped peg.

    People will argue that a good design complies to standards, while others will argue a good design gets round the standards.

    My belief is a balance should be made based on the designer's ability to put out the best design he can given the tools he knows.


  • Banned (with Prison Access) Posts: 16,659 ✭✭✭✭dahamsta


    I'll go around the rounabout one more time, but after that I'm getting off...
    JustHalf wrote:
    CSS is a better tool for layout purposes in the resounding majority of cases.
    In your opinion. In my opinion, it's a tool. Not a better tool, or a worse tool, just a tool.
    You complain about weaknesses that CSS has - like excessive bandwidth use
    Obviously bandwidth was a bad choice of words. I thought I'd cleared this up in my last post, but obviously not. Rather than restate, look for the words "messy" and "ugly".
    when using CSS for layout tends to result in the exact opposite of what you're getting
    Using CSS for formatting certainly decreases bandwidth, however as I've said, I already use CSS for formatting. When it comes to layout, we're back to the words "messy", "ugly" and "large" again.
    The reason I brought up hand-coding is that this is still the only decent way to implement CSS layouts. It's a pity, but a reality.
    Which is, I might add, a major flaw with CSS.
    You seem to be approaching this from the perspective of what is easier for you. Is this a correct assumption?
    Easier, faster and cheaper; I'm pretty sure I covered this earlier.
    Table-based sites are developed with the limitations of table-based layouts in mind. What's your point?
    What's yours? Your comment suggests that I use only table-based layouts, which you know isn't true.

    I agre with Altheus on the analogy, but I've already made that clear.

    Seriously, I have to get off the roundabout now. I'm dizzy.

    adam


  • Registered Users, Registered Users 2 Posts: 758 ✭✭✭Archytas


    dahamsta wrote:
    file a complaint with Boards.ie

    I'm currently arguing this same fact with a number of county councils in Ireland that their websites are unaccessible. One thing at a time folks....
    dahamsta wrote:
    They use tables for layout because the developers tried using CSS for their layouts

    How do you know? I know plenty of bad programmers who will never try unless their made to.
    dahamsta wrote:
    Because, according to you, they're unreadable by a tiny minority and all but useless. (Of course they're not unreadable, but let's not waste time with facts here!)

    Tiny minority? 180million? Thats not tiny. By any means. And at the last counting 1.5million(Americans) use computers and the internet every day. That isn't a tiny number either.

    And again I didn't say tables weren't readable. They clearly are. But tables in "layout"- and this is what we're talking about here - are wrong. You can use tables in forums or diplaying data. Just try(try) not to use them for layout.

    I'm not trying to keep this "argument" going. Just adding some facts that I may have left out in my rashly written other post.


  • Registered Users, Registered Users 2 Posts: 706 ✭✭✭DJB


    Baz.... you still criticising ppl!!!! :)

    Dave


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 706 ✭✭✭DJB


    bazH wrote:
    welcome to 3 years ago
    Baz.... you still criticising ppl!!!! :)

    Dave


  • Banned (with Prison Access) Posts: 16,659 ✭✭✭✭dahamsta


    Archytas wrote:
    How do you know? I know plenty of bad programmers who will never try unless their made to.
    I know because I was on their forums when they posted about it. See, you probably didn't even notice this because you're another obsessive , but what you did there in that one small paragraph is both insult me and call me a liar. This is why I don't like evangelists, and how this whole topic got started.

    adam


    LoLth: no problem with heated debate but lets not start abusing one another.


  • Registered Users, Registered Users 2 Posts: 1,747 ✭✭✭Figment


    A little more fuel for the debate.
    http://www.decloak.com/Dev/CSSTables/CSS_Tables_01.aspx

    I use both as needed.


  • Registered Users, Registered Users 2 Posts: 103 ✭✭P&L


    Archytas wrote:
    Im sure you all know this but blind screen readers... text readers... and A whole lot of other things cant read your table layout ... etc

    A common misconception but this is not true at all, if you understand accessibility it is possible to create a table-based layout that is accessible to the common assistive devices.

    And prudent if you have more than 100 visitors a day, as it seems to me that's where you start encountering accounability to NN4 users.
    Archytas wrote:
    I'm currently arguing this same fact with a number of county councils in Ireland that their websites are unaccessible.

    Really? I'm interested, I have written a letter to one of the councils on the same issue, they had mistakenly believed their site was AA, but wasn't even A... and they even have a JAWS user testing for them.

    Anyway, I didn't need to have any arguement I found them very receptive and they are addressing the issue.

    What councils have you contacted? If you are interested in Irish public web accessibilty (and not sending accessibility ransom e-mails), please feel free to contact me by e-mail [colin at puffandlarkin dot com]. I'm planning some work in this area too.


  • Closed Accounts Posts: 2,525 ✭✭✭JustHalf


    P&L wrote:
    A common misconception but this is not true at all, if you understand accessibility it is possible to create a table-based layout that is accessible to the common assistive devices.
    It is true, however, that (X)HTML/CSS layout makes this easier to do.
    P&L wrote:
    And prudent if you have more than 100 visitors a day, as it seems to me that's where you start encountering accounability to NN4 users.
    I don't quite understand what you're saying here... can you please clear this up for me?


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 103 ✭✭P&L


    JustHalf wrote:
    It is true, however, that (X)HTML/CSS layout makes this easier to do.
    OK, first off 'easier' is subjective to design targets.

    Secondly we're talking complex layouts, not single-column centered blog and CSS Vault clones.

    To create a site that is 100% consistent accross all browsers, without using hacks, purely in CSS is next to impossible.
    Just to create a CSS site for modern browsers is very easy i agree, and the better the browser the easier it gets.
    If I was just designing for Opera, I could nearly do it all in CSS 3 very easily and not compromise design in any way.
    But with Gecko in the equation I have restrict myself to CSS 2.1.
    Add IE6 to that and I'm looking at CSS 1 (and three-quarters of 2 maybe)

    Now add to that older browser versions and the various operating systems, support for CSS gets worse and worse, you can not even depend on CSS 1

    Now say hello to hacks and more hacks, sniffers and and so much messing that you could be creating literally up to and over 10 variations with the only purpose of making the HTML page appear the same in every situation.

    And if your really good you can even make all those hacks and variations and rules validate, wow
    People seem to have lost the irony of creating several different standards compliant version to make a page appear the same accross browsers.
    The point of standards is to avoid the need to make any browser specific code (be it CSS, HTML, Javascript or whatever).

    It doesn't matter whether the cause for browser specific code is propietry browser features or bad standards support, the result is always the same: lack of forward compatibility and more work every time a client gets updated.

    Now, on the flip-side you have table based layouts, they require 1/20th the hacking. They work now, always have and always will. This IMO makes them 'easier'.
    JustHalf wrote:
    P&L wrote:
    And prudent if you have more than 100 visitors a day, as it seems to me that's where you start encountering accounability to NN4 users.
    I don't quite understand what you're saying here... can you please clear this up for me?

    If you must account for *4 browsers it will be faster and cheaper to use table based layouts, hence prudent.
    If there are 2% users on *4 browsers then the more visitors you have, naturally the more visitors that use older browsers.

    =================================

    No after having said all that... personally I wouldn't be seen dead using tables :) I'm very comfortable with CSS, I love working with it and am a big fan of simple layouts.

    I believe full seperation of content from seperation and good semantics is the way forward, especially in regards to accessibility, but maybe if I was doing a public information site I would have to rethink that and introduce some tabes for layouts.

    I'm also considering going back to HTML 4.1 Strict for everything in future, but that's a whole other story.


  • Registered Users, Registered Users 2 Posts: 103 ✭✭P&L


    ...or to put all another way:

    Show me a complex CSS layout that looks the same accross all browsers without using hacks...

    Hacks are still hacks whether they validate or not.


  • Registered Users, Registered Users 2 Posts: 758 ✭✭✭Archytas


    P&L wrote:
    A common misconception but this is not true at all, if you understand accessibility it is possible to create a table-based layout that is accessible to the common assistive devices.

    I can count on one hand the number of webdesigner able to do that! :)
    Well probably... I don't claim to know every web-designer.... ;)
    P&L wrote:
    Really? I'm interested.... What councils have you contacted?

    Eh... Kildare CoCo.(Dublin and naas UDC but only recently) So many parts of their websites are all over the place. and their planning application thingy is horrible.... Just try and use it in any browser except for IE6.... even 5 is weird. But yeah argue is probably a bit strong. They seem to be getting on it but very very slowly. But there's a goverment protocol(probably the wrong word but writing this in a hurry) for all coco websites(I briefly looked over it a long time ago) and they break it all over the place. But I get emails every so often from them and they were very apologetic.

    So I cant say things aren't changing because they clearly are but... still room for more :rolleyes:


  • Moderators, Science, Health & Environment Moderators Posts: 9,035 Mod ✭✭✭✭mewso


    O.k. a word from soneone responsible for a county council website. I had the pleasure of reading Designing with Web Standards some time ago and found it a very convincing arguement.
    The realities of a large site, a county council one being a good example, present their own difficulties.
    If you visit our site you will see a veritable pot-pouri of images and links all over the place. As the person who designed and programmed most of the site I unfortunately have no control over what goes on it. Every day you have someone saying they need a link on the front page to something and the county manager wants it now you can't say no and so you end up with a menagerie.
    As to standards. With our browser based CMS it is almost impossible to ensure standards and just as unrealistic to suggest that only html/xhtml/accessible savvy persons should be responsible for content.
    In the end you do your best. Layout is currently using tables and I intend to change that as soon as I can. All images and links on the front page have alternative text and I have so far managed to fend off requests for blinking text and scrolling marquees (most of the time). Slowly but surely you start to move in the right direction. The people creating the content for large websites have no knowledge of standards, nor do they care. Of course they will be forced to care when governement sites must conform to accessability guidelines. Unfortunately this will be when somebody who makes decisions will hand a cheque to some 3rd party to render our site accessible. I have been designing and programming web sites for 7 years and believe me when I tell you these people still don't ask me for my opinion.
    We're getting there but if the tag at the very top of your site says
    "<!doctype html public "-//w3c//dtd html 4.0 transitional//en">"
    for example then you are entitled to use tables for layout. When it says otherwise then you might see 3 divs instead of 3 trs but only then.


  • Registered Users, Registered Users 2 Posts: 103 ✭✭P&L


    musician, I reckon you're miles ahead of everyone else in the fact that you know the problems, a lot of the council webmasters are misinformed and still believe they are OK to use the word 'image' as alt text, because you must use alt text with images...
    Their other major problem (as you eluded to) is that they believe everything can be fixed by throwing money at it...

    Anyway, afore ye go and build that CSS site, might be worthwhile to wait for the relaese of the GAWDS CMS solution. It not publically available yet, but it will apparantly be fully accessible for content managers and produce safe code. I've seen a few CMS tools (mostly blog ones) that produce safe code very well, so I have no doubt in these guys ability to the same and do it very very well.


  • Registered Users, Registered Users 2 Posts: 103 ✭✭P&L


    Archytas wrote:
    I can count on one hand the number of webdesigner able to do that! :)
    Well probably... I don't claim to know every web-designer.... ;)
    it's fairly easy, just use Opera as your preview browser and disable tables or use text browser emulation. (ok there's a bit more to it but not that much :) )
    Archytas wrote:
    Eh... Kildare CoCo.(Dublin and naas UDC but only recently) So many parts of their websites are all over the place. and their planning application thingy is horrible.... Just try and use it in any browser except for IE6.... even 5 is weird. But yeah argue is probably a bit strong. They seem to be getting on it but very very slowly. But there's a goverment protocol(probably the wrong word but writing this in a hurry) for all coco websites(I briefly looked over it a long time ago) and they break it all over the place. But I get emails every so often from them and they were very apologetic.

    So I cant say things aren't changing because they clearly are but... still room for more :rolleyes:

    Yeah, I had reason to examine the Kildare one before, alot of problems at the time alright IIRC.
    Well Rome wasn't built in a day and all that, it's just great to hear that they are moving inthe right direction :)


  • Registered Users, Registered Users 2 Posts: 758 ✭✭✭Archytas


    Thanks for the input. Its actually the first time I've heard from an actual CoCo website designer/builder. The last time I emailed people about it(even [email]webmaster@(coco).ie[/email]) I got a reply back from someone who more than likely didn't know what a table was(apart from something to eat of). And it also seems to be a little script :) but then thats how customer service works :D

    But yeah thanks for the input. Was mucho appreciated! But its clear that people other that webdesigners have to be educated on the topic of accessibility! I.e all those people who want blinking sentences etc.!

    Thanks


  • Moderators, Science, Health & Environment Moderators Posts: 9,035 Mod ✭✭✭✭mewso


    P&L wrote:
    Anyway, afore ye go and build that CSS site, might be worthwhile to wait for the relaese of the GAWDS CMS solution. It not publically available yet, but it will apparantly be fully accessible for content managers and produce safe code. I've seen a few CMS tools (mostly blog ones) that produce safe code very well, so I have no doubt in these guys ability to the same and do it very very well.

    Well we tendered and bought a 3rd party CMS which is LAMP based and I wasn't asked once for my opinion on the matter. I have no problem with php but I just got my MCAD and I do believe that ASP.NET is the most progressive technology at the moment especially with version 2 due to be released at the end of year with built in support for accessibility and xhtml (i.e. a server control can be set to render xhtml compliant html code). I have no love for Microsoft I just use what I consider the best option of the time. We are now facing what I consider a backwards step onto this new package and I suspect the guys supplying it have promised the world with no real certainty that they can deliver. Time will tell but the end result for me is that I will probably just be developing individual applications for the site.


  • Registered Users, Registered Users 2 Posts: 103 ✭✭P&L


    musician wrote:
    .... I wasn't asked once for my opinion on the matter.... ....the guys supplying it have promised the world with no real certainty that they can deliver.....

    I know all about those scenarios! I don't envy you, we should setup a support group :P

    Just on the ASP.NET thing, I had my first introduction to it recently, I couldn't believe how much more sense it made to me than PHP, it just seemed to 'fit' the shape of my brain...
    But I don't have much choice other sticking to Open source for now as I'm an hobbiest more than anything else.


  • Moderators, Science, Health & Environment Moderators Posts: 9,035 Mod ✭✭✭✭mewso


    P&L wrote:
    Just on the ASP.NET thing, I had my first introduction to it recently, I couldn't believe how much more sense it made to me than PHP, it just seemed to 'fit' the shape of my brain...
    But I don't have much choice other sticking to Open source for now as I'm an hobbiest more than anything else.

    As a hobbyist and assuming you have windows I would recommend you check the betas that are freely available at the moment:-

    ASP.NET 2 Framework beta

    With the beta framework installed you can then get Sql Server 2005 Express and the IDE software (all in beta) all here.

    I think this stuff is the dogs you know what and should make all our lives easier. No doubt I'll start a row with php lovers but I have nothing against any technology I just find the .Net stuff to be heading in the more exciting direction at the mo.


  • Advertisement
Advertisement