Unstoppable Domains

CSS question

Spacemail by SpaceshipSpacemail by Spaceship
Watch

hellmet

Established Member
Impact
1
Check out vsanjay.com
I badly want to place that google ad between the text " Sanjay Varanasi" and the search button and it should be equally placed between the top and bottom of the black header..
Please help me with this CSS stuff!!
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
like this?

Untitled.jpg


done with css altering and adding to the css table.

i'll be in school tomorrow but I will check back to see if this is what you meant.
 
Last edited:
0
•••
how did I manage to write in the wrong thread!

sorry, ignore :)
 
Last edited:
0
•••
G33K said:
like this?

Untitled.jpg


done with css altering and adding to the css table.

i'll be in school tomorrow but I will check back to see if this is what you meant.
Yes yes... how do I do that?
 
0
•••
k one sec i'll give you the commands.

first add this to the styles.css file

#str {position: absolute;
bottom: 1px; right: 250px}

#ser {position: absolute;
bottom: 5px; right: 100px}

then add this to the page you want edited.

add div to the google ad and the search button

here is the code with the div elements.

you have to find the google ads and the search button give them their own div elements like this. lines 57 to 71



Code:
	<div id="str">
   

<script type="text/javascript"><!--
google_ad_client = "pub-8937402282256329";
//468x60, created 11/17/07
google_ad_slot = "8213885464";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">

</script></div><div id="ser">

    	<label for="s">Search</label>
		<input type="text" name="s" id="s" size="15" value="search..." onblur="if(this.value=='') this.value='search...';" onfocus="if(this.value=='search...') this.value='';" />
		<button type="submit"><img src="http://vsanjay.com/wp-content/themes/stardust-10/images/cerca.jpg" alt="search" /></button><!--<input type="submit" value="Search" />-->
	</div>

p.s. made the str and ser up they have no meaning I was tired last night and don't know what I was thinking.
 
Last edited:
0
•••
guess you don't need anymore help.

p.s. you did something wrong. (something small)
 
Last edited:
0
•••
oh and your welcome.

lol not even a thank you??
 
0
•••
Sorry.. was slightly busy.. I guess everyone is with the thanksgiving :D
I'm not able to get it right.. any idea what mistake I made?

Btw, Happy thanksgiving.. if you happen to celebrate it.
 
0
•••
the ; that was at the end of the file before you added the css that I gave you.

#content_start {position: absolute;left: -10000px;}
#str {position: absolute;
bottom: 1px; right: 250px}

#ser {position: absolute;
bottom: 5px; right: 100px};

this is what should be there.

move the ; to the end and delete the one at the end of content_start line

that was a closing mark you put the css on the outside
 
0
•••
Ohh.. that worked!! I wish I were as good as you with CSS.. Thanks mate.. you're truly a geek :D
 
0
•••
Dynadot — .com Registration $8.99Dynadot — .com Registration $8.99

We're social

Unstoppable Domains
Domain Recover
NameMaxi - Your Domain Has Buyers
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back