Very Simple CSS question

  • Unknown's avatar

    Hi guys,

    A very simple question – I just want the ability to add a 1px border around my picture at this link:

    http://onceuponathyme.wordpress.com

    Now I know how I do this, I’ve done web design before, but can I make this simple change for free? I may well puchase the editor thing further down the line, but I want to see if I like blogginf first.

    Any thoughts?

    Cheers
    Andy

  • Unknown's avatar

    Switch in the Editor to HTML mode.
    Locate the img tag for the image you want to alter.
    Drop this in to the style=”” attribute:
    border:1px solid #000;padding:0px;
    so the img tag will look like this
    <img src="path/../to/image.jpg" alt="description, yummy" style="border:1px solid #000;padding:0px;" />
    The style=”” attribute can contain other CSS ode, just make sure that you have border: and padding: changed. If you like you can change the border color.

  • Unknown's avatar

    Very Cool! This was the first time I ever tried CSS. It worked for me – geez I could be a programmer after all LOL – NOT. Thanks for the easy directions Deltafoxtrot!

  • The topic ‘Very Simple CSS question’ is closed to new replies.