Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter fastcharles

    (@fastcharles)

    you seem to have the ‘float’ style already, and that should work. However, I was having problems using the stylesheet to change picture properties, that is why all of my code is inline.

    Thread Starter fastcharles

    (@fastcharles)

    You were right, I was able to do it, and get it to look half-decent too. Here’s the code I used, it is all inline, there was nothing added to the stylesheet.

    (p)<div style="margin-left:5px;margin-right:5px;margin-bottom:5px;padding-bottom:5px;border:solid 0px;font-size:90%;color:black;clear:both;float:left;text-align:center;width:175px;line-height:13px;font-style:italic;">
    (a target="_top"><img style="border:solid 0px silver;padding-bottom:2px;text-align:center;" src="https://www.slowthinkers.com/wp/images/thumb-armstrong.jpg" alt="armstrong" title="armstrong">(/a)"Hey, Lance! Check out my shirt! Now everyone will know that I'm your... Oh my god! What are you wearing? I have to go."</div>(/p)

    Granted this was really cumbersome, but it really seems to be the only way to get this to work in wp. The codex was usefull for ideas on adding the inline styles, but the way it tells you to float images and add captions via adding code to the stylesheet.css, did not work for me at all.

    Here is the image in action.
    https://www.slowthinkers.com/wp/?p=62

    Thread Starter fastcharles

    (@fastcharles)

    for an example of what I want to do, I want to add a caption to this:

    (p)
    <img style="float:left;border:solid 1px silver;padding:5px;margin-right:10px;" src="https://www.slowthinkers.com/wp/images/armstrong.jpg">
    (/P)

    Thread Starter fastcharles

    (@fastcharles)

    well i would prefer not to reference the styleheet in posts at all, is there anyway to include captions for images with only inline code?

    Thread Starter fastcharles

    (@fastcharles)

    overall changes that are made to every post exist. The problem is when i try use code referencing my stylesheet in indivdual posts, that code does nothing.

    Thread Starter fastcharles

    (@fastcharles)

    Thanks, I was able to position the images the way I wanted using inline. However I still can’t figure out how to add captions. I find many tutorials for captions, they all give ways to do it in css, but I have this suspicion that my posts don’t retrieve information from my stylesheet, as in, I try to put code in my posts referencing my stylesheet, but I never seen any changes. Is this normal? Or shouldn’t I get a change if I put something like

    <div class="caption">
    whatever my caption is
    </div>

    as long as I have a div.caption category in my stylesheet?

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