• DIV and CSS tutorials?
    18 replies, posted
Hey guys, wondered if anyone had any links to any good tutorials explaining how to use DIV's along with CSS to make web layout's instead of using the old fashioned tables? I know roughly how to position things with div's but not how to position images and the background etc. Thanks to anyone who replies :)
Something like this? [url]http://www.colorplexstudios.com/articles/div_web_design_tutorial/[/url] Seriously, if you need a tutorial for that... Also for positioning: [url]http://www.barelyfitz.com/screencast/html-training/css/positioning/[/url]
Thanks for those, both very useful :) And unfortunately I was not born knowing CSS, so I do need noob tutorials to it.
[html] <!-- In your HEAD --> <style type="text/css"> #ElementID{ /* Stuff */ } </style> <!-- And then in your BODY --> <div id="ElementID">Content goes here</div> [/html] Edit: I [i]might've[/i] read your post wrong
[QUOTE=DanTheBib;24987721]Thanks for those, both very useful :) And unfortunately I was not born knowing CSS, so I do need noob tutorials to it.[/QUOTE] Meaning you're assuming that we exited the vaginal cavity with knowledge of CSS. :P
What an interesting mix.
It was more of a reference to "Seriously, if you need a tutorial for that..." which made it sound like knowledge of internet coding syntax was something that I should have been bestowed upon being born :P
Whats wrong with tables? :downs:
<div>'s are easier to use.
[QUOTE=Magicgism;24998241]Whats wrong with tables? :downs:[/QUOTE] :suicide: They're good for one thing; displaying tabular data.
[QUOTE=Qombat;25000569]:suicide: They're good for one thing; displaying tabular data.[/QUOTE] Disagree, they arn't even good at that. They are arguably better at displaying layouts but still bad at both. But still, real pros stick to tables cose coding HTML isn't a challenge like tables makes it.
But customizing tables with CSS is a bitch.
[QUOTE=commander204;25001960]But customizing tables with CSS is a bitch.[/QUOTE] That's why you don't use tables at all and use div's instead, which is what I'm trying to learn now.
Not much to learn for the basics, I don't think there is a 'core' to know, you just make containers put them where you want, make them do what you want and color them how you want.
Super tip : If you ever use Dreamweaver,NEVER believe the Design view about your divs
Thanks, I discovered that the other day. Why does it screw up so much?
[B]Because it is Dreamweaver. Even the name is a let down.[/B]
[QUOTE=Magicgism;25001337]Disagree, they arn't even good at that. They are arguably better at displaying layouts but still bad at both. But still, real pros stick to tables cose coding HTML isn't a challenge like tables makes it.[/QUOTE] Displaying tabular data is fine for me.
I like to use [url]http://www.w3schools.com/[/url] for css sometimes.
Sorry, you need to Log In to post a reply to this thread.