AndyKent
Member
Registered: 3rd Sep 05
User status: Offline
|
quote: Originally posted by ed
CSS confuses me because I haven't read up on it. I plan on redoing my clubs site in it at some stage in January as at the moment it is all hacked to pieces by my friend and myself. Are there any sites people can recomend me where I can get some good info? Cheers
TBH a good book is more useful I find. Something like O'Reilly CSS handbook - only a £5 is Waterstones IIRC. Other than that you could try W3Schools tutorials.....
|
James
Member
Registered: 1st Jun 02
Location: Surrey
User status: Offline
|
quote: Originally posted by aPk
quote: Originally posted by drax
<center></center>
Is that not depreciated in the latest version of HTML? I could have used this but wanted to have W3 compliant code.....
[/geek]
Yes it is highly out of date.
Use style="text-align:center" as a property of whatever you want to center.
|
ed
Member
Registered: 10th Sep 03
User status: Offline
|
So is the use of tables just froned upon because the site I have been fucking about with trying different CSS things on is W3 compliant...
http://snare.astonsnow.com/
|
AndyKent
Member
Registered: 3rd Sep 05
User status: Offline
|
I think it all depends on what you want the site to do in the future.
If you do it all in CSS then it can be pretty quickly changed to a different design while keeping all the word etc the same.
I find using simple tables a hell of a lot easier to get on with using CSS to adjust the colours, styles etc.
I reckon its up to you.......as you say, W3 recognise either method so go with what you are comfortable with.
|
MarkPW
Member
Registered: 21st Jun 04
User status: Offline
|
Think you missed my post apk. All it takes is a simple bit of css to center all your content regardless of whether you use tables or divs for your main stuff.
As for learning CSS, I think the best way to learn - as in the majority things - is trial and error, Ed. You might want to have a look at some other well designed CSS websites combined with online tutorials. A good example of the versatility of CSS is http://www.csszengarden.com
|
drax
Member
Registered: 5th Feb 05
Location: Sittingbourne, Kent
User status: Offline
|
quote: Originally posted by James
quote: Originally posted by aPk
quote: Originally posted by drax
<center></center>
Is that not depreciated in the latest version of HTML? I could have used this but wanted to have W3 compliant code.....
[/geek]
Yes it is highly out of date.
Use style="text-align:center" as a property of whatever you want to center.
fair enough but text-align wont center anything other than written text in that enclosure, it doesnt center divs and things does it.
|
AndyKent
Member
Registered: 3rd Sep 05
User status: Offline
|
Sorry Mark - did miss that. Simple as that eh! Wish I'd found out earlier!
|