Reputation: 155
This is my problem : http://jsfiddle.net/F6pNm/8/
I need the text to appear on same line as the links. But it keeps using adding a empty line at the right.
EDIT: Forgot to mention, I need the text within the div to be centered between the links.
Upvotes: 0
Views: 170
Reputation: 23211
if you add this:
#footer {text-align:center;}
and add
#flash {display:inline}
to the 'flash' id
if will work : http://jsfiddle.net/F6pNm/24/
note: This will also work if you want to center more than one div, just use a class
instead of an id
(and .
instead of #
) to apply it to multiple divs
Upvotes: 1
Reputation: 7722
Use display: inline-block
for the flash div. Since you mentioned you want the content centered, add #footer { text-align: center; }
to your style rules.
Upvotes: 0