|
|||||||
New to SitePoint Forums? Register here for free!
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
SitePoint Enthusiast
![]() Join Date: Oct 2009
Posts: 75
|
how can i insert image in header?
hi
friends i need your help! i wanted to add the image in replace of text and secondly , i wanted to add the adsense unit under the header can any one help me this is my blog http://jokewallpaper.blogspot.com/ thanks in advance |
|
|
|
|
|
#2 |
|
Hibernator
![]() ![]() ![]() ![]() ![]() Join Date: Nov 2007
Location: Malaga, Spain
Posts: 747
|
we had this interesting quiz recently, which i assume is what you want.
|
|
|
|
|
|
#3 |
|
Javascript Monstaa
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2008
Location: Cuyahoga Falls,Ohio
Posts: 1,228
|
HTML4Strict Code:
CSS Code:
|
|
|
|
|
|
#4 |
|
SitePoint Enthusiast
![]() Join Date: Oct 2009
Posts: 75
|
let me try
how can i can remove the sidebar boders |
|
|
|
|
|
#5 |
|
CSS Guru in Training
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Oct 2008
Location: Whiteford, MD
Posts: 8,684
|
If you mean both sidebars, then on #left-sidebar-wrapper and #right-sidebar-wrapper you set a border:1px solid #4c4c4c.
Remove it. |
|
|
|
|
|
#6 |
|
SitePoint Enthusiast
![]() Join Date: Oct 2009
Posts: 75
|
|
|
|
|
|
|
#7 |
|
SitePoint Enthusiast
![]() Join Date: Oct 2009
Posts: 75
|
|
|
|
|
|
|
#8 |
|
CSS Guru in Training
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Oct 2008
Location: Whiteford, MD
Posts: 8,684
|
|
|
|
|
|
|
#9 | |
|
SitePoint Enthusiast
![]() Join Date: Oct 2009
Posts: 75
|
Quote:
plz |
|
|
|
|
|
|
#10 |
|
Aiming for best practice
![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Mar 2009
Location: Melbourne, Australia
Posts: 1,035
|
In your CSS stylesheet, add the red code:
Code:
#header {
margin: 5px;
border: 1px solid #4c4c4c;
text-align: center;
color:#cccccc;
background: transparent url(/images/background.jpg) no-repeat scroll 0 0;
}
|
|
|
|
|
|
#11 |
|
SitePoint Enthusiast
![]() Join Date: Oct 2009
Posts: 75
|
thanks for the help
how can i insert the adsense unit under the header image |
|
|
|
|
|
#12 |
|
CSS Guru in Training
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Oct 2008
Location: Whiteford, MD
Posts: 8,684
|
Give the header iimage a...wait are you talkin about the header background image?
If so, and the header image stretches all the way across, you will need to give the header a top padding equal to the header images' height. That way all content will start below it, then just place the adsense code in |
|
|
|
|
|
#13 |
|
Aiming for best practice
![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Mar 2009
Location: Melbourne, Australia
Posts: 1,035
|
What do you mean? The adsense column is under the header. Do you mean horizontally?
By the way, I didn't notice that you wanted the header image to replace the text. You could move the text to one side if you wanted to. Code:
h1 {text-indent: -9999px;}
|
|
|
|
|
|
#14 | |
|
SitePoint Enthusiast
![]() Join Date: Oct 2009
Posts: 75
|
Quote:
|
|
|
|
|
![]() |
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
|
All times are GMT -7. The time now is 11:18.







.



Linear Mode
