I'm pretty new to web development. Being a tech, I have found the whole scripting and SQL side natural to pick up. However, the markup does my nut. Why do you hear so much noise on forums about having to adhere to standards. I remembered someone saying to me 'Dude, table based layouts make baby Jesus cry'. (This was during a work placement - I go to York doing CompSci) He offered to recode the whole thing in the correct standard for me. I said, 'If your manager will sign off the work package, be my guest!' He never got back to me on that one. So I investigated what was wrong with table tags and it seems everyone is using divs these days. More specifically display:table styled div. However, IE doesn't support these and you need to float them to get them to align next to one another in a row. However, this doesn't work in Firefox because Firefox say floats have no height and the conatining table div doesn't stretch. You can use an if IE conditional statement to swap a stylesheet, but this in itself isn't standard. WTF! As I said I'm new to this, if there's a way round this, I'd love to hear it.
jglw 2 Newbie Poster
Recommended Answers
Jump to Posttables are an anachronism in html.
They're layout elements in a language that's moving away from layout to content, with the layout being provided by CSS styles.
They've also been heavily abused over the ages by people who didn't know what the heck they were doing but called themselves web …
Jump to PostI don't understand the fuss about "omg tables will kill you in the middle of hte night" either, but whatever. If they work, they work. It's probably a lot easier to code a WYSIWYG editor that uses tables rather than one using divs, too, so a lot of those will …
All 7 Replies
jwenting 1,905 duckman Team Colleague
jglw 2 Newbie Poster
lasher511 185 Veteran Poster
jglw 2 Newbie Poster
jglw 2 Newbie Poster
lasher511 185 Veteran Poster
Infarction 503 Posting Virtuoso
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.