/    Sign up×
Community /Pin to ProfileBookmark

[RESOLVED] image not showing up

ok so i’m kinda new to CSS and i’m quite proud of myself for creating a site using it…
but i am getting frustrated that a thumbnail isn’t showing up. i first tried the “HTML” way by placing it, giving it H space and aligned it to be in the middle but when viewing it in the browser (i’m using dreamweaver by the way) i get a broken link…
so i tried making the thumbnail the background-image, and while i can see it in dreamweaver (it’s positioned right and everything) it won’t show up AT ALL when i preview it in the IE browser.
i did some research and i thought maybe the order was wrong so i made the background-image line before the “position” line and it still won’t come up (at least not in the browser anyway)…
here is the code for this particular section:

#p.kimK{
background-color:#272727;
color:#FFFFFF;
font:x-large/normal tahoma;
display:block;
width:413px;
padding:16px 0px 0 12px;
margin:5px 0 0;
background-image: url(/images/thumbnails/kimmieK.jpg);
background-repeat: no-repeat;
background-position: right;
}

? what am i doing wrong? how can i place a thumbnail next to the header and it actually shows up in the browser. help please! this site needs to go up in a couple of days and i’m pulling my hair!
thanks!

to post a comment
CSS

4 Comments(s)

Copy linkTweet thisAlerts:
@FangApr 06.2008 — The usual problem is a wrong path. Try adding an [I]img[/I] with the exact same path.
Copy linkTweet thisAlerts:
@BossLovelyauthorApr 08.2008 — i checked, double and triple checked - the img is pointing to the right path ?
Copy linkTweet thisAlerts:
@CentauriApr 08.2008 — Try removing the leading "/" from the path - that refers to the site root, but only when on a server and not locally.
Copy linkTweet thisAlerts:
@BossLovelyauthorApr 08.2008 — it worked! THANK YOU!

*tears of joy* ? ? ? ? ? ?
×

Success!

Help @BossLovely 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 5.20,
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: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

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

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...