/    Sign up×
Community /Pin to ProfileBookmark

problem with positioning image with css and html

I am trying to program my first site with html and css. I have fallen at the last hurdle and would like some help.

I am trying to insert an image in a text box by using html and css code. The css that I am using is;

#texted img.align-left {display: inline; float: left; margin-right: 10px; width: 78px; height: 113px; }

The html code that I am using is;

<p><img src=”http:/what-do-christians-believe.co.uk/wpimages/a-webb-photo.jpeg” alt=”Photo of Tony Webb” title=”Photo of tony webb” />

I have the <p> in front of the image as I have written text that I want to go to the right of the image.

My header image works fine. The path and directoy are the same.
<img src=”http://what-do-christians-believe.co.uk/wpimages/people_2d.jpg” >

You can view the error page [URL=”http://what-do-christians-believe.co.uk/test/author.html”]here[/URL]

Can someone put me out of my misery and ahow me what I need to do to put things right? Thanks
?

to post a comment
HTML

2 Comments(s)

Copy linkTweet thisAlerts:
@jedaisoulSep 12.2012 — This is not a positioning problem. The image is not being displayed because it is not being found. I suspect that there is an error in the src, probably the file extension ".jpeg". Alternatively, check for capitalisation in the file name, e.g. ".../A-Webb-photo.jpeg".
Copy linkTweet thisAlerts:
@tony_webbauthorSep 12.2012 — Thanks for that. It now works fine. Somehow I managed to save the file extension as jpg and not jpeg.

Spent hours trying to find out what was the problem before asking!
×

Success!

Help @tony_webb spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...