Membership is FREE – with unlimited access to all features, tools, and discussions. Premium accounts get benefits like banner ads and newsletter exposure. ✅ Signature links are now free for all. Share your own thoughts and experience, accounts may be terminated for violations.
  • Welcome to AcornDomains.co.uk, a friendly community for UK domain investors, developers and anyone interested in domain names.

    Whether you're looking to buy or sell domains, learn more about the UK domain market, get feedback on your names, or simply chat with other domainers, you're in the right place. AcornDomains has been bringing together people from across the UK domain industry for many years, from complete beginners to experienced investors.

    Have a look around, join the discussions and, if you haven't already, create a free account and introduce yourself.

WP pic positioning help rqd

Status
Not open for further replies.
Joined
Nov 25, 2006
Posts
2,686
Reaction score
27
I have a text free page in Wordpress where I want to place an image.

I can use the image upload tool and position pic > left, center, or right
however this is no good as I need it offset within the page.

Any ideas anyone?

TIA

Howie
 
Put the image in a separate div...example would be

<div class="left-image">url for image</div>

Add to style sheet:

.left-image {padding-left: 10px;}

Hope this helps..
 
Put the image in a separate div...example would be

<div class="left-image">url for image</div>

Add to style sheet:

.left-image {padding-left: 10px;}

Hope this helps..

hmmm, tried this, prob not putting code in correct place ...

e.g. in my styles sheet there's all this { stuff } going on either side of each piece of code, should I be doing this? also not sure where abouts in stylesheet I should drop it in ....


does <div class="left-image">url for image</div> need the src= thingy?

thnx !
 
hmmm, tried this, prob not putting code in correct place ...

e.g. in my styles sheet there's all this { stuff } going on either side of each piece of code, should I be doing this? also not sure where abouts in stylesheet I should drop it in ....

Copy what I put and paste it at the bottom of your stylesheet, I'm assumming you want the image to be offset from the left, if so change the 10px to whatever offset you require.


does <div class="left-image">url for image</div> need the src= thingy?

thnx !

<div class="left-image">http://www.yourdomain.co.uk/uploads/image.jpg</div>

Any problems send me a PM.

Richard
 
Last edited:
Status
Not open for further replies.
Top Bottom