• Hi – I’m new here, so go easy.

    I am trying to work out new template, and I’m just at the very beginning stages. I have something in mind, and I have no idea if it’s possible. I’m creating a Photo/text blog, posts of 5-10 large pictures, with text in between them. I can set up a fixed width page easily enough, but then I have lines of text that are 1000 pixels wide, and that looks pretty bad. I am wondering if I can have #content in the style.css be a certain width, and have pictures take up the whole width, but then have a narrower width for text. Is this crazy?

    Thanks for reading.

Viewing 4 replies - 1 through 4 (of 4 total)
  • How about:
    #content p {
    margin: 0 200px 0 200px;
    }

    Thread Starter spiffae

    (@spiffae)

    Well, that ads a 200px margin on the left hand of my #content area – the problem is it pushes my images over (and out of the div) as well. I’m trying to do something like that (big margins would be perfect) without affecting the images. Doable?

    Change the qualifier (above example should only effect <p> tagged elements in the #content), or don’t use para tags on your images. It shouldn’t effect any images that way…

    Thread Starter spiffae

    (@spiffae)

    sorry, could you explain that a bit? I put that code into my style.css, and then without tagging anything i got an indent. Would this be something I would have to write into every post manually?

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Line Lenght vs. Content width’ is closed to new replies.