PDA

View Full Version : * in CSS Class's!


vancar6
10-19-2010, 10:40 PM
Hello people!
I have just got Dreamweaver and i am making a CSS site.
How do i make the * work?
I want the ID of my class to be a * but it won't allow me!

http://i52.tinypic.com/219naeg.png

This is the error:
http://i56.tinypic.com/301ko54.png


I am following this tutorial:
http://www.youtube.com/watch?v=hBWiS6soZfs

Please help me!

Thanks!
Vancar
Im using Adobe Dreamweaver CS5 for OSX 10.6

edbr
10-20-2010, 01:43 AM
why do you want to use *wrapper ?

d a v e
10-20-2010, 05:43 AM
just
.wrapper

Corrosive
10-20-2010, 07:20 AM
A class must start with a period and an ID with a hash. That's just the way it is.

vancar6
10-20-2010, 08:23 AM
why do you want to use *wrapper ?

View the video im watching (He is using a method).
Do you know nay good video design lessons?
Thanks

gentleone
10-20-2010, 08:29 AM
Maybe you mixed something from the vid. The asterix in a css means only that you apply rules to all the HTML elements like setting a margin 0 for instance like so.

* {margin: 0}

And they also use an asterix alot in CSS hacks for IE6 and below.

vancar6
10-20-2010, 08:35 AM
Okay.
Is there a good way to make a GOOD looking website?
Any good video tutorials?
I really need to know!
Also how do i make a flash element dock right at the top with no gap?
Im making a flash header.

Thanks!

gentleone
10-20-2010, 08:45 AM
Okay.
Is there a good way to make a GOOD looking website?
Any good video tutorials?

Personally I learn things from articles and written tutorials, but I believe Lynda.com is a good source for video tutorials.
http://www.lynda.com/

Corrosive
10-20-2010, 09:02 AM
There's not really one 'do it all' tutorial out there as web deisgn can be complicated. Controlling all the elements of a page takes time, patience and little bits of learning from all over the web. Especially forums like these are very valuable as you can chat with other web folk of equal or more experience to you. That's really how I learnt.

This is a good starter for ten though; http://net.tutsplus.com/tutorials/site-builds/from-psd-to-html-building-a-set-of-website-designs-step-by-step/