CSS Vs Normal "Tablling"
Hi ppl! hows things? wife fine and all?
Herīs the thing iv been trying to solve..not done yet so here iam.
I have good experience with html, but not with CSS..and to create something really tiddy and clean CSS is the best choise (also allows a more fast way to change the site layout..easy to find code etc), my problem is this:
Im creating a website that basicly uses standard tables etc..i just use Div tags with css for some text here and there..nothing fancy, cause i dont know "jack" about it, but i really..i mean REALLY whanted to create it all via CSS..the layout, so the code appears clean and tiddy at the looks of google for ex
Here is an example of what i whanted..
<table align="center" bgcolor="#415497" width="760" CELLPADDING="0" CELLSPACING="0" BORDER="0">
<td colspan="5"><img src="blablabla.gif" height="4" width="760" alt=""></td>
<td valign="top" width="172"><img src="blablabla.gif" border="0" height="64" width="760"></td>
This is how it starts after the body tag..now, how can i do that via CSS for ex? and basicly do the same fo the rest of all tables..
Cheers to u all!
I can do it for you in Dreamweaver if you want me too. Then i'll just post the code here for you???? But since you are hand coding it its harder, you'll have to creat a .css page that has all of the properties you want for your .htm page...
Man that would be great, cause im not following much of this..:\
ok... umm... it might be easier if you send me the picture and tell me exactly what your doing... then i'll do it in Dreamweaver then send u the .htm page and the folder the pics are in and stuff. Then after that you can take a look at the code or just keep the page. :)
kay, iīll send it tomorrow, im off 2 bed (kinda late here!), tomorrow around 2pm (its 2am here now)
Thanx once again man!
Divisions replace tables. They are containers for content. These containers can be styled however you wish. The reason divisions are becoming more popular is because they were actually made (and better for the job than tables) for layouts. Unlike that of tables, which were made to contain tabular data, although many people seemed to like using them for layouts. Basically, there are three to two easy steps for a division to be of any use: 1.)make your division 2.)create any attributes (such as class or id) 3.)create the style rule....If you having trouble on how to style tables, a good site would be www.csszengarden.com and www.w3schools.com
I hope this kind of helps you out with your css and goodluck :D.