Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Software Development
Programming
Programming Q&A
Alternate to float?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="NSA" data-source="post: 179297" data-attributes="member: 10034"><p>Here is my current:</p><p> </p><p>[HTML]<!doctype HTML></p><p><html></p><p><head></p><p><title>Some tests</title></p><p><script src="http://code.jquery.com/jquery-1.9.1.min.js"></script></p><p><style type="text/css"></p><p>body{</p><p> background-color:black;</p><p>}</p><p>#wrapper{</p><p> border:solid;</p><p> border-color:white;</p><p> width:250px;</p><p>width: 700px ;</p><p>margin-left: auto ;</p><p>margin-right: auto ;</p><p>}</p><p>#content{</p><p> height:230px;</p><p> display:block;</p><p> padding:10px;</p><p> overflow:hidden;</p><p> color:white;</p><p> padding-left:12px;</p><p> padding-right:12px;</p><p> text-align:justify;</p><p>}</p><p>#title{</p><p> padding:0.1px;</p><p> margin-top:-3px;</p><p> text-align:center;</p><p> color:black;</p><p> background-color:white;</p><p>}</p><p>#signature{</p><p> float:right;</p><p>}</p><p></style></p><p></head></p><p><body></p><p><div id="wrapper"></p><p><div id="title"></p><p><p>Hello</p></p><p></div></p><p><div id="content"></p><p><p>"But I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give you a complete account of the system, and expound the actual teachings of the great explorer of the truth, the master-builder of human happiness. No one rejects, dislikes, or avoids pleasure itself, because it is pleasure, but because those who do not know how to pursue pleasure rationally encounter consequences that are extremely painful. Nor again is there anyone who loves or pursues or desires to obtain pain of itself, because it is pain, but because occasionally circumstances occur in which toil and pain can procure him some great pleasure. To take a trivial example, which of us ever undertakes laborious physical exercise, except to obtain some advantage from it? But who has any right to find fault with a man who chooses to enjoy a pleasure that has no annoying consequences, or one who avoids a pain that produces no resultant pleasure?"</p><div id="signature"></p><p><p>Posted by: Josh</p></div></p><p></div></p><p></div></p><p><script type="text/javascript"></p><p>$('#more').click(function(e) {</p><p> e.stopPropagation();</p><p> $('#content').css({</p><p> 'height': 'auto'</p><p> })</p><p>});</p><p> </p><p>$(document).click(function() {</p><p> $('#content').css({</p><p> 'height': '40px'</p><p> })</p><p>})</p><p></script></p><p></body></p><p></html>[/HTML]</p></blockquote><p></p>
[QUOTE="NSA, post: 179297, member: 10034"] Here is my current: [HTML]<!doctype HTML> <html> <head> <title>Some tests</title> <script src="http://code.jquery.com/jquery-1.9.1.min.js"></script> <style type="text/css"> body{ background-color:black; } #wrapper{ border:solid; border-color:white; width:250px; width: 700px ; margin-left: auto ; margin-right: auto ; } #content{ height:230px; display:block; padding:10px; overflow:hidden; color:white; padding-left:12px; padding-right:12px; text-align:justify; } #title{ padding:0.1px; margin-top:-3px; text-align:center; color:black; background-color:white; } #signature{ float:right; } </style> </head> <body> <div id="wrapper"> <div id="title"> <p>Hello</p> </div> <div id="content"> <p>"But I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give you a complete account of the system, and expound the actual teachings of the great explorer of the truth, the master-builder of human happiness. No one rejects, dislikes, or avoids pleasure itself, because it is pleasure, but because those who do not know how to pursue pleasure rationally encounter consequences that are extremely painful. Nor again is there anyone who loves or pursues or desires to obtain pain of itself, because it is pain, but because occasionally circumstances occur in which toil and pain can procure him some great pleasure. To take a trivial example, which of us ever undertakes laborious physical exercise, except to obtain some advantage from it? But who has any right to find fault with a man who chooses to enjoy a pleasure that has no annoying consequences, or one who avoids a pain that produces no resultant pleasure?"</p><div id="signature"> <p>Posted by: Josh</p></div> </div> </div> <script type="text/javascript"> $('#more').click(function(e) { e.stopPropagation(); $('#content').css({ 'height': 'auto' }) }); $(document).click(function() { $('#content').css({ 'height': '40px' }) }) </script> </body> </html>[/HTML] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Software Development
Programming
Programming Q&A
Alternate to float?
Top