1 reply [Last post]
radith
Offline
newbie
Last seen: 18 years 8 weeks ago
Joined: 2004-08-09
Posts: 4
Points: 0

Is #container

the same as...

div#container

Cheers.

DeEsser
Offline
newbie
Last seen: 18 years 3 weeks ago
Joined: 2004-09-19
Posts: 4
Points: 0

Is this the same??

No, not exactly the same. While div#container addresses only <div id="container>, #container doesn't care which kind of element your container is. It could also be <p id="container">, <h1 id="container">, and so on...