Hi
I use tables for my layouts, but I want to learn to code with CSS & divs! If anybody could provide a tutorial or a link to a tutorial I would be grateful!
font

Hi
I use tables for my layouts, but I want to learn to code with CSS & divs! If anybody could provide a tutorial or a link to a tutorial I would be grateful!
font
Need a layout coding? Need a layout? Need a site banner or logo? PM me, I'm sure we can arrange a small price!
Thanks, I can't find anything on divs
Keep posting!![]()
Need a layout coding? Need a layout? Need a site banner or logo? PM me, I'm sure we can arrange a small price!
OK, thanks very much Aflux and Tomm!
Need a layout coding? Need a layout? Need a site banner or logo? PM me, I'm sure we can arrange a small price!
Basics:
Div tag - <div></div>
To give a propertie(SP) to a div - <div id='hi'></div> or <div class='hi'></div>
Difference between id and class is that class can be reffered to more than once where id cannot.
So to give the div style, in your style sheet.
For the ID
#hi { background: white; }
or for class
.hi { background: white; }
Thanks sygon..! If you have time, could you write a tutorial on using divs instead of tables?You seem like a good coder!
Need a layout coding? Need a layout? Need a site banner or logo? PM me, I'm sure we can arrange a small price!
PropertyBasics:
Div tag - <div></div>
To give a propertie(SP) to a div - <div id='hi'></div> or <div class='hi'></div>
Difference between id and class is that class can be reffered to more than once where id cannot.
So to give the div style, in your style sheet.
For the ID
#hi { background: white; }
or for class
.hi { background: white; }
Anyway your best to look at examples and then copy sniplets from there to try and learn from
Want to hide these adverts? Register an account for free!