Quote:
Originally Posted by drhowarddrfine
That's my mistake. The problem is that <span> is for inline styling and inline elements cannot be moved unless you change them to block: {display:block;text-align:center}.
However, the thing nowadays is to create mark-up that is "semantically" correct, ie, the tag matches what the content is. In other words, "Latest News" is a headline for the rest of the column so it should be a <hx>, such as <h3>. Doing so then allows you to just do:
.news h3{text-align:center}
Oh okay, I was wondering a bit of the <span> tag. Thanks :)
As for putting the "Latest News" in a heading tag, I had thought about that, but it also puts that extra space (not sure how else to decribe it) after it. I was looking for a way to not have that "skipped line" that comes with the heading tags, paragraph tags, and other things.
Is there no other way to do this correctly?
EDITED:
. . . Well . . . I guess I will just made it a Header. The space isn't too too bad if one isn't so used to seeing it without it. Besides, I suppose it would made it more correct to do it this way, right? Thanks for the help, I was trying to use the <span> to position, when the only way to position something like that would be as a block of it's own. Thanks again!
~Michael