tables and divs

Soldato
Joined
10 Apr 2006
Posts
7,890
Location
North West
I used to make websites a while ago using tables as the main layouts with images inserted into certain cells.
But ive recently started to try and make sites again as i need one to host my uni portfolio work.
I was told that tables ar ethe "wrong" thing to do for the layout of a website and should only be used for tabular data, which is understandable.
But is using divs the only "correct" way to do layouts now if i want to use CSS + xHTML ?
As many things that i want to do i cant seem to do, even simple things such as slicing and image i find difficult as the alignment never seems to work properly on anything i do!
If anyone has any time and they want to help me more than just posting on here, just add me to MSN thats in my trust and ill take any help you can give me , as i can show you the site and what i really want to do if possible.

ps. I have a BG colour set using hex, the colour is the same as an image in FF and IE7, but in IE6 its different so u can tell where the image ends, IE7 bug or my fault?

Any help mucho appreciated :)
 
yeah ill upload what im working on soon, managed to add some links into the site, but they're positioned by using pixel placement on the page, which might be bad, but i don;t know!
Thanks for the replies so far :)

edit:

is there an easy way or having a sliced image as your website then, like you could with tables? What basic code does that require in order to have similar looks?
 
slightly off topic of divs and tables, but still in the context of CSS ans xHTML, i have an image centered on the page, and a background colour which is the same hex colour as the image. Im FF and SM you cant tell where the image ends and the background colour begins, but in IE7 and IE6 ( on seperate PCs ) the background colour is a lighter shade of red, even though the hex is the same setting :/ that just a bug with IE6/7 or something i havent set in CSS?
 
ah sweet, thanks a lot!
Solves one of my problems! Just gotta get my site, or what ive done so far, uploaded so people can help if they can! :cool:
 
Back
Top Bottom