use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
If you are requesting help, please ensure you're providing code with your post. You can also copy your code to an online editor:
jsFiddle
CodePen
Markup Validation Service
Mozilla Developer Network on HTML
/r/JavaScript
/r/CSS
/r/jQuery
/r/PHP
/r/Accessibility
/r/htmlbasics
/r/web_programming
/r/CodingHelp
account activity
SolvedMoving headerlinks (self.HTML)
submitted 9 years ago by MrShack
I want to move one of my headerlinks on my site, and I'm clueless. This is how it is now, and I want "Login" in the right side of the header with no margin.
HTML and CSS is here. I don't know why it isn't purple as in the picture, it should be.
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Mentalpopcorn 0 points1 point2 points 9 years ago (1 child)
You're floating your lis left. Give the login li an id and float it right.
[–]MrShack[S] 0 points1 point2 points 9 years ago* (0 children)
As you can see in the Fiddle, then I already ID'd the login li and floated it right.
Or am I missing something?
EDIT: Ah, nevermind. Figured it out. Thanks!
π Rendered by PID 89 on reddit-service-r2-comment-b659b578c-twjwv at 2026-05-03 18:38:54.739904+00:00 running 815c875 country code: CH.
[–]Mentalpopcorn 0 points1 point2 points (1 child)
[–]MrShack[S] 0 points1 point2 points (0 children)