owlmoose: (Default)
KJ ([personal profile] owlmoose) wrote2008-05-27 06:55 am

Dear WordPress

The reason I switched to you from FF.net for archiving all my fic was not so you could mess up my formatting by stripping the centering from all my section breaks and sticking the characters at the beginning of the next paragraph.

So much for getting that project finished this weekend...

I

[identity profile] kunstarniki.livejournal.com 2008-05-27 02:31 pm (UTC)(link)
These things are sent to try us.

Your user pic reminds me of Queen Victoria's reprimand to the incompletely costumed Scotsman - "No tam used!"

Re: I

[identity profile] owlmoose.livejournal.com 2008-05-27 03:30 pm (UTC)(link)
It's my favorite icon for representing irritation. ;) (This one isn't bad, though.)

I just wish I knew what had caused it. This problem didn't crop up until I started posting DSHnD; as far as I can tell, all my other stories are formatted fine.

[identity profile] bottle-of-shine.livejournal.com 2008-05-27 06:25 pm (UTC)(link)
You might be better off doing all your formatting in the CSS file; that might be what's gumming it up. I had these problems with wordpress too and finally put all my center breaks in CSS and they worked okay. >.>

Let me know if I can help!

[identity profile] owlmoose.livejournal.com 2008-05-27 07:15 pm (UTC)(link)
Ugh, the whole point of going to WordPress was so that I wouldn't *have* to mess with the CSS.

So do you mean creating a new thing in the stylesheet called "section break" and using that instead of the HTML center tag?

[identity profile] bottle-of-shine.livejournal.com 2008-05-27 07:45 pm (UTC)(link)
Any web project you do will result in CSS. This is the nature of having a website. Having wordpress just means you edit and add, instead of create from scratch. ;)

I use CSS that is likely totally wrong! It's cobbled; it's how I do everything! Welcome to Renay's Coding World, where it's quite possible the coaster will run off the tracks and into a fiery crash 40 feet below! But it'll work until it dies, so if you're okay with that, ahoy!

I use a class (classes, IDs, did we have this talk?) because you can repeat it as often as necessary, unlike IDs. This goes in my CSS file:

p.divider {text-align: center;}

And then for my actual dividers that are hanging out with my story text, I have: <p class="divider">-x-</p>

When you open your CSS file you should see hr { margin: 10px; height: 2px; color: #5b86af; }. I would put the first bit of code I gave you right above that, save and then replace your line breaks with the second bit that I provided, save and see if it works. If it does we might have to play around with the margins a little, because I bet it'll duplicate the <p> tags, but I'd have to see it in action to figure out where to go from there. (Did you add the break tags or did Wordpress? Take those out if you can when you make this change so I can see what the code is doing without them.)

Whenever you have time!

[identity profile] owlmoose.livejournal.com 2008-05-28 12:02 am (UTC)(link)
Ahahaha time. Concert week; no time for anything complex right now. Maybe next week.

I'm just annoyed. A "center" tag is not exactly the most complicated HTML in the world. The whole point of going this route is that it was just supposed to *work* in the short term, to make it easy to get started. Now I have to muck around with the guts of the site to make something as simple as

-X-


not be randomly screwed up? Not what I signed on for. :P Whine, whine.

[identity profile] owlmoose.livejournal.com 2008-05-28 12:04 am (UTC)(link)
PS.

Did you add the break tags or did Wordpress? Take those out if you can when you make this change so I can see what the code is doing without them.

I did not add break tags, nor would I have done so intentionally -- that must have been WordPress, doing something weird with the formatting in Visual mode.

[identity profile] bottle-of-shine.livejournal.com 2008-05-28 03:49 am (UTC)(link)
Yeah, pretty much never ever use Visual mode when you want something specific with HTML!

I'd uhhh do it for you if you'd give me access! NO WHINING NECESSARY.