...

View Full Version : div verse span tag



undyingfires
10-30-2002, 04:18 PM
Generally I know the differences between these two tags.

What I was wondering, is when I want to apply a class from my CSS file, which is better to use?

<div class="aclass">Sentence</div>
or
<span class="aclass">Sentence</span>

I'm not that knowledgeable, so pls forgive it this is a silly question :)

jkd
10-30-2002, 05:05 PM
span is inline, div is block. Other than that, they both are by default unstyled.

undyingfires
10-30-2002, 05:19 PM
Okay then, thanks for your input :)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum