Page Width
-
What is the CSS code to change to page width of posts?
I have several posts that run too wide – encroach on the right-hand margin –This is an example –
http://discoverandrecover.wordpress.com/2008/05/28/business-week-reporter-needs-parents-to-help/Is there a code I could put in Custom CSS that would make the margin less wide on the right-hand side?
Duane
-
-
boblets – I was wondering that, too, but the intro paragraph doesn’t have the margin problem (which it should if it was a CSS issue), and there’s a line near the end that actually overflows the box that’s allocated for the post content (which won’t happen based on any sort of global CSS setting).
-
To be more technically correct about the overflow, I can see how you could get the page to behave the way that it is using a combination of CSS and span elements; I don’t think anyone would go to the trouble of forcing a page to do that, though, except for demonstration purposes. :-)
-
Yes- I wondered about that too… there seems to be a whole pile of style – tags in the source code that styles directly. But I’m not sure – just had a quick look.
-
Are you familiar with the white-space property? Its one of the few ways I can think of to get text to overflow a fixed-width containing block…
-
no, not familiar with that – interesting. My knowledge of CSS is on a “figure out how to do it when I need it”-level. And I don’t use WYSIWYG-editors, just code editing, so what havoc Word can do, I know little about (but I’m not suprised).
There seems to be other odd things in Duanes blog though- there seems to be padding missing here and there – I assume the design of the template don’t mean to but the search-box so close to the column edge…? And some of the comments do the same, regardless of page.
-
That seems to be a characteristic of the theme. I just switched my testing blog to it, and the search boxes are flush left within the sidebar. I also added a longer comment, and the text was willing to run all the way over to the border of my avatar.
-
-
-
Each post – one at a time?
I hate to even ask – how would I know what an ‘extra HTML tag’ was?I think I’m in over my head with this.
I thought that the Custom CSS might have a code that I could assign to the blog – that would adjust the right-hand margin on each post – to clean them up, and prevent them from happening from this point forward.
Guess it doesn’t work that way, uhh?
Oh well,
Thanks for your help, and all of your time – appreciate it very much.
Duane
-
I’m wondering: you didn’t happen to post that using an old version of Opera, did you? Sometimes that will cause a similar error.
-
And no, CSS won’t work that way. You should be able to just go to Edit the post and hit the Clean Up Code brush on the Advanced Toolbar. Advanced toolbar is reached by clicking on the far right-hand icon on the toolbar of the Edit page, the one with the multicoloured squares. Then the brush icon is the one you want. Just click it.
-
-
raincoaster,
when i go to the advanced toolbar – which one is the brush icon – i see an eraser icon – is this it?
not sure how to use it
duane
-
Isn’t that strange. There used to be a brush, I’m telling you. I would just click to the Code editor and click the Close Tags button. That’s easier.
-
There was certainly a brush — or a broom — saying clean up code, or something like that. But now icon #7 is an eraser.
http://faq.wordpress.com/2006/05/15/what-do-all-the-icons-mean/
-
-
- The topic ‘Page Width’ is closed to new replies.