id selector : # vs NUMBER
id selector : # vs NUMBER
- Started
- Last post
- 3 Responses
- stringbean
i read somewhere that for ID selectors to work you need to use "NUMBER" instead of #, otherwise Safari, Camino, Opera and Firefox won't read it.
is that true?
possible noob ?, but am learning CSS (woot) and i didn't see anything by doing a search.
thanks in advance.
- stringbean0
no one?
- asprin0
As far as I know, you can use numbers, text and any combination of both. The thing about ID selectors is that they can only be used once on a page where as class selectors can be used repeatedly.