Unstoppable Domains โ€” Expired Auctions

Coding something like this..

SpaceshipSpaceship
Watch
Impact
45
Hey guys,

I was wondering, for dynamic content, how would you make the text fit around the ad like this:
inline_wraptop.gif


I hope the question I am asking makes sense.

Isn't the table layout for that basically just 3 cells, one on the left with the ad in it, one on the right with the starting content, and one underneath with the rest of the content?

I don't get how you could put an ad (or an image) like that with content surrounding it, and at the same time, not yet have the ad wind up on top of everything and yet be side-by-site with it so perfectly. I know how to do it with non-dynamic content, but how do you do it with dynamic content that varies in length?

Or is the text in there justified and it's one cell or what?

Sorry I'm so confused.
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
lol thats google's adsense, its one of the cool reasons to use adsense. the ads google puts on your site only are about what your site is about, so itll be of interest to ur readers. its prolly some really complex keyword algorithm. its like asking, how does google manage to search some 8 billion pages in less than a tenth of a second?

oh lol i misunderstood ur question... uh as for wrapping, u might wanna take a look at the source for that website.
 
0
•••
0
•••
Or having an empty table cell that the code is placed into.
 
0
•••
I asked a friend of mine good with CSS, he said it was the float thing like Albino suggested.

It's not working for me though, my CSS has this:
Code:
 #adbox {
float: right;
}

And here's my content code:
Code:
<div id="adbox"><p>Lorem ipsum dolor 
										sit amet, consectetuer adipiscing elit. 
										Donec dolor ligula, lacinia quis, mattis 
										sit amet, accumsan ac, nunc. Nam tellus 
										nulla, convallis a, dignissim vitae, 
										vestibulum eget, mauris. Pellentesque 
										est. Vestibulum ante ipsum primis in 
										faucibus orci luctus et ultrices posuere 
										cubilia Curae; Phasellus nulla. Proin 
										velit sapien, feugiat sit amet, laoreet 
										ut, elementum ut, ante. Praesent ut 
										massa. In hac habitasse platea dictumst.<script type="text/javascript"><!--
google_ad_client = "pub-***";
google_ad_width = 180;
google_ad_height = 150;
google_ad_format = "180x150_as";
google_ad_type = "text_image";
google_ad_channel ="***";
google_page_url = document.location;
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "000000";
google_color_url = "FF3300";
google_color_text = "666666";
//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
										Donec fringilla urna eget pede. Aliquam 
										pulvinar fringilla elit. Praesent 
										pretium pede ac lectus. Quisque nec 
										lorem non massa auctor dapibus. Nunc 
										tincidunt risus in pede. Donec laoreet, 
										dolor quis egestas elementum, turpis 
										eros tempor mi, id rutrum eros purus eu 
										nunc. Nam dignissim ultrices pede. Sed 
										eget velit id eros pretium interdum. 
										Aenean dolor. Etiam arcu. Duis mattis, 
										urna a dictum tempus, tellus sem 
										interdum nulla, a volutpat purus quam eu 
										justo.</p></div>

And it isn't showing up like it should using the 'float' thing.
Can anyone help me out?

If my URL is needed, which I don't see why it would be since I just posted the coding that isn't working; I would like to share it privately and not publically in the thread.
 
0
•••
Well it depends on where you placed that div on your site what it will do.
 
0
•••
Didnt test this bit perhaps

Code:
<p>Lorem ipsum dolor 
										sit amet, consectetuer adipiscing elit. 
										Donec dolor ligula, lacinia quis, mattis 
										sit amet, accumsan ac, nunc. Nam tellus 
										nulla, convallis a, dignissim vitae, 
										vestibulum eget, mauris. Pellentesque 
										est. Vestibulum ante ipsum primis in 
										faucibus orci luctus et ultrices posuere 
										cubilia Curae; Phasellus nulla. Proin 
										velit sapien, feugiat sit amet, laoreet 
										ut, elementum ut, ante. Praesent ut 
										massa. In hac habitasse platea dictumst.
<div class="adbox">
<script type="text/javascript"><!--
google_ad_client = "pub-***";
google_ad_width = 180;
google_ad_height = 150;
google_ad_format = "180x150_as";
google_ad_type = "text_image";
google_ad_channel ="***";
google_page_url = document.location;
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "000000";
google_color_url = "FF3300";
google_color_text = "666666";
//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
										Donec fringilla urna eget pede. Aliquam 
										pulvinar fringilla elit. Praesent 
										pretium pede ac lectus. Quisque nec 
										lorem non massa auctor dapibus. Nunc 
										tincidunt risus in pede. Donec laoreet, 
										dolor quis egestas elementum, turpis 
										eros tempor mi, id rutrum eros purus eu 
										nunc. Nam dignissim ultrices pede. Sed 
										eget velit id eros pretium interdum. 
										Aenean dolor. Etiam arcu. Duis mattis, 
										urna a dictum tempus, tellus sem 
										interdum nulla, a volutpat purus quam eu 
										justo.</p>
CSS
Code:
div.adbox {
float: right;
}
 
0
•••
There has to be alot more text as well, if you want to see if it will work.
 
0
•••
Dynadot โ€” .com TransferDynadot โ€” .com Transfer
Appraise.net
Escrow.com
Spaceship
Rexus Domain
CryptoExchange.com
Domain Recover
CatchDoms
DomDB
NameFit
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back