{"id":70225,"date":"2021-08-29T20:30:37","date_gmt":"2021-08-30T00:30:37","guid":{"rendered":"http:\/\/bangla.salearningschool.com\/recent-posts\/layouts-with-css-layout-without-tables-10\/"},"modified":"2021-08-29T20:30:37","modified_gmt":"2021-08-30T00:30:37","slug":"layouts-with-css-layout-without-tables-10","status":"publish","type":"post","link":"http:\/\/bangla.sitestree.com\/?p=70225","title":{"rendered":"Layouts with CSS: Layout without tables #10"},"content":{"rendered":"<h2>Two column webpage layout with CSS<\/h2>\n<p>create twocol.css. Then, add the following code to the file: <\/p>\n<blockquote><p>div#topBanner {  text-align: center;  padding-bottom: 10px;  }<\/p><\/blockquote>\n<div>\n<blockquote><p>div#bodyLeft {  position: absolute;  width: 25%;  }<\/p><\/blockquote>\n<\/div>\n<div>\n<blockquote><p>div#bodyRight {  margin: 5px 25px 25px 225px;  width: 75%;  }<\/p><\/blockquote>\n<h2>Your two column webpage will look like<\/h2>\n<blockquote>\n<div id=\"topBanner\">Page Title<\/div>\n<\/blockquote>\n<blockquote>\n<div id=\"bodyLeft\">Add menu items here<\/div>\n<\/blockquote>\n<blockquote>\n<div id=\"bodyRight\">Add your content here<\/div>\n<\/blockquote>\n<h2>Three column webpage with CSS<\/h2>\n<p>Create a file like threecol.css. Put the following code<\/p>\n<blockquote><p>div#bodyLeft {  position: absolute;  padding-left: 10px;  width: 25%;  }<\/p><\/blockquote>\n<blockquote><p>div#bodyCenter {  margin-left: 190px;  margin-right: 190px;  width: 50%;  position: absolute;  }<\/p><\/blockquote>\n<blockquote><p>div#bodyRight {  position: absolute;  padding-right: 10px;  width: 25%;  right: 0%;  }<\/p><\/blockquote>\n<blockquote><p>div#topBanner {  text-align: center;  padding-bottom: 15px;  }<\/p><\/blockquote>\n<p>Your three column webpage will look as follows<\/p>\n<blockquote>\n<div id=\"topBanner\">Page Title<\/div>\n<\/blockquote>\n<blockquote>\n<div id=\"bodyLeft\">Add menu items here<\/div>\n<\/blockquote>\n<blockquote>\n<div id=\"bodyCenter\">Add your content here<\/div>\n<\/blockquote>\n<blockquote>\n<div id=\"bodyRight\">Add your content here<\/div>\n<\/blockquote>\n<p>Then, add your text and\/or graphics to the file.<\/p>\n<\/div>\n<p>From: http:\/\/sitestree.com\/?p=4730<br \/> Categories:10<br \/>Tags:<br \/> Post Data:2011-05-20 14:21:44<\/p>\n<pre><code>    Shop Online: &lt;a href='https:\/\/www.ShopForSoul.com\/' target='new' rel=\"noopener\"&gt;https:\/\/www.ShopForSoul.com\/&lt;\/a&gt;\n    (Big Data, Cloud, Security, Machine Learning): Courses: &lt;a href='http:\/\/Training.SitesTree.com' target='new' rel=\"noopener\"&gt; http:\/\/Training.SitesTree.com&lt;\/a&gt; \n    In Bengali: &lt;a href='http:\/\/Bangla.SaLearningSchool.com' target='new' rel=\"noopener\"&gt;http:\/\/Bangla.SaLearningSchool.com&lt;\/a&gt;\n    &lt;a href='http:\/\/SitesTree.com' target='new' rel=\"noopener\"&gt;http:\/\/SitesTree.com&lt;\/a&gt;\n    8112223 Canada Inc.\/JustEtc: &lt;a href='http:\/\/JustEtc.net' target='new' rel=\"noopener\"&gt;http:\/\/JustEtc.net (Software\/Web\/Mobile\/Big-Data\/Machine Learning) &lt;\/a&gt;\n    Shop Online: &lt;a href='https:\/\/www.ShopForSoul.com'&gt; https:\/\/www.ShopForSoul.com\/&lt;\/a&gt;\n    Medium: &lt;a href='https:\/\/medium.com\/@SayedAhmedCanada' target='new' rel=\"noopener\"&gt; https:\/\/medium.com\/@SayedAhmedCanada &lt;\/a&gt;\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Two column webpage layout with CSS create twocol.css. Then, add the following code to the file: div#topBanner { text-align: center; padding-bottom: 10px; } div#bodyLeft { position: absolute; width: 25%; } div#bodyRight { margin: 5px 25px 25px 225px; width: 75%; } Your two column webpage will look like Page Title Add menu items here Add your &hellip; <\/p>\n<p><a class=\"more-link btn\" href=\"http:\/\/bangla.sitestree.com\/?p=70225\">Continue reading<\/a><\/p>\n","protected":false},"author":8,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1917],"tags":[],"class_list":["post-70225","post","type-post","status-publish","format-standard","hentry","category-fromsitestree-com","item-wrap"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":70245,"url":"http:\/\/bangla.sitestree.com\/?p=70245","url_meta":{"origin":70225,"position":0},"title":"Table Less Design: Layouts with CSS #10","author":"Author-Check- Article-or-Video","date":"August 30, 2021","format":false,"excerpt":"A three column webpage with CSS positioning The CSS should look like this: #leftnavigation { position : absolute; left : 0; width : 150px; margin-left : 10px; margin-top : 20px; color : #000000; padding : 3px;}#rightnavigation { position : absolute; left : 80%; top : 20px; width : 140px; padding-left\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":7855,"url":"http:\/\/bangla.sitestree.com\/?p=7855","url_meta":{"origin":70225,"position":1},"title":"\u099f\u09c7\u09ac\u09bf\u09b2 \u099b\u09be\u09dc\u09be \u09b9\u09cb\u09ae \u09aa\u09c7\u099c \u09a4\u09c8\u09b0\u09bf \u0995\u09b0\u09be\u0964","author":"Author-Check- Article-or-Video","date":"March 28, 2015","format":false,"excerpt":"\u099f\u09c7\u09ac\u09bf\u09b2 \u099b\u09be\u09dc\u09be \u09b9\u09cb\u09ae \u09aa\u09c7\u099c \u09a4\u09c8\u09b0\u09bf \u0995\u09b0\u09be\u0964 Notepad \u0996\u09c1\u09b2\u09c1\u09a8 \u098f\u09ac\u0982 \u09a4\u09be\u09a4\u09c7 \u09a8\u09bf\u099a\u09c7\u09b0 \u0995\u09cb\u09a1 \u0997\u09c1\u09b2\u09cb \u09b2\u09bf\u0996\u09c1\u09a8- <html> <head> <style type=\"text\/css\"> div.container { width:100%; margin:0px; border:1px solid gray; line-height:150%; } div.header,div.footer { padding:0.5em; color:white; background-color:gray; clear:left; } h1.header { padding:0; margin:0; } div.left { float:left; width:160px; margin:0; padding:1em; } div.content { margin-left:190px; border-left:1px\u2026","rel":"","context":"In &quot;\u09a1\u099f \u09a8\u09c7\u099f\/.Net&quot;","block_context":{"text":"\u09a1\u099f \u09a8\u09c7\u099f\/.Net","link":"http:\/\/bangla.sitestree.com\/?cat=264"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":23188,"url":"http:\/\/bangla.sitestree.com\/?p=23188","url_meta":{"origin":70225,"position":2},"title":"More CSS Layouts #Root #By Sayed Ahmed","author":"Author-Check- Article-or-Video","date":"March 26, 2021","format":false,"excerpt":"Three Column layout with header and footer: The CSS html, body { margin: 0; padding: 0; } #header { width: 800px; float: left; } #maincontainer { width: 800px; float: left; } #nav { width: 200px; float: left; } #main { float: right; width: 600px; } #footer { width: 800px; float:\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":6784,"url":"http:\/\/bangla.sitestree.com\/?p=6784","url_meta":{"origin":70225,"position":3},"title":"\u098f\u0987\u099a\u099f\u09bf\u098f\u09ae\u098f\u09b2 \u09b2\u09c7\u0986\u0989\u099f (HTML Layout)","author":"Author-Check- Article-or-Video","date":"March 31, 2015","format":false,"excerpt":"Md. Mursedul Islam Sumon Web Designer \u00a0 \u098f\u0987\u099a\u099f\u09bf\u098f\u09ae\u098f\u09b2 \u09b2\u09c7\u0986\u0989\u099f (HTML Layouts) \u09ac\u09bf\u09ad\u09bf\u09a8\u09cd\u09a8 \u0993\u09df\u09c7\u09ac\u09b8\u09be\u0987\u099f\u09c7 \u0985\u09a8\u09c7\u0995 \u09b8\u09ae\u09df\u0987 \u09b2\u0995\u09cd\u09b7\u09cd\u09af \u0995\u09b0\u09be \u09af\u09be\u09df \u09af\u09c7 \u09b2\u09bf\u0996\u09be\u0997\u09c1\u09b2\u09cb \u0995\u09df\u09c7\u0995\u099f\u09bf \u0995\u09b2\u09be\u09ae\u09c7 \u09ac\u09bf\u09ad\u0995\u09cd\u09a4 \u0995\u09b0\u09be \u09a5\u09be\u0995\u09c7\u0964 \u09af\u09c7\u09ae\u09a8, \u09ae\u09cd\u09af\u09be\u0997\u09be\u099c\u09bf\u09a8, \u09a8\u09bf\u0989\u099c\u09aa\u09c7\u09aa\u09be\u09b0 \u0987\u09a4\u09cd\u09af\u09be\u09a6\u09bf\u0964 HTML \u098f <div> tag \u098f\u09b0 \u09ac\u09cd\u09af\u09ac\u09b9\u09be\u09b0 \u0995\u09b0\u09c7 layout design \u09ac\u09be \u0995\u09b2\u09be\u09ae\u09c7 \u09ac\u09bf\u09ad\u0995\u09cd\u09a4 \u0995\u09b0\u09be \u09af\u09be\u09df\u0964 div element \u09ac\u09cd\u09af\u09ac\u09b9\u09be\u09b0 \u0995\u09b0\u09c7 \u09aa\u09cd\u09b0\u09be\u09df layout \u0995\u09b0\u09be\u2026","rel":"","context":"In &quot;\u098f\u0987\u099a\u099f\u09bf\u098f\u09ae\u098f\u09b2 HTML&quot;","block_context":{"text":"\u098f\u0987\u099a\u099f\u09bf\u098f\u09ae\u098f\u09b2 HTML","link":"http:\/\/bangla.sitestree.com\/?cat=494"},"img":{"alt_text":"Table","src":"https:\/\/i0.wp.com\/bangla.salearningschool.com\/wp-content\/uploads\/2015\/03\/Table-300x204.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":7626,"url":"http:\/\/bangla.sitestree.com\/?p=7626","url_meta":{"origin":70225,"position":4},"title":"\u0986\u099c \u0986\u09ae\u09bf  \u09b8\u09bf\u098f\u09b8\u098f\u09b8 \u09ac\u09bf\u09b7\u09df\u09c7 \u0995\u09bf\u099b\u09c1 \u09a7\u09be\u09b0\u09a3\u09be \u09a6\u09c7\u09ac\u0964","author":"Author-Check- Article-or-Video","date":"March 28, 2015","format":false,"excerpt":"1.\u09b8\u09bf\u098f\u09b8\u098f\u09b8 \u0993\u09df\u09c7\u09ac \u09a1\u09bf\u099c\u09be\u0987\u09a8\u09c7\u09b0 \u0995\u09cd\u09b7\u09c7\u09a4\u09cd\u09b0\u09c7 \u098f\u0995\u099f\u09bf \u0997\u09c1\u09b0\u09c1\u09a4\u09cd\u09ac\u09aa\u09c2\u09b0\u09cd\u09a3 \u09ac\u09bf\u09b7\u09df\u0964\u09ad\u09be\u09b2\u09ae\u09be\u09a8\u09c7\u09b0 \u098f\u0995\u099f\u09bf \u0993\u09df\u09c7\u09ac \u09b8\u09be\u0987\u099f \u09ac\u09be\u09a8\u09be\u09a4\u09c7 \u09b9\u09b2\u09c7 \u09b8\u09bf\u098f\u09b8\u098f\u09b8 \u099c\u09be\u09a8\u09be \u09a6\u09b0\u0995\u09be\u09b0\u0964\u0986\u099c \u0986\u09ae\u09bf \u0985\u09aa\u09a8\u09be\u09a6\u09c7\u09b0 \u09b8\u09bf\u098f\u09b8\u098f\u09b8 \u09ac\u09bf\u09b7\u09df\u09c7 \u0995\u09bf\u099b\u09c1 \u09a7\u09be\u09b0\u09a3\u09be \u09a6\u09c7\u09ac\u0964 \u09b8\u09bf\u098f\u09b8\u098f\u09b8 \u099f\u09c7\u09ac\u09bf\u09b2\u0983- table { border-collapse:collapse; } table,th, td { border: 1px solid black; } \u09b8\u09bf\u098f\u09b8\u098f\u09b8 \u09ac\u09cd\u09af\u09be\u0995\u0997\u09cd\u09b0\u09be\u0989\u09a8\u09cd\u09a1\u0983- 1. body {background-color:#b0c4de;} 2. h1 {background-color:#6495ed;} p {background-color:#e0ffff;} div {background-color:#b0c4de;} 3. body\u2026","rel":"","context":"In &quot;\u09b8\u09bf\u098f\u09b8\u098f\u09b8 CSS&quot;","block_context":{"text":"\u09b8\u09bf\u098f\u09b8\u098f\u09b8 CSS","link":"http:\/\/bangla.sitestree.com\/?cat=493"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":6172,"url":"http:\/\/bangla.sitestree.com\/?p=6172","url_meta":{"origin":70225,"position":5},"title":"\u09b8\u09bf \u098f\u09b8 \u098f\u09b8 \u09ac\u0995\u09cd\u09b8 \u09ae\u09a1\u09c7\u09b2 (CSS Box Model)","author":"Author-Check- Article-or-Video","date":"February 8, 2015","format":false,"excerpt":"\u09b8\u09ac HTML \u0989\u09aa\u09be\u09a6\u09be\u09a8\u0997\u09c1\u09b2\u09cb\u0995\u09c7 \u09ac\u0995\u09cd\u09b8 \u09b9\u09bf\u09b8\u09be\u09ac\u09c7 \u09ac\u09bf\u09ac\u09c7\u099a\u09a8\u09be \u0995\u09b0\u09be \u09af\u09c7\u09a4\u09c7 \u09aa\u09be\u09b0\u09c7 \u0964 CSS \u098f \u201c \u09ac\u0995\u09cd\u09b8 \u09ae\u09a1\u09c7\u09b2\u201d \u09b6\u09ac\u09cd\u09a6\u099f\u09bf \u09ac\u09cd\u09af\u09ac\u09b9\u09be\u09b0 \u0995\u09b0\u09be \u09b9\u09df \u09af\u0996\u09a8 \u09a8\u0995\u09b6\u09be \u098f\u09ac\u0982 \u09ac\u09bf\u09a8\u09cd\u09af\u09be\u09b8 \u09a8\u09bf\u09df\u09c7 \u0986\u09b2\u09cb\u099a\u09a8\u09be \u0995\u09b0\u09be \u09b9\u09df\u0964 \u09b8\u09bf\u098f\u09b8\u098f\u09b8 \u09ac\u0995\u09cd\u09b8 \u09ae\u09a1\u09c7\u09b2 \u09ae\u09c2\u09b2\u09a4 \u099a\u09be\u09b0\u09aa\u09be\u09b6\u09c7 HTML \u0989\u09aa\u09be\u09a6\u09be\u09a8\u09c7 \u0998\u09c7\u09b0\u09be \u098f\u0995\u099f\u09bf \u09ac\u0995\u09cd\u09b8, \u098f\u09ac\u0982 \u098f\u09a4\u09c7 \u09b0\u09df\u09c7\u099b\u09c7 \u09ae\u09be\u09b0\u09cd\u099c\u09bf\u09a8, \u09b8\u09c0\u09ae\u09be\u09a8\u09be, \u09aa\u09cd\u09af\u09be\u09a1\u09bf\u0982, \u098f\u09ac\u0982 \u09aa\u09cd\u09b0\u0995\u09c3\u09a4 \u09ac\u09bf\u09b7\u09af\u09bc\u09ac\u09b8\u09cd\u09a4\u09c1\u0964 \u09ac\u0995\u09cd\u09b8 \u09ae\u09a1\u09c7\u09b2 \u0986\u09ae\u09be\u09a6\u09c7\u09b0\u0995\u09c7 \u0989\u09aa\u09be\u09a6\u09be\u09a8\u09c7\u09b0\u2026","rel":"","context":"In &quot;\u09b8\u09bf \u098f\u09b8 \u098f\u09b8 \u099f\u09bf\u0989\u099f\u09cb\u09b0\u09bf\u09df\u09be\u09b2 (css tutorial)&quot;","block_context":{"text":"\u09b8\u09bf \u098f\u09b8 \u098f\u09b8 \u099f\u09bf\u0989\u099f\u09cb\u09b0\u09bf\u09df\u09be\u09b2 (css tutorial)","link":"http:\/\/bangla.sitestree.com\/?cat=174"},"img":{"alt_text":"Box Model","src":"https:\/\/i0.wp.com\/www.w3schools.com\/css\/box-model.gif?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.w3schools.com\/css\/box-model.gif?resize=350%2C200 1x, https:\/\/i0.wp.com\/www.w3schools.com\/css\/box-model.gif?resize=525%2C300 1.5x"},"classes":[]}],"_links":{"self":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/70225","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=70225"}],"version-history":[{"count":0,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/70225\/revisions"}],"wp:attachment":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=70225"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=70225"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=70225"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}