Webmaster Forum

Go Back   Webmaster Forum > Web Development > Coding Forum

Coding Forum Problems with your code? Discuss coding issues, including JavaScript, PHP & MySQL, HTML & CSS, Flash & ActionScript, and more.


Reply
 
LinkBack Thread Tools Display Modes
Old 07-19-2009, 01:04 PM   #1 (permalink)
Junior Member
 
Join Date: 07-19-09
Posts: 2
iTrader: 0 / 0%
Latest Blog:
None

mr0938 is liked by many
Need help with adding image to wp header.

Hello all

I'm having trouble adding a picture to my wordpress header. Specifically to the .header right. I'm sure it has something to do with the image sizing but I don't know how to make it work. Right now the image size is 192 x 125, but when I uploaded it the image properties show 192 x 30??? I would also like to remove any borders from the image so it blends into the theme backround properly. Any help would be greatly appreciated!

Here is the site: provenhemorrhoidtreatment.com.

The alt text shows up and it is clickable, but no pic??? Here is what I have in my stylesheet css:
Code:
img.alignright { padding: 4px; float: right; margin-top: 10px; margin-left: 10px;} img.center { padding: 4px; display: block; margin: 5px auto; clear: both;} h1, h2, h3, h4, h5, h6 { font-family: "Trebuchet MS", "Times New Roman", Tahoma; text-transform: capitalize; letter-spacing: -1px; } #wrapper { width: 900px; margin-right: auto; margin-left: auto;} #header a img{border:0} { float: left; width: 900px; padding-top: 6px; position: relative; background-image: url(http://provenhemorrhoidtreatment.com.../07/hemorrhoid treatment medical.jpg);background-repeat: no-repeat; background-position: center;} #header img { border-width: 390px;} .header-left { float: left; width: 390px; padding-top: 10px; padding-bottom: 20px;} .header-left h1 { font-size: 25px; margin: 0px; padding: 0px; float: left; width: 390px; color: #000000; line-height: 30px;} .header-left h1 a { color: #000000; text-decoration: none;} .header-left h1 a:hover { color: #990000; text-decoration: none;} .header-left p { font-size: 15px; font-weight: bold; margin: 0px; padding: 0px; float: left; width: 390px; line-height: 18px; color: #333333;} .header-right { float: right; width: 500px background-image: url('http://provenhemorrhoidtreatment.com/wp-content/uploads/2009/07/hemorrhoid treatment medical.jpg');background-repeat: no-repeat; background-position: center;}

Last edited by htmlbasictutor; 07-19-2009 at 04:53 PM..
mr0938 is offline  
Add Post to del.icio.us
Reply With Quote
Old 07-20-2009, 03:45 AM   #2 (permalink)
nic
Member
 
Join Date: 10-19-07
Location: Australia
Posts: 36
iTrader: 0 / 0%
Latest Blog:
None

nic is liked by many
Try adding height to #wrapper and all the other relevent parts surrounding? Perhaps also the image CSS specs itself.
Code:
height:125px;
Code:
? whats this ? it does not appear correct, that's one hell of a border. #header img { border-width: 390px;}
nic is offline  
Add Post to del.icio.us
Reply With Quote
Old 07-20-2009, 07:35 AM   #3 (permalink)
Junior Member
 
Join Date: 07-19-09
Posts: 2
iTrader: 0 / 0%
Latest Blog:
None

mr0938 is liked by many
That doesn't seem to work?? I did fix the #header img. Any other suggestions?
mr0938 is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Coding Forum

Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
image header woogley SEO Forum 4 06-08-2009 10:01 AM
Auto adding a header? homebrewpcgaming Coding Forum 3 05-27-2008 02:25 PM
Need Some Help in a header image sizzler_chetan Graphic Design Forum 12 05-27-2007 03:35 AM
Header image Brian Graphic Design Forum 7 08-12-2005 07:35 AM
Adding one image to another image via script Pimpen 2010 Coding Forum 19 08-07-2004 12:41 PM


Sponsor Links
Get exposure! Contextual Links V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 06:51 PM.
© Copyright 2008 V7 Inc
Powered by vBulletin
Copyright © 2000-2009 Jelsoft Enterprises Limited.


Search Engine Optimization by vBSEO 3.3.0 ©2009, Crawlability, Inc.