Aligning certain lines of text in sidebar
-
Hello,
My blog is here. Sorry if the answer to this is obvious. I inserted a quotation at the top of my sidebar, and I’m wondering how to align the byline (“–Erich Fromm”) to the right. Here are the first several lines of code in my sidebar.php file:
-
<!– SIDEBAR LINKS –>
<div id=”menu”>
<div id=”nav”>
[p]
“Man is the only animal for whom his own existence is a problem which he has to solve.” [br /]
–Erich FrommI’m a CSS novice, but I know that the tag refers to the style sheet and that the quotation is styled accordingly. What I can’t figure out is how to isolate that one line of text (the byline) and style it differently. I’m also not sure what tag to use to do that.
I also noticed, while viewing my blog on a Windows machine, that the quotation is pushed to the very top of the sidebar, too close to the banner. On my Mac, there’s a nice margin above the quotation of 10 pixels or so. Any thoughts on how to fix this?
Thanks.
- The topic ‘Aligning certain lines of text in sidebar’ is closed to new replies.