Forums.Counter-Strike.com | Counter-Strike Community Forums

Go Back   Forums.Counter-Strike.com | Counter-Strike Community Forums > Miscellaneous > Off Topic > Web Design
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

COD4 Servers
Reply
 
LinkBack Thread Tools Search this Thread
Old 11-01-2006, 05:27 AM   #1 (permalink)
combenetorg
Member
Counter-Terrorist
 
combenetorg's Avatar
 
Join Date: Nov 2006
Posts: 233
Red face how to make script tag right align?

Hi all ,

i have one problem regarding script tag ... i mean i m using <div> tag layout .... and in which i want to put content + google ad as content( some part ) in left align and beside the google ad ...

how to do it ?

Code:

<div align='left' > some text <div align='right'> <script>//google ad code </script> </div> </div>
combenetorg is offline   Reply With Quote
Old 11-01-2006, 05:51 AM   #2 (permalink)
beancounter
Member
VIP
 
beancounter's Avatar
 
Join Date: Nov 2006
Posts: 356
Default Re: how to make script tag right align?

Try <div style="float:right">
beancounter is offline   Reply With Quote
Old 11-01-2006, 05:52 AM   #3 (permalink)
solaris
Member
Counter-Terrorist
 
solaris's Avatar
 
Join Date: Nov 2006
Posts: 137
Default Re: how to make script tag right align?

You cant nest <div> tags with diffrent alignments. You should always in them cases use the CSS float: property.
solaris is offline   Reply With Quote
Old 11-01-2006, 05:52 AM   #4 (permalink)
combenetorg
Member
Counter-Terrorist
 
combenetorg's Avatar
 
Join Date: Nov 2006
Posts: 233
Default Re: how to make script tag right align?

Hi,

i got the solution for this thanks for your advice ... here is the solution i do ...


Code:

///css class for div tag .adtag { float: right; text-align: right; clear: none; } ///// <div class="adtag" style="width:336px;margin:8px;">


thanks ....
combenetorg is offline   Reply With Quote
Old 01-18-2007, 09:09 PM   #5 (permalink)
twentygirl
Member
Hostage
 
Join Date: Jan 2007
Posts: 1
Post Newbiegirl Here!

Good evening folks, I'm new here. I have been reading thru the threads, and there is some crazy people here, do you have room for 1 more?


C ya later
twentygirl is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


All times are GMT -5. The time now is 12:40 AM.



Powered by vBulletin Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0 RC5
Free Clan Websites and Template Hosting