Css: when I changed p to span, certain stuff from the class didn't work anymore.?

Joined
Jan 31, 2012
Messages
1
Reaction score
0
(p class="kopje")Over mij: Marrit Schellekens(/p)(br/)
in kopje i had specified the size and the alignment. When i changed the p to span:
(span class="kopje")Over mij: Marrit Schellekens(/span)(br/)
the size still worked, but the alignment didn't. Why is this, and how can i use span, and still have the right allignment. This was the css code:
.kopje (font-size: 40px;
text-align:center;
)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top