3 ms·
I think there needs to be a "center the page" browser extension because this is just absurd: https://imgur.com/a/HZqaA4V https://imgur.com/a/HZqaA4V
by lloydatkinson 4y ago
I think there needs to be a "center the page" browser extension because this is just absurd: https://imgur.com/a/HZqaA4V https://imgur.com/a/HZqaA4V
- muattiyah 4y agoI always thought it was weird when people have websites like this, anyways, for those phased away and want to read this article while centered, execute in the console: document.getElementsByTagName('body')[0].children[0].style.margin = '0 auto';
- lloydatkinson 4y agoThat's a good tip! I also think its just as weird when sites have zero links to their home page. On what planet is "go to the address bar and delete the last part of the url and hit enter to go to the index" good user experience?
- Monadic-Cat 4y agoAgreed. It was a good tip. My goal in leaving out the link to my home page was to make the Writing Gaggle home page more prominent than my personal blog. (I manage hosting both, see.) I only added my blog index page as an afterthought when I saw a ton of 404 errors on my server a few months ago because people were manually navigating to it. I'll consider adding actual navigation to my page template though, so maybe you'll be less annoyed ;)
- Monadic-Cat 4y agoI'll go ahead and promise to leave the '#wrapper' id on that element in my blog template, so this can be shortened to: document.getElementById('wrapper').style.margin = '0 auto'; Though if you're in the habit of customizing sites you read, I'd personally recommend using a browser extension like Stylus (https://add0n.com/stylus.html https://add0n.com/stylus.html) to do CSS, so you could write it like this: #wrapper { margin: 0 auto; }
- kibwen 4y agoCtrl+Shift+K for the web console, then `document.body.style.display = "flex"; document.body.style.justifyContent = "center";`.
- avtar 4y agoFirefox has built-in reader view, and whatever the Chrome equivalent is.
- kps 4y agoText becomes hard to read when lines are much over 70 characters. I don't know that there's a universally preferred solution. Personally, I only use movie-shaped windows for movies, and page-shaped windows for everything else.