.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Code Snippets >> XML >> Post New Resource Bookmark and Share   

 Subscribe to Code Snippets

html using border padding.,margin-left.and max-height.

Posted By:laptop charles       Posted Date: September 12, 2010    Points: 10    Category: XML    URL: http://www.dotnetspark.com  

It has used div tag and using style border in two lines one is used for paragraph and header tag and used color of this border and margin from left and maximum height .
 




border padding and margin-left max height</titlle>
</head>
<body>

<div style="border: 1px solid orange;padding:15px;margin-left:50px;max-height:300px;">
<h1>This is charles</h1>
<p>this is paragraph of text</p>
</div>
	
</body>
</html></pre></div><div>

</div>
     
    
     <table cellpadding="5">
     <tr>
     <td></td>
     <td><g:plusone></g:plusone></td>
     <td align="left"> <div class="addthis_toolbox addthis_pill_combo">        <a class="addthis_button_tweet" tw:count="horizontal"></a><a class="addthis_button_facebook_like"></a>        <a class="addthis_counter addthis_pill_style"></a>    </div> </td>
     </tr>
     </table>
     
    </div>
    <br />
    <table id="ctl00_ContentPlaceHolder1_tbAd" width="100%" cellpadding="0" cellspacing="0">
	<tr>
		<td> 
         <h2>Further Readings:</h2> <ul><li><a href='2610-html-using-border-paddingmargin-leftand.aspx'>html using border padding.,margin-left.and min-height.</a></li><li><a href='2609-html-using-border-paddingmargin-left.aspx'>html using border padding.,margin-left.</a></li><li><a href='2607-html-using-border-paddingmargin.aspx'>html using border padding.,margin</a></li><li><a href='2608-html-using-border-paddingmargin-top.aspx'>html using border padding.,margin-top</a></li><li><a href='2606-html-using-div-tag-and-border-padding.aspx'>html using div tag and border padding.</a></li><li><a href='2605-html-using-div-tag-and-border.aspx'>html using div tag and border</a></li><li><a href='351-html-mail-asp-net.aspx'>HTML Mail in ASP.NET</a></li><li><a href='627-no-scrollbar-on-html-web-pages---javascript.aspx'>No scrollbar on HTML web pages - JavaScript code</a></li><li><a href='646-image-filer-using-html.aspx'>Image Filer using HTML</a></li><li><a href='649-image-filters-using-html.aspx'>Image Filters using HTML</a></li></ul>
        </td>
		<td>
        
</td>
	</tr>
</table>
</td></tr><tr><td class="author1"><span id="ctl00_ContentPlaceHolder1_lblResponseTitle" class="Question"><b>Responses</b></span></td></tr><tr><td></td></tr><tr><td>
    <br/><font style='color:#3366cc;font-size:11pt'> <b>No response found. Be the first to respond this post</b></font><br/>
    <br /></td></tr><tr><td class="tblHeader"><b><span id="ctl00_ContentPlaceHolder1_lblReply"><font color="White" size="5">Post Comment</font></span></b></td></tr><tr id="ctl00_ContentPlaceHolder1_trPostReplyMsg">
	<td id="ctl00_ContentPlaceHolder1_tdPostReplyMessage">
    <br />
    <span id="ctl00_ContentPlaceHolder1_lblEmail1">You must </span><a id="ctl00_ContentPlaceHolder1_lnkSignIn" href="../Login/Login.aspx?returnURL=/kb/Content.aspx?id=2611"><b>Sign In</b></a> <span id="ctl00_ContentPlaceHolder1_lblReply2">To post reply</span></td>
</tr>
<tr><td><table style="width:100%;"><tr><td style="width:50%" valign="top"><ul class="ULMenu"><div class="tblHeaderM"><h2 style="color:#ffffff">Read also another Resources from the same Author</h2></div><li><a title='Pass query string value from grid view.' href='5235-pass-query-string-value-from-grid-view.aspx'> Pass query string value from grid view.</a></li><li><a title='How to find grid view asp.net control inside the form view?' href='5234-how-to-find-grid-view-asp-net-control-inside.aspx'> How to find grid view asp.net control inside the form view?</a></li><li><a title='Moving text with blinking' href='4095-moving-text-with-blinking.aspx'> Moving text with blinking</a></li><li><a title='Inner Join' href='4094-inner-join.aspx'> Inner Join</a></li><li><a title='Some date and time format in c#.net' href='4093-some-date-and-time-format-c-sharpnet.aspx'> Some date and time format in c#.net</a></li><li><a title='Text align using textbox' href='3853-text-align-using-textbox.aspx'> Text align using textbox</a></li><li><a title='Hide and show the specified folder using vb.net' href='3475-hide-and-show-specified-folder-using-vb-net.aspx'> Hide and show the specified folder using vb.net</a></li><li><a title='Show the given hided folder using vb.net' href='3474-show-given-hided-folder-using-vb-net.aspx'> Show the given hided folder using vb.net</a></li><li><a title='Hide Given folder  vb.net.' href='3473-hide-given-folder--vb-net.aspx'> Hide Given folder  vb.net.</a></li><li><a title='Delete non-empty folder in vb.net' href='3417-delete-non-empty-folder-vb-net.aspx'> Delete non-empty folder in vb.net</a></li></ul></td><td valign="top"><ul class="ULMenu"><div class="tblHeaderM"><h2 style="color:#ffffff">Related Resource From The Same Category</h2></div><li><a title='Add Single Tag Value at Runtime in XML File ' href='5298-add-single-tag-value-runtime-xml-file.aspx'> Add Single Tag Value at Runtime in XML File </a></li><li><a title='Use of XPath  - sample Code' href='5033-use-xpath----sample-code.aspx'> Use of XPath  - sample Code</a></li><li><a title='Make Cool Buttons using rollover' href='4900-make-cool-buttons-using-rollover.aspx'> Make Cool Buttons using rollover</a></li><li><a title='Moving text with blinking' href='4095-moving-text-with-blinking.aspx'> Moving text with blinking</a></li><li><a title='create composite custom control' href='3761-create-composite-custom-control.aspx'> create composite custom control</a></li><li><a title='How to find which config file path of an exe?' href='3669-how-to-find-which-config-file-path-exe.aspx'> How to find which config file path of an exe?</a></li><li><a title='Code to edit appSettings in app.config' href='3500-code-to-edit-appsettings-appconfig.aspx'> Code to edit appSettings in app.config</a></li><li><a title='Looping through the XML document' href='3492-looping-through-xml-document.aspx'> Looping through the XML document</a></li><li><a title='Load an XML and query using LINQ' href='3481-load-xml-and-query-using-linq.aspx'> Load an XML and query using LINQ</a></li><li><a title='Mail on Window Application' href='3255-mail-on-window-application.aspx'> Mail on Window Application</a></li></ul></td></tr><tr class="trSub"><td colspan="2"><span id="ctl00_ContentPlaceHolder1_lblMessage">Find More code samples in C#, ASP.Net, Vb.Net and more </span><a id="ctl00_ContentPlaceHolder1_hprMessageLink" rel="nofollow" href="/Code-Snippets/Code.aspx">Here</a></td></tr></table></td></tr></table></div><script type="text/javascript" src="../script/shCore.js"></script><script language="javascript">
    SyntaxHighlighter.config.clipboardSwf = 'http://www.dotnetspark.com/script/clipboard.swf';
    SyntaxHighlighter.all();
</script> <script type='text/javascript'>
var dc_AdLinkColor = '#000096' ;
var dc_PublisherID = 75431 ;
</script> <script type='text/javascript' src='http://kona.kontera.com/javascript/lib/KonaLibInline.js'>
</script> 
 <script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#username=dotnetspark"></script>
</td>
        </tr></table><hr /><p align="center"><a id="ctl00_HyperLink1" href="../User/TopMembers.aspx">Hall of Fame</a>    <a href="http://twitter.com/dot_net_spark" target="_blank" rel="nofollow">Twitter</a>   <a id="ctl00_hprlnkTOS" rel="nofollow" href="../TOS/TOS.aspx">Terms of Service</a>    <a id="ctl00_hprlnkPrivacy" rel="nofollow" href="../TOS/Policy.aspx">Privacy Policy</a>    <a id="ctl00_hprlnkContactUs" href="../Feedback/contact.aspx">Contact Us</a>    <a id="ctl00_hprlnkArchiever" href="../Archives/ArchiveHome.aspx">Archives</a>   <a id="ctl00_hprTellAFriend" rel="nofollow" href="../User/TellAFriend.aspx">Tell A Friend</a></p>
        <script type="text/javascript" src="../Misc/HttpCombiner.ashx?s=Set_Javascript&t=type/javascript&v=2" ></script><script language="javascript" type="text/javascript">          $('#win1').crossSlide({ sleep: 2, fade: 1 }, [{ src: '../Images/gift.jpg?1' }, { src: '../UserPicture/jeanpaulva.jpg?348' }, { src: '../UserPicture/sagarp99.jpg?348'}]);
</script>

<script type="text/javascript">    var p = "http", d = "static"; if (document.location.protocol == "https:") { p += "s"; d = "engine"; } var z = document.createElement("script"); z.type = "text/javascript"; z.async = true; z.src = p + "://" + d + ".adzerk.net/ados.js"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(z, s);</script>
<script type="text/javascript">
    var ados = ados || {};
    ados.run = ados.run || [];
    ados.run.push(function() {
        /* load placement for account: Neudesic Media Group, site: DotNetSpark, size: 728x90 - Leaderboard*/
        ados_add_placement(2072, 17354, "azk34599", 4);
        /* load placement for account: Neudesic Media Group, site: DotNetSpark, size: 728x90 - Leaderboard*/
        ados_add_placement(2072, 17354, "azk66272", 4);
        /* load placement for account: Neudesic Media Group, site: DotNetSpark, size: 300x250 - Medium Rectangle*/
        ados_add_placement(2072, 17354, "azk96319", 5);
        /* load placement for account: Neudesic Media Group, site: DotNetSpark, size: 300x250 - Medium Rectangle*/
        ados_add_placement(2072, 17354, "azk56601", 5);
        /* load placement for account: Neudesic Media Group, site: DotNetSpark, size: 160x600 - Wide Skyscraper*/
        ados_add_placement(2072, 17354, "azk81534", 6);
        /* load placement for account: Neudesic Media Group, site: DotNetSpark, size: 160x600 - Wide Skyscraper*/
        ados_add_placement(2072, 17354, "azk29560", 6);
        ados_load();
    });</script>
<script type="text/javascript">
                           var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
                           document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script> <script type="text/javascript">
              var pageTracker = _gat._getTracker("UA-5302249-1");
              pageTracker._trackPageview();
</script>
<script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>

<script type='text/javascript'>
    function _dmBootstrap(file) { 
        var _dma = document.createElement('script');  
        _dma.type = 'text/javascript'; 
        _dma.async = true;  
        _dma.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + file; 
        (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(_dma);
    }
     function _dmFollowup(file) { if (typeof DMAds === 'undefined')  _dmBootstrap('cdn2.DeveloperMedia.com/a.min.js');}
     (function () { _dmBootstrap('cdn1.DeveloperMedia.com/a.min.js'); setTimeout(_dmFollowup, 2000);})();
 </script>
</form></body></html>