Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,154,742 members, 7,824,140 topics. Date: Saturday, 11 May 2024 at 12:13 AM

Geektechlife's Posts

Nairaland Forum / Geektechlife's Profile / Geektechlife's Posts

(1) (2) (3) (of 3 pages)

Programming / Re: I Want To Build Websites All By Myself by geektechlife: 12:27am On Nov 08, 2020
syluck:


Which programming language are you using?

This is just html and css
Programming / Re: I Want To Build Websites All By Myself by geektechlife: 10:30pm On Nov 03, 2020
*Grid-View Example*

The following example shows a simple responsive web page, with two columns: see the first image uploaded below.

The example is fine if the web page only contains two columns. However, we want to use a responsive grid-view with 12 columns, to have more control over the web page.

The CSS:
First we must calculate the percentage for one column: 100% / 12 columns = 8.33%. Then we make one class for each of the 12 columns, class="col-" and a number defining how many columns the section should span:

.col-1 {width: 8.33%;}
.col-2 {width: 16.66%;}
.col-3 {width: 25%;}
.col-4 {width: 33.33%;}
.col-5 {width: 41.66%;}
.col-6 {width: 50%;}
.col-7 {width: 58.33%;}
.col-8 {width: 66.66%;}
.col-9 {width: 75%;}
.col-10 {width: 83.33%;}
.col-11 {width: 91.66%;}
.col-12 {width: 100%;}

All these columns should be floating to the left, and have a padding of 15px:

[class*="col-"] {
float: left;
padding: 15px;
border: 1px solid red;
}

The columns inside a row are all floating to the left, and are therefore taken out of the flow of the page, and other elements will be placed as if the columns does not exist. To prevent this, we will add a style that clears the flow:

.row:after {
content: "";
clear: both;
display: block;
}

The HTML:
Each row should be wrapped in a <div>. The number of columns inside a row should always add up to 12:

<div class="row">
<div class="col-3">...</div>
<div class="col-9">...</div>
</div>

We also want to add some styles and colors to make it look better: see the second, third and fourth images uploaded below.

Notice that the webpage in the example does not look good when you resize the browser window to a very small width. In our next lesson you will learn how to fix that.

Powered by Programmers Community...

2 Shares

Religion / Re: Rhapsody Of Realities Daily Devotional For Today by geektechlife: 1:56pm On Nov 02, 2020
*Rhapsody Of Realities*
_WALK IN WISDOM_

*HAVE YOU DOWNLOADED THE UPDATED RHAPSODY OF REALITIES APP? USE THE LINK BELOW:*
https:///2HKQjT1

Monday, November 2nd.
Pastor Chris

```But of him are ye in Christ Jesus, who of God is made unto us wisdom, and righteousness, and sanctification, and redemption (1 Corinthians 1:30).```


Some Christians get very excited when they read our opening verse, and then get confused when they read James 1:5 which says, “If any of you lack wisdom, let him ask of God, that giveth to all men liberally, and upbraideth not; and it shall be given him.” Since Christ has been made unto us wisdom, why then should one still ask for wisdom? they wonder.


Those two references aren’t contradictory at all; rather, it’s about levels of maturity in Christ. As you study the Scriptures, you’ll find that there’re different instructions for different groups of Christians on the basis of their maturity. Some are addressed to the babes in Christ; others, to the maturing in Christ, and then there’re instructions for the “fathers” or the spiritually mature in Christ.


The one who’s still a babe in Christ may quote and confess that Christ is his wisdom, yet he hasn’t really caught it. His words and actions may still be incongruous with the Word and wisdom of God. He isn’t yet manifesting wisdom, which is a fruit of righteousness. He still acts and thinks like the rest of the world, like those without wisdom. So, James admonishes those in that class to ask for wisdom.


Remember, it’s “children” that ask for things. Jesus said, “...Ask, and it shall be given you”; He related it to children asking their father for bread (Luke 11:9-12). The spiritually mature don’t ask for anything, because they lack nothing in Christ. This is the level God wants you to grow into, where you know that all things are yours; you’re not asking for wisdom, but walking in wisdom. Hallelujah!


*PRAYER*
_Dear Father, I thank you for your wisdom that’s at work in my spirit, which is also increased even now through the Word that I’ve received today. I live out the Word, and therefore walk in your glory, fulfilling your perfect will and bringing many to righteousness, in Jesus’ Name. Amen._


*FURTHER STUDY:*

*|| Acts 20:32 And now, brethren, I commend you to God, and to the word of his grace, which is able to build you up, and to give you an inheritance among all them which are sanctified. ||*


*|| Proverbs 4:5-9 Get wisdom, get understanding: forget [it] not; neither decline from the words of my mouth. Forsake her not, and she shall preserve thee: love her, and she shall keep thee. Wisdom [is] the principal thing; [therefore] get wisdom: and with all thy getting get understanding. Exalt her, and she shall promote thee: she shall bring thee to honour, when thou dost embrace her. She shall give to thine head an ornament of grace: a crown of glory shall she deliver to thee. ||*

*1 YEAR BIBLE READING PLAN:*
Hebrews 2 & Jeremiah 36-37


*2 YEAR BIBLE READING PLAN:*
1 Peter 1:13-25 & Ezekiel 33


*We trust you have been blessed by this devotional. We invite you to make Jesus Christ the Lord of your life by praying thus:*

_“O Lord God, I believe with all my heart in Jesus Christ, Son of the living God. I believe He died for me and God raised Him from the dead. I believe He’s alive today. I confess with my mouth that Jesus Christ is the Lord of my life from this day. Through Him and in His Name, I have eternal life; I’m born again. Thank you Lord, for saving my soul! I’m now a child of God. Hallelujah!”_

Let us know that you made that declaration by sending a mail to info@rhapsodyofrealities.org

1 Share

Religion / Re: Morning Chop - RHAPSODY OF REALITIES CHRISTIAN DIARY by geektechlife: 1:55pm On Nov 02, 2020
*Rhapsody Of Realities*
_WALK IN WISDOM_

*HAVE YOU DOWNLOADED THE UPDATED RHAPSODY OF REALITIES APP? USE THE LINK BELOW:*
https:///2HKQjT1

Monday, November 2nd.
Pastor Chris

```But of him are ye in Christ Jesus, who of God is made unto us wisdom, and righteousness, and sanctification, and redemption (1 Corinthians 1:30).```


Some Christians get very excited when they read our opening verse, and then get confused when they read James 1:5 which says, “If any of you lack wisdom, let him ask of God, that giveth to all men liberally, and upbraideth not; and it shall be given him.” Since Christ has been made unto us wisdom, why then should one still ask for wisdom? they wonder.


Those two references aren’t contradictory at all; rather, it’s about levels of maturity in Christ. As you study the Scriptures, you’ll find that there’re different instructions for different groups of Christians on the basis of their maturity. Some are addressed to the babes in Christ; others, to the maturing in Christ, and then there’re instructions for the “fathers” or the spiritually mature in Christ.


The one who’s still a babe in Christ may quote and confess that Christ is his wisdom, yet he hasn’t really caught it. His words and actions may still be incongruous with the Word and wisdom of God. He isn’t yet manifesting wisdom, which is a fruit of righteousness. He still acts and thinks like the rest of the world, like those without wisdom. So, James admonishes those in that class to ask for wisdom.


Remember, it’s “children” that ask for things. Jesus said, “...Ask, and it shall be given you”; He related it to children asking their father for bread (Luke 11:9-12). The spiritually mature don’t ask for anything, because they lack nothing in Christ. This is the level God wants you to grow into, where you know that all things are yours; you’re not asking for wisdom, but walking in wisdom. Hallelujah!


*PRAYER*
_Dear Father, I thank you for your wisdom that’s at work in my spirit, which is also increased even now through the Word that I’ve received today. I live out the Word, and therefore walk in your glory, fulfilling your perfect will and bringing many to righteousness, in Jesus’ Name. Amen._


*FURTHER STUDY:*

*|| Acts 20:32 And now, brethren, I commend you to God, and to the word of his grace, which is able to build you up, and to give you an inheritance among all them which are sanctified. ||*


*|| Proverbs 4:5-9 Get wisdom, get understanding: forget [it] not; neither decline from the words of my mouth. Forsake her not, and she shall preserve thee: love her, and she shall keep thee. Wisdom [is] the principal thing; [therefore] get wisdom: and with all thy getting get understanding. Exalt her, and she shall promote thee: she shall bring thee to honour, when thou dost embrace her. She shall give to thine head an ornament of grace: a crown of glory shall she deliver to thee. ||*

*1 YEAR BIBLE READING PLAN:*
Hebrews 2 & Jeremiah 36-37


*2 YEAR BIBLE READING PLAN:*
1 Peter 1:13-25 & Ezekiel 33


*We trust you have been blessed by this devotional. We invite you to make Jesus Christ the Lord of your life by praying thus:*

_“O Lord God, I believe with all my heart in Jesus Christ, Son of the living God. I believe He died for me and God raised Him from the dead. I believe He’s alive today. I confess with my mouth that Jesus Christ is the Lord of my life from this day. Through Him and in His Name, I have eternal life; I’m born again. Thank you Lord, for saving my soul! I’m now a child of God. Hallelujah!”_

Let us know that you made that declaration by sending a mail to info@rhapsodyofrealities.org

1 Share

Programming / Re: I Want To Build Websites All By Myself by geektechlife: 8:26pm On Nov 01, 2020
*What is Responsive Web Design?*

Responsive web design makes your web page look good on all devices. At this point, there is good sense to treat this highly important issue of web design.

Have you noticed some websites look different on phone from how they appear on large desktop or laptop screens? Sometimes the difference might not be much: a vertical flow of content adapting to small screens while a grid outline on desktop, other times bigger differences: some hidden or altered contents on small screens. The answer to the question is RWD: Responsive Web Design which uses only HTML and CSS. It is not a program or a JavaScript.

*Designing For The Best Experience For All Users*
Web pages can be viewed using many different devices: desktops, tablets, and phones. Your web page should look good, and be easy to use, regardless of the device. It should not leave out information to fit smaller devices, but rather adapt its content to fit any device, like in the image uploaded below.

It is called responsive web design when you use CSS and HTML to resize, hide, shrink, enlarge, or move the content to make it look good on any screen.

*What is The Viewport?*
The viewport is the user's visible area of a web page. The viewport varies with the device, and will be smaller on a mobile phone than on a computer screen.

Before tablets and mobile phones, web pages were designed only for computer screens, and it was common for web pages to have a static design and a fixed size. Then, when we started surfing the internet using tablets and mobile phones, fixed size web pages were too large to fit the viewport. To fix this, browsers on those devices scaled down the entire web page to fit the screen. This was not perfect!! But a quick fix.

*Setting The Viewport*
HTML5 introduced a method to let web designers take control over the viewport, through the <meta> tag. You should include the following <meta> viewport element in all your web pages:

<meta name="viewport" content="width=device-width, initial-scale=1.0">


A <meta> viewport element gives the browser instructions on how to control the page's dimensions and scaling. The width=device-width part sets the width of the page to follow the screen-width of the device (which will vary depending on the device). The initial-scale=1.0 part sets the initial zoom level when the page is first loaded by the browser.

This comes inside your document head section before the internal style element, most likely after the title tag.

Users are used to scroll websites vertically on both desktop and mobile devices - but not horizontally! So, if the user is forced to scroll horizontally, or zoom out, to see the whole web page it results in a poor user experience. Therefore, also keep in mind:

1. Do NOT use large fixed width elements - For example, if an image is displayed at a width wider than the viewport it can cause the viewport to scroll horizontally. Remember to adjust this content to fit within the width of the viewport.

2. Do NOT let the content rely on a particular viewport width to render well - Since screen dimensions and width in CSS pixels vary widely between devices, content should not rely on a particular viewport width to render well.

3. Use CSS media queries to apply different styling for small and large screens - Setting large absolute CSS widths for page elements, will cause the element to be too wide for the viewport on a smaller device. Instead, consider using relative width values, such as width: 100%. Also, be careful of using large absolute positioning values. It may cause the element to fall outside the viewport on small devices.

There's more to cover on this topic. We'll do that in subsequent sessions.

Powered by Programmers Community...

2 Shares

Webmasters / Re: I Want To Build Websites All By Myself. Can I? by geektechlife: 8:15pm On Nov 01, 2020
*What is Responsive Web Design?*

Responsive web design makes your web page look good on all devices. At this point, there is good sense to treat this highly important issue of web design.

Have you noticed some websites look different on phone from how they appear on large desktop or laptop screens? Sometimes the difference might not be much: a vertical flow of content adapting to small screens while a grid outline on desktop, other times bigger differences: some hidden or altered contents on small screens. The answer to the question is RWD: Responsive Web Design which uses only HTML and CSS. It is not a program or a JavaScript.

*Designing For The Best Experience For All Users*
Web pages can be viewed using many different devices: desktops, tablets, and phones. Your web page should look good, and be easy to use, regardless of the device. It should not leave out information to fit smaller devices, but rather adapt its content to fit any device, like in the image uploaded below.

It is called responsive web design when you use CSS and HTML to resize, hide, shrink, enlarge, or move the content to make it look good on any screen.

*What is The Viewport?*
The viewport is the user's visible area of a web page. The viewport varies with the device, and will be smaller on a mobile phone than on a computer screen.

Before tablets and mobile phones, web pages were designed only for computer screens, and it was common for web pages to have a static design and a fixed size. Then, when we started surfing the internet using tablets and mobile phones, fixed size web pages were too large to fit the viewport. To fix this, browsers on those devices scaled down the entire web page to fit the screen. This was not perfect!! But a quick fix.

*Setting The Viewport*
HTML5 introduced a method to let web designers take control over the viewport, through the <meta> tag. You should include the following <meta> viewport element in all your web pages:

<meta name="viewport" content="width=device-width, initial-scale=1.0">


A <meta> viewport element gives the browser instructions on how to control the page's dimensions and scaling. The width=device-width part sets the width of the page to follow the screen-width of the device (which will vary depending on the device). The initial-scale=1.0 part sets the initial zoom level when the page is first loaded by the browser.

This comes inside your document head section before the internal style element, most likely after the title tag.

Users are used to scroll websites vertically on both desktop and mobile devices - but not horizontally! So, if the user is forced to scroll horizontally, or zoom out, to see the whole web page it results in a poor user experience. Therefore, also keep in mind:

1. Do NOT use large fixed width elements - For example, if an image is displayed at a width wider than the viewport it can cause the viewport to scroll horizontally. Remember to adjust this content to fit within the width of the viewport.

2. Do NOT let the content rely on a particular viewport width to render well - Since screen dimensions and width in CSS pixels vary widely between devices, content should not rely on a particular viewport width to render well.

3. Use CSS media queries to apply different styling for small and large screens - Setting large absolute CSS widths for page elements, will cause the element to be too wide for the viewport on a smaller device. Instead, consider using relative width values, such as width: 100%. Also, be careful of using large absolute positioning values. It may cause the element to fall outside the viewport on small devices.

There's more to cover on this topic. We'll do that in subsequent sessions.

Powered by Programmers Community...

2 Shares

Programming / Re: I Want To Build Websites All By Myself by geektechlife: 8:45pm On Oct 30, 2020
*CSS─ MEDIA TYPES*

One of the most important features of style sheets is that they specify how a document is to be presented on different media: on the screen or paper, with a speech synthesizer or braille device e.t.c. We have currently two ways to specify media dependencies for style sheets:

1) Specify the target medium from a style sheet with the @media or @import at rules.
2) Specify the target medium within the document language.

*The @media rule*
The @media rule specifies the target media types (separated by commas) of a set of rules.
Given below is an example:


<!DOCTYPE html>
<html>
<head>
<title> CSS MEDIA </title>

<style tyle="text/css">
@media print {
body { font-size: 10pt }
}
@media screen {
body { font-size: 18pt }
}
@media screen, print {
body { line-height: 2.2 }
}
</style>

</head>
<body>

<div> This is the first div. </div>
<div> This is another div. </div>
<div> This is the third div. </div>

</body>
</html>


*The Document Language*
In HTML 4.0, the media attribute on the LINK element specifies the target media of an external style sheet, just like this:

<link media="print" href="mystyle.css">


*Recognized Media Types*
The names chosen for CSS media types reflect target devices for which the relevant properties make sense. They give a sense of what device the media type is meant to refer to.

NOTE: Media type names are case-insensitive. Given below is a list of various media types:

Powered by Programmers Community...

2 Shares

Webmasters / Re: I Want To Build Websites All By Myself. Can I? by geektechlife: 8:20pm On Oct 30, 2020
*CSS─ MEDIA TYPES*

One of the most important features of style sheets is that they specify how a document is to be presented on different media: on the screen or paper, with a speech synthesizer or braille device e.t.c. We have currently two ways to specify media dependencies for style sheets:

1) Specify the target medium from a style sheet with the @media or @import at rules.
2) Specify the target medium within the document language.

*The @media rule*
The @media rule specifies the target media types (separated by commas) of a set of rules.
Given below is an example:


<!DOCTYPE html>
<html>
<head>
<title> CSS MEDIA </title>

<style tyle="text/css">
@media print {
body { font-size: 10pt }
}
@media screen {
body { font-size: 18pt }
}
@media screen, print {
body { line-height: 2.2 }
}
</style>

</head>
<body>

<div> This is the first div. </div>
<div> This is another div. </div>
<div> This is the third div. </div>

</body>
</html>


*The Document Language*
In HTML 4.0, the media attribute on the LINK element specifies the target media of an external style sheet, just like this:

<link media="print" href="mystyle.css">


*Recognized Media Types*
The names chosen for CSS media types reflect target devices for which the relevant properties make sense. They give a sense of what device the media type is meant to refer to.

NOTE: Media type names are case-insensitive. Given below is a list of various media types:

Powered by Programmers Community...

2 Shares

Programming / Re: I Want To Build Websites All By Myself by geektechlife: 7:56pm On Oct 23, 2020
*CSS─ POSITIONING*

CSS helps you to position your HTML element. You can put any HTML element at whatever location you like. You can specify whether you want the element positioned relative to its natural position in the page or absolute based on its parent element. Now, we will see all the CSS positioning related properties with examples.

*Static Positioning*
HTML elements are positioned static by default. Static positioned elements are not affected by the top, bottom, left, and right properties. An element with position: static; is not positioned in any special way; it is always positioned according to the normal flow of the page.

*Relative Positioning*
Relative positioning changes the position of the HTML element relative to where it normally would appear based on the surrounding elements. So "left:20" adds 20 pixels to the element's LEFT position i.e pushes the element 20px away from the left without affecting margins or the positions of other elements. An element with position: relative; is positioned at the specified coordinates relative to your screen top-left corner.

*Absolute Positioning*
An element with position: absolute is positioned at the specified coordinates relative to the parent element. An element with position: absolute; is positioned relative to the nearest positioned ancestor (instead of positioned relative to the viewport, like fixed). However, if an absolute positioned element has no positioned ancestors, it uses the document body, and moves along with page scrolling.

Note: A "positioned" element is one whose position is anything except static.

*Fixed Positioning*
Fixed positioning allows you to fix the position of an element to a particular spot on the page, regardless of scrolling. Specified coordinates will be relative to the browser window. An element with position: fixed; is positioned relative to the viewport, which means it always stays in the same place even if the page is scrolled. A fixed element does not leave a gap in the page where it would normally have been located.

NOTE: For all positioning you can use four values top, bottom, right and left along with the position property to move an HTML element anywhere in the HTML document. However, these properties will not work unless the position property is set first. They also work differently depending on the position value.

Move Left - Use a negative value for left or positive right value.
Move Right - Use a positive value for left or negative right value.
Move Up - Use a negative value for top or positive bottom value.
Move Down - Use a positive value for top or negative bottom value.

Example:


<!DOCTYPE html>
<html>
<head>
<title> CSS DISPLAY </title>
</head>
<body style="font-size: 22px;">

<div style="position: relative; left: 80px; top: 2px; background-color: green;"> This div has relative positioning. </div>

<div style="position: absolute; left: 0px; top: 20px; background-color: yellow;"> This div has absolute positioning. </div>

<div style="position: fixed; left: 80px; top: 20px; background-color: red;"> This div has fixed positioning. </div>

</body>
</html>


With a lot more content enough for the page to scroll, you will see the effect of the fixed position value. However, see the result of the example in the image uploaded below.

Powered by Programmers Community...

2 Shares

Webmasters / Re: I Want To Build Websites All By Myself. Can I? by geektechlife: 7:55pm On Oct 23, 2020
*CSS─ POSITIONING*

CSS helps you to position your HTML element. You can put any HTML element at whatever location you like. You can specify whether you want the element positioned relative to its natural position in the page or absolute based on its parent element. Now, we will see all the CSS positioning related properties with examples.

*Static Positioning*
HTML elements are positioned static by default. Static positioned elements are not affected by the top, bottom, left, and right properties. An element with position: static; is not positioned in any special way; it is always positioned according to the normal flow of the page.

*Relative Positioning*
Relative positioning changes the position of the HTML element relative to where it normally would appear based on the surrounding elements. So "left:20" adds 20 pixels to the element's LEFT position i.e pushes the element 20px away from the left without affecting margins or the positions of other elements. An element with position: relative; is positioned at the specified coordinates relative to your screen top-left corner.

*Absolute Positioning*
An element with position: absolute is positioned at the specified coordinates relative to the parent element. An element with position: absolute; is positioned relative to the nearest positioned ancestor (instead of positioned relative to the viewport, like fixed). However, if an absolute positioned element has no positioned ancestors, it uses the document body, and moves along with page scrolling.

Note: A "positioned" element is one whose position is anything except static.

*Fixed Positioning*
Fixed positioning allows you to fix the position of an element to a particular spot on the page, regardless of scrolling. Specified coordinates will be relative to the browser window. An element with position: fixed; is positioned relative to the viewport, which means it always stays in the same place even if the page is scrolled. A fixed element does not leave a gap in the page where it would normally have been located.

NOTE: For all positioning you can use four values top, bottom, right and left along with the position property to move an HTML element anywhere in the HTML document. However, these properties will not work unless the position property is set first. They also work differently depending on the position value.

Move Left - Use a negative value for left or positive right value.
Move Right - Use a positive value for left or negative right value.
Move Up - Use a negative value for top or positive bottom value.
Move Down - Use a positive value for top or negative bottom value.

Example:


<!DOCTYPE html>
<html>
<head>
<title> CSS DISPLAY </title>
</head>
<body style="font-size: 22px;">

<div style="position: relative; left: 80px; top: 2px; background-color: green;"> This div has relative positioning. </div>

<div style="position: absolute; left: 0px; top: 20px; background-color: yellow;"> This div has absolute positioning. </div>

<div style="position: fixed; left: 80px; top: 20px; background-color: red;"> This div has fixed positioning. </div>

</body>
</html>


With a lot more content enough for the page to scroll, you will see the effect of the fixed position value. However, see the result of the example in the image uploaded below.

Powered by Programmers Community...

2 Shares

Religion / Re: Rhapsody Of Realities Daily Devotional For Today by geektechlife: 1:18pm On Oct 23, 2020
RHAPSODY OF REALITIES

FRIDAY 23

THREE IMPORTANT REASONS TO WIN SOULS

Pastor Chris

And he said unto them, Go ye into all the world, and preach the gospel to every creature (Mark 16:15).

Some have asked if Christians who never won souls to Christ would go to heaven. Their question is based on what the Lord said in Ezekiel 33:2-6 (read entire text). There’re three important reasons you must preach the Gospel and win souls as a Christian. First is your faith in the Lord Jesus and His glorious Gospel. The second reason is your love for Him and hope of His soon return. The third reason is His instruction for us to win souls. These three reasons should compel you to win souls.

If you don’t win souls, then your love for the Lord is questionable. Also, your hope of heaven is called to question, as well as your obedience to the Master’s instruction. So if you’re not a soul winner, it means you really don’t believe, and heaven isn’t a place for the “unbelieving,” as it isn’t for murderers, idolaters, etc. Revelation 21:8 says, “But the fearful, and unbelieving, and the abominable, and murderers, and whoremongers, and sorcerers, and idolaters, and all liars, shall have their part in the lake which burneth with fire and brimstone: which is the second death.”

God has determined that souls be won to His Kingdom, and He’s given us the responsibility to locate the lost in our world and share the Gospel with them. Therefore, you MUST reach the unreached and bring them to Christ; it’s your primary and solemn responsibility as a child of God.

The Apostle Paul, recognizing this, writes, “To wit, that God was in Christ, reconciling the world unto himself, not imputing their trespasses unto them; and hath committed unto us the word of reconciliation. Now then we are ambassadors for Christ...” (2 Corinthians 5:19-20). Be fully committed to the Gospel and its furtherance around the world.

PRAYER
Dear Father, I thank you for making me an able minister of the New Testament, to take the Gospel to the ends of the earth. I fulfil my calling with boldness, faith, courage and conviction. The light of your glorious Gospel shines brightly through me today, bringing men out of darkness, into the glorious liberty of the sons of God, in Jesus’ Name. Amen.

FURTHER STUDY
Romans 1:16; Matthew 28:19-20; 2 Corinthians 3:6

1 YEAR BIBLE READING PLAN: 1 Timothy 5:1-25 & Jeremiah 13-14

2 YEAR BIBLE READING PLAN: Hebrews 11:17-40 & Ezekiel 22

EXCERPT FROM: Rhapsody of Realities Daily Devotional

Today's Audio
https:///Rhapsodyaudio

1 Share

Religion / Re: Morning Chop - RHAPSODY OF REALITIES CHRISTIAN DIARY by geektechlife: 1:15pm On Oct 23, 2020
RHAPSODY OF REALITIES

FRIDAY 23

THREE IMPORTANT REASONS TO WIN SOULS

Pastor Chris

And he said unto them, Go ye into all the world, and preach the gospel to every creature (Mark 16:15).

Some have asked if Christians who never won souls to Christ would go to heaven. Their question is based on what the Lord said in Ezekiel 33:2-6 (read entire text). There’re three important reasons you must preach the Gospel and win souls as a Christian. First is your faith in the Lord Jesus and His glorious Gospel. The second reason is your love for Him and hope of His soon return. The third reason is His instruction for us to win souls. These three reasons should compel you to win souls.

If you don’t win souls, then your love for the Lord is questionable. Also, your hope of heaven is called to question, as well as your obedience to the Master’s instruction. So if you’re not a soul winner, it means you really don’t believe, and heaven isn’t a place for the “unbelieving,” as it isn’t for murderers, idolaters, etc. Revelation 21:8 says, “But the fearful, and unbelieving, and the abominable, and murderers, and whoremongers, and sorcerers, and idolaters, and all liars, shall have their part in the lake which burneth with fire and brimstone: which is the second death.”

God has determined that souls be won to His Kingdom, and He’s given us the responsibility to locate the lost in our world and share the Gospel with them. Therefore, you MUST reach the unreached and bring them to Christ; it’s your primary and solemn responsibility as a child of God.

The Apostle Paul, recognizing this, writes, “To wit, that God was in Christ, reconciling the world unto himself, not imputing their trespasses unto them; and hath committed unto us the word of reconciliation. Now then we are ambassadors for Christ...” (2 Corinthians 5:19-20). Be fully committed to the Gospel and its furtherance around the world.

PRAYER
Dear Father, I thank you for making me an able minister of the New Testament, to take the Gospel to the ends of the earth. I fulfil my calling with boldness, faith, courage and conviction. The light of your glorious Gospel shines brightly through me today, bringing men out of darkness, into the glorious liberty of the sons of God, in Jesus’ Name. Amen.

FURTHER STUDY
Romans 1:16; Matthew 28:19-20; 2 Corinthians 3:6

1 YEAR BIBLE READING PLAN: 1 Timothy 5:1-25 & Jeremiah 13-14

2 YEAR BIBLE READING PLAN: Hebrews 11:17-40 & Ezekiel 22

EXCERPT FROM: Rhapsody of Realities Daily Devotional

Today's Audio
https:///Rhapsodyaudio

1 Share

Religion / Re: Rhapsody Of Realities Daily Devotional For Today by geektechlife: 10:13am On Oct 21, 2020
*RHAPSODY OF REALITIES DAILY DEVOTIONAL*

Wednesday 21st October, 2020.

Pastor Chris Oyakhilome PhD

_Wherefore God also hath highly exalted him, and given him a name which is above every name: That at the name of Jesus every knee should bow, of things in heaven, and things in earth, and things under the earth; And that every tongue should confess that Jesus Christ is Lord, to the glory of God the Father (Philippians 2:9-11)._

When we say, “Jesus is Lord,” it’s much more than a religious expression; it means He’s One with supreme authority. He’s Master and Ruler; He’s the One to be reverenced and adored! That’s what “Lord” means.

Some have only been acquainted with Him as Saviour, but He’s more than a Saviour. He’s the One that has the pre-eminence, and to whom service and obedience are due. You must know Jesus in this light and walk in this consciousness every day. In your family, business, academics, job, finances and everything that has to do with your life, relate to Him as Lord! In other words, let Him have supremacy and ascendancy. Let Him have the final say in all that concerns you.

Remember, He’s the only wise God; therefore, submit to the supremacy of His will, counsel and wisdom. And if you’ve never been born again, if you haven’t yet made Jesus the Lord of your life, say this prayer and mean it with all your heart: “O Lord God, I believe with all my heart in Jesus Christ, Son of the living God. I believe He died for me and God raised Him from the dead. I confess that Jesus Christ is Lord of my life. Through Him and in His Name, I have eternal life; I’m born again. Thank you Lord, for saving my soul! I’m now a child of God. Hallelujah!”

CONFESSION:

Lord Jesus, I recognize you as my Lord, Master and Ruler, the One to whom I belong and that has the final say in my life. I believe with all my heart and declare with my mouth that you’re Lord over everything in heaven, in the earth, and under the earth. I walk in the consciousness and revelation of your greatness, dominion and lordship today. Amen.

FURTHER STUDY:

_1 Timothy 6:15-16; Which in his times he shall shew, [who][ is] the blessed and only Potentate, the King of kings, and Lord of lords; Who only hath immortality, dwelling in the light which no man can approach unto; whom no man hath seen, nor can see: to whom [be] honour and power everlasting. Amen._

_Acts 10:36; The word which [God] sent unto the children of Israel, preaching peace by Jesus Christ: (he is Lord of allsmiley_

1-YEAR BIBLE READING PLAN:
1 Timothy 3:1-16 & Jeremiah 9-10

2-YEAR BIBLE READING PLAN:
Hebrews 10:19-39 & Ezekiel 20

*Thank you for reading. He daily loads us with benefits, stay blessed*

1 Share

Religion / Re: Morning Chop - RHAPSODY OF REALITIES CHRISTIAN DIARY by geektechlife: 10:11am On Oct 21, 2020
*RHAPSODY OF REALITIES DAILY DEVOTIONAL*

Wednesday 21st October, 2020.

Pastor Chris Oyakhilome PhD

_Wherefore God also hath highly exalted him, and given him a name which is above every name: That at the name of Jesus every knee should bow, of things in heaven, and things in earth, and things under the earth; And that every tongue should confess that Jesus Christ is Lord, to the glory of God the Father (Philippians 2:9-11)._

When we say, “Jesus is Lord,” it’s much more than a religious expression; it means He’s One with supreme authority. He’s Master and Ruler; He’s the One to be reverenced and adored! That’s what “Lord” means.

Some have only been acquainted with Him as Saviour, but He’s more than a Saviour. He’s the One that has the pre-eminence, and to whom service and obedience are due. You must know Jesus in this light and walk in this consciousness every day. In your family, business, academics, job, finances and everything that has to do with your life, relate to Him as Lord! In other words, let Him have supremacy and ascendancy. Let Him have the final say in all that concerns you.

Remember, He’s the only wise God; therefore, submit to the supremacy of His will, counsel and wisdom. And if you’ve never been born again, if you haven’t yet made Jesus the Lord of your life, say this prayer and mean it with all your heart: “O Lord God, I believe with all my heart in Jesus Christ, Son of the living God. I believe He died for me and God raised Him from the dead. I confess that Jesus Christ is Lord of my life. Through Him and in His Name, I have eternal life; I’m born again. Thank you Lord, for saving my soul! I’m now a child of God. Hallelujah!”

CONFESSION:

Lord Jesus, I recognize you as my Lord, Master and Ruler, the One to whom I belong and that has the final say in my life. I believe with all my heart and declare with my mouth that you’re Lord over everything in heaven, in the earth, and under the earth. I walk in the consciousness and revelation of your greatness, dominion and lordship today. Amen.

FURTHER STUDY:

_1 Timothy 6:15-16; Which in his times he shall shew, [who][ is] the blessed and only Potentate, the King of kings, and Lord of lords; Who only hath immortality, dwelling in the light which no man can approach unto; whom no man hath seen, nor can see: to whom [be] honour and power everlasting. Amen._

_Acts 10:36; The word which [God] sent unto the children of Israel, preaching peace by Jesus Christ: (he is Lord of allsmiley_

1-YEAR BIBLE READING PLAN:
1 Timothy 3:1-16 & Jeremiah 9-10

2-YEAR BIBLE READING PLAN:
Hebrews 10:19-39 & Ezekiel 20

*Thank you for reading. He daily loads us with benefits, stay blessed*

1 Share

Programming / Re: I Want To Build Websites All By Myself by geektechlife: 3:47pm On Oct 18, 2020
CSS─ LISTS 2*

*The list-style-image Property*
The list-style-image allows you to specify an image so that you can use your own bullet style. The syntax is similar to the background-image property with the letters url starting the value of the property followed by the URL in brackets. If it does not find the given image then default bullets are used. Here is an example:


<!DOCTYPE html>
<html>
<head>
<title>CSS LISTS</title>
</head>
<body style="padding: 10px;">

<h1> UNORDERED LIST </h1>
<ul>
<li style="list-style-image: url(let.jpeg);">Maths</li>
<li>Social Science</li>
<li>Physics</li>
</ul>

<h1> ORDERED LIST </h1>
<ol>
<li style="list-style-image: url(let.jpeg);">Maths</li>
<li>Social Science</li>
<li>Physics</li>
</ol>

</body>
</html>


*The list-style Property*
The list-style allows you to specify all the list properties into a single expression. These properties can appear in any order.

*The marker-offset Property*
The marker-offset property allows you to specify the distance between the marker and the text relating to that marker. Its value should be a length as shown in the following example. Unfortunately, this property is not supported in IE 6 or Netscape 7. Here is the example:


<!DOCTYPE html>
<html>
<head>
<title>CSS LISTS</title>
</head>
<body style="padding: 10px;">

<h1> UNORDERED LIST </h1>
<ul style="list-style: inside square; marker-offset: 2em;">
<li>Maths</li>
<li>Social Science</li>
<li>Physics</li>
</ul>

<h1> ORDERED LIST </h1>
<ol style="list-style: outside upper-alpha; marker-offset: 2cm;">
<li>Maths</li>
<li>Social Science</li>
<li>Physics</li>
</ol>

</body>
</html>


Result is shown in the image uploaded below.

Powered by Programmers Community...

2 Shares

Webmasters / Re: I Want To Build Websites All By Myself. Can I? by geektechlife: 3:40pm On Oct 18, 2020
CSS─ LISTS 2*

*The list-style-image Property*
The list-style-image allows you to specify an image so that you can use your own bullet style. The syntax is similar to the background-image property with the letters url starting the value of the property followed by the URL in brackets. If it does not find the given image then default bullets are used. Here is an example:


<!DOCTYPE html>
<html>
<head>
<title>CSS LISTS</title>
</head>
<body style="padding: 10px;">

<h1> UNORDERED LIST </h1>
<ul>
<li style="list-style-image: url(let.jpeg);">Maths</li>
<li>Social Science</li>
<li>Physics</li>
</ul>

<h1> ORDERED LIST </h1>
<ol>
<li style="list-style-image: url(let.jpeg);">Maths</li>
<li>Social Science</li>
<li>Physics</li>
</ol>

</body>
</html>


*The list-style Property*
The list-style allows you to specify all the list properties into a single expression. These properties can appear in any order.

*The marker-offset Property*
The marker-offset property allows you to specify the distance between the marker and the text relating to that marker. Its value should be a length as shown in the following example. Unfortunately, this property is not supported in IE 6 or Netscape 7. Here is the example:


<!DOCTYPE html>
<html>
<head>
<title>CSS LISTS</title>
</head>
<body style="padding: 10px;">

<h1> UNORDERED LIST </h1>
<ul style="list-style: inside square; marker-offset: 2em;">
<li>Maths</li>
<li>Social Science</li>
<li>Physics</li>
</ul>

<h1> ORDERED LIST </h1>
<ol style="list-style: outside upper-alpha; marker-offset: 2cm;">
<li>Maths</li>
<li>Social Science</li>
<li>Physics</li>
</ol>

</body>
</html>


Result is shown in the image uploaded below.

Powered by Programmers Community...

2 Shares

Religion / Re: Rhapsody Of Realities Daily Devotional For Today by geektechlife: 1:15pm On Oct 18, 2020
*RHAPSODY OF REALITIES DAILY DEVOTIONAL*

Sunday 18th October, 2020

*YOU OWN THE WORLD*

Pastor Chris Oyakhilome PhD

All things that the Father hath are mine: therefore said I, that he shall take of mine, and shall shew it unto you (John 16:15).

Nobody ever talked like Jesus. Imagine His audacious words in the verse above! He said, _“All things that the Father hath are mine.”_ The beautiful thing is that He’s made it so for you too. Romans 8:17 says you’re an heir of God, and a join their with Christ. Hallelujah!

In 1 Corinthians 3:21, the Apostle Paul said, _“Therefore let no man glory in men. For all things are yours.”_ He went further in the 22nd verse to say the world is yours. How can anyone know this and be in lack or want? Peter understood it and declared, _“According as his divine power hath given unto us all things that pertain unto life and godliness…” (2 Peter 1:3)._

If you’d accept, meditate and live by this truth, you wouldn’t be intimidated by anything, whether circumstances, powers or government. You’d think big, because you’re conscious that the world belongs to you in Christ Jesus.

Interestingly, He didn’t say the world belongs to those who live in the “best” countries of the world. Think about it: where was Jesus born? A very small town in a small country. But from that small country, He dominated the world. He told His disciples, _“… be of good cheer; I have overcome the world” (John 16:33)._ He couldn’t be limited by His earthly nativity or geographical location.

Your success or greatness has nothing to do with where you live, where you were born, who your parents are, or the job you do. It’s about who you are in Christ. As heirs of the Sovereign God, the Word declares that all things are yours; have this consciousness and live in dominion and self-sufficiency every day.

CONFESSION

God’s divine power has given me all things that pertain to life and godliness. I have no lack or want. I’m the seed of Abraham; therefore, the world is mine; all things are mine, because I’m an heir of God and a joint-heir with Christ. Blessed be God!

FURTHER STUDY

_1 Corinthians 3:21-23 Therefore let no man glory in men. For all things are your's; Whether Paul, or Apollos, or Cephas, or the world, or life, or death, or things present, or things to come; all are your's; And ye are Christ's; and Christ is God's._

_2 Peter 1:3 According as his divine power hath given unto us all things that pertain unto life and godliness, through the knowledge of him that hath called us to glory and virtue:_

1 YEAR BIBLE READING PLAN: 2 Thessalonians 3:1-18 & Jeremiah 3-4

2 YEAR BIBLE READING PLAN: Hebrews 9:1-10 & Ezekiel 16

EXCERPT FROM: Rhapsody of Realities Daily Devotional

Today's Audio
https:///Rhapsodyaudio

*Stay blessed*
#MONTH OF PROCLAMATION

1 Share

Religion / Re: Morning Chop - RHAPSODY OF REALITIES CHRISTIAN DIARY by geektechlife: 1:14pm On Oct 18, 2020
*RHAPSODY OF REALITIES DAILY DEVOTIONAL*

Sunday 18th October, 2020

*YOU OWN THE WORLD*

Pastor Chris Oyakhilome PhD

All things that the Father hath are mine: therefore said I, that he shall take of mine, and shall shew it unto you (John 16:15).

Nobody ever talked like Jesus. Imagine His audacious words in the verse above! He said, _“All things that the Father hath are mine.”_ The beautiful thing is that He’s made it so for you too. Romans 8:17 says you’re an heir of God, and a join their with Christ. Hallelujah!

In 1 Corinthians 3:21, the Apostle Paul said, _“Therefore let no man glory in men. For all things are yours.”_ He went further in the 22nd verse to say the world is yours. How can anyone know this and be in lack or want? Peter understood it and declared, _“According as his divine power hath given unto us all things that pertain unto life and godliness…” (2 Peter 1:3)._

If you’d accept, meditate and live by this truth, you wouldn’t be intimidated by anything, whether circumstances, powers or government. You’d think big, because you’re conscious that the world belongs to you in Christ Jesus.

Interestingly, He didn’t say the world belongs to those who live in the “best” countries of the world. Think about it: where was Jesus born? A very small town in a small country. But from that small country, He dominated the world. He told His disciples, _“… be of good cheer; I have overcome the world” (John 16:33)._ He couldn’t be limited by His earthly nativity or geographical location.

Your success or greatness has nothing to do with where you live, where you were born, who your parents are, or the job you do. It’s about who you are in Christ. As heirs of the Sovereign God, the Word declares that all things are yours; have this consciousness and live in dominion and self-sufficiency every day.

CONFESSION

God’s divine power has given me all things that pertain to life and godliness. I have no lack or want. I’m the seed of Abraham; therefore, the world is mine; all things are mine, because I’m an heir of God and a joint-heir with Christ. Blessed be God!

FURTHER STUDY

_1 Corinthians 3:21-23 Therefore let no man glory in men. For all things are your's; Whether Paul, or Apollos, or Cephas, or the world, or life, or death, or things present, or things to come; all are your's; And ye are Christ's; and Christ is God's._

_2 Peter 1:3 According as his divine power hath given unto us all things that pertain unto life and godliness, through the knowledge of him that hath called us to glory and virtue:_

1 YEAR BIBLE READING PLAN: 2 Thessalonians 3:1-18 & Jeremiah 3-4

2 YEAR BIBLE READING PLAN: Hebrews 9:1-10 & Ezekiel 16

EXCERPT FROM: Rhapsody of Realities Daily Devotional

Today's Audio
https:///Rhapsodyaudio

*Stay blessed*
#MONTH OF PROCLAMATION

1 Share

Webmasters / Re: I Want To Build Websites All By Myself. Can I? by geektechlife: 4:26pm On Oct 17, 2020
*CSS─ LISTS 1*

Lists are very helpful in conveying a set of either numbered or bulleted points. You will learn how to control list type, position, style, etc., using CSS. We have the following five CSS properties, which can be used to control lists:

1) The list-style-type allows you to control the shape or appearance of the marker.

2) The list-style-position specifies whether a long point that wraps to a second line should align with the first line or start underneath the start of the marker.

3) The list-style-image specifies an image for the marker rather than a bullet point or number.

4) The list-style serves as shorthand for the preceding properties.

5) The marker-offset specifies the distance between a marker and the text in the list.

Now we will see how to use these properties with examples.

*The list-style-type Property*
The list-style-type property allows you to control the shape or style of a bullet point (also known as a marker) in case of unordered lists and the style of numbering characters in ordered lists.

Here are the values, which can be used for an unordered list:

1) none - gives no marker.
2) disc - (default) gives a filled-in circle.
3) circle - gives an empty circle.
4) square - gives a filled-in square.

Here are the values, which can be used for an ordered list:

1) decimal - gives a number marker e.g "1".

2) decimal-leading-zero - gives a number marker with a preceding zero e.g "01".

3) lower-alpha - gives an alphabet marker in lowercase e.g "a".

4) upper-alpha - gives an alphabet marker in uppercase e.g "A".

5) lower-roman - gives a Roman numeric marker in lowercase e.g "i".

6) upper-roman - gives a Roman numeric marker in uppercase e.g "I".

Here is an example, and the result shown in the image uploaded below:


<!DOCTYPE html>
<html>
<head>
<title>CSS LISTS</title>
</head>
<body style="padding: 10px;">

<h1> UNORDERED LISTS </h1>
<ul style="list-style-type: none;">
<li>Maths</li>
<li>Social Science</li>
</ul>
<br/>

<ul style="list-style-type: disc;">
<li>Maths</li>
<li>Social Science</li>
</ul>
<br/>

<ul style="list-style-type: circle;">
<li>Maths</li>
<li>Social Science</li>
</ul>
<br/>

<ul style="list-style-type: square;">
<li>Maths</li>
<li>Social Science</li>
</ul>
<br/>

<h1> ORDERED LISTS </h1>
<ol style="list-style-type: decimal;">
<li>Maths</li>
<li>Social Science</li>
</ol>
<br/>

<ol style="list-style-type: lower-alpha;">
<li>Maths</li>
<li>Social Science</li>
</ol>
<br/>

<ol style="list-style-type: upper-alpha;">
<li>Maths</li>
<li>Social Science</li>
</ol>
<br/>

<ol style="list-style-type: lower-roman;">
<li>Maths</li>
<li>Social Science</li>
</ol>
<br/>

<ol style="list-style-type: upper-roman;">
<li>Maths</li>
<li>Social Science</li>
</ol>

</body>
</html>


Powered by Programmers Community...

2 Shares

Programming / Re: I Want To Build Websites All By Myself by geektechlife: 4:25pm On Oct 17, 2020
*CSS─ LISTS 1*

Lists are very helpful in conveying a set of either numbered or bulleted points. You will learn how to control list type, position, style, etc., using CSS. We have the following five CSS properties, which can be used to control lists:

1) The list-style-type allows you to control the shape or appearance of the marker.

2) The list-style-position specifies whether a long point that wraps to a second line should align with the first line or start underneath the start of the marker.

3) The list-style-image specifies an image for the marker rather than a bullet point or number.

4) The list-style serves as shorthand for the preceding properties.

5) The marker-offset specifies the distance between a marker and the text in the list.

Now we will see how to use these properties with examples.

*The list-style-type Property*
The list-style-type property allows you to control the shape or style of a bullet point (also known as a marker) in case of unordered lists and the style of numbering characters in ordered lists.

Here are the values, which can be used for an unordered list:

1) none - gives no marker.
2) disc - (default) gives a filled-in circle.
3) circle - gives an empty circle.
4) square - gives a filled-in square.

Here are the values, which can be used for an ordered list:

1) decimal - gives a number marker e.g "1".

2) decimal-leading-zero - gives a number marker with a preceding zero e.g "01".

3) lower-alpha - gives an alphabet marker in lowercase e.g "a".

4) upper-alpha - gives an alphabet marker in uppercase e.g "A".

5) lower-roman - gives a Roman numeric marker in lowercase e.g "i".

6) upper-roman - gives a Roman numeric marker in uppercase e.g "I".

Here is an example, and the result shown in the image uploaded below:


<!DOCTYPE html>
<html>
<head>
<title>CSS LISTS</title>
</head>
<body style="padding: 10px;">

<h1> UNORDERED LISTS </h1>
<ul style="list-style-type: none;">
<li>Maths</li>
<li>Social Science</li>
</ul>
<br/>

<ul style="list-style-type: disc;">
<li>Maths</li>
<li>Social Science</li>
</ul>
<br/>

<ul style="list-style-type: circle;">
<li>Maths</li>
<li>Social Science</li>
</ul>
<br/>

<ul style="list-style-type: square;">
<li>Maths</li>
<li>Social Science</li>
</ul>
<br/>

<h1> ORDERED LISTS </h1>
<ol style="list-style-type: decimal;">
<li>Maths</li>
<li>Social Science</li>
</ol>
<br/>

<ol style="list-style-type: lower-alpha;">
<li>Maths</li>
<li>Social Science</li>
</ol>
<br/>

<ol style="list-style-type: upper-alpha;">
<li>Maths</li>
<li>Social Science</li>
</ol>
<br/>

<ol style="list-style-type: lower-roman;">
<li>Maths</li>
<li>Social Science</li>
</ol>
<br/>

<ol style="list-style-type: upper-roman;">
<li>Maths</li>
<li>Social Science</li>
</ol>

</body>
</html>


Powered by Programmers Community...

2 Shares

Webmasters / Re: I Want To Build Websites All By Myself. Can I? by geektechlife: 2:08pm On Oct 17, 2020
*CSS─ PADDINGS*

The padding property allows you to specify how much space should appear between the content of an element and its border. The value of this attribute should be either a length, a percentage, or the word inherit. If the value is inherit, it will have the same padding as its parent element. If a percentage is used, the percentage is of the containing box. The following CSS properties can be used to control lists. You can also set different values for the padding on each side of the box using the following properties:

1) The padding-bottom specifies the bottom padding of an element.

2) The padding-top specifies the top padding of an element.

3) The padding-left specifies the left padding of an element.

4)The padding-right specifies the right padding of an element.

5) The padding serves as shorthand for the preceding properties.

Now, we will see how to use these properties with examples.

*The padding-bottom, padding-top, padding-left and padding-right Properties*
The padding-bottom property sets the bottom padding (space) of an element. The padding-top property sets the top padding (space) of an element. The padding-left property sets the left padding (space) of an element. The padding-right property sets the right padding (space) of an element. These can each take a value in terms of length or %.
Here is an example:


<!DOCTYPE html>
<html>
<head>
<title>CSS PADDINGS</title>
</head>
<body>

<p style="padding-bottom: 15px; border:1px solid black;">
This is a paragraph with a specified bottom padding</p>
<br/>

<p style="padding-top: 5%; border:1px solid black;">This is a paragraph with a specified top padding in percent</p>
<br/>

<p style="padding-left: 15px; border:1px solid black;">
This is a paragraph with a specified left padding</p>
<br/>

<p style="padding-right: 5%; border:1px solid black;">
This is a paragraph with a specified right padding in percent</p>

</body>
</html>


*The Padding Property*
The padding property sets the left, right, top and bottom padding (space) of an element. This can take a value in terms of length or %.
Here is an example:


<!DOCTYPE html>
<html>
<head>
<title>CSS PADDINGS</title>
</head>
<body>

<p style="padding: 15px; border:1px solid black;">
all four padding will be 15px
</p>
<br/>

<p style="padding:10px 2%; border:1px solid black;">
top and bottom padding will be 10px, left and right padding will be 2% of the
total width of the document.
</p>
<br/>

<p style="padding: 10px 2% 10px; border:1px solid black;">
top padding will be 10px, left and right padding will be 2% of the total width
of the document, bottom padding will be 10px
</p>
<br/>

<p style="padding: 10px 2% 10px 10px; border:1px solid black;">
top padding will be 10px, right padding will be 2% of the total width of the
document, bottom padding and top padding will be 10px
</p>

</body>
</html>


Results are shown in the images uploaded below. Check the examples on margin. See how padding works different from margin?

Powered by Programmers Community...

2 Shares

Programming / Re: I Want To Build Websites All By Myself by geektechlife: 2:06pm On Oct 17, 2020
*CSS─ PADDINGS*

The padding property allows you to specify how much space should appear between the content of an element and its border. The value of this attribute should be either a length, a percentage, or the word inherit. If the value is inherit, it will have the same padding as its parent element. If a percentage is used, the percentage is of the containing box. The following CSS properties can be used to control lists. You can also set different values for the padding on each side of the box using the following properties:

1) The padding-bottom specifies the bottom padding of an element.

2) The padding-top specifies the top padding of an element.

3) The padding-left specifies the left padding of an element.

4)The padding-right specifies the right padding of an element.

5) The padding serves as shorthand for the preceding properties.

Now, we will see how to use these properties with examples.

*The padding-bottom, padding-top, padding-left and padding-right Properties*
The padding-bottom property sets the bottom padding (space) of an element. The padding-top property sets the top padding (space) of an element. The padding-left property sets the left padding (space) of an element. The padding-right property sets the right padding (space) of an element. These can each take a value in terms of length or %.
Here is an example:


<!DOCTYPE html>
<html>
<head>
<title>CSS PADDINGS</title>
</head>
<body>

<p style="padding-bottom: 15px; border:1px solid black;">
This is a paragraph with a specified bottom padding</p>
<br/>

<p style="padding-top: 5%; border:1px solid black;">This is a paragraph with a specified top padding in percent</p>
<br/>

<p style="padding-left: 15px; border:1px solid black;">
This is a paragraph with a specified left padding</p>
<br/>

<p style="padding-right: 5%; border:1px solid black;">
This is a paragraph with a specified right padding in percent</p>

</body>
</html>


*The Padding Property*
The padding property sets the left, right, top and bottom padding (space) of an element. This can take a value in terms of length or %.
Here is an example:


<!DOCTYPE html>
<html>
<head>
<title>CSS PADDINGS</title>
</head>
<body>

<p style="padding: 15px; border:1px solid black;">
all four padding will be 15px
</p>
<br/>

<p style="padding:10px 2%; border:1px solid black;">
top and bottom padding will be 10px, left and right padding will be 2% of the
total width of the document.
</p>
<br/>

<p style="padding: 10px 2% 10px; border:1px solid black;">
top padding will be 10px, left and right padding will be 2% of the total width
of the document, bottom padding will be 10px
</p>
<br/>

<p style="padding: 10px 2% 10px 10px; border:1px solid black;">
top padding will be 10px, right padding will be 2% of the total width of the
document, bottom padding and top padding will be 10px
</p>

</body>
</html>


Results are shown in the images uploaded below. Check the examples on margin. See how padding works different from margin?

Powered by Programmers Community...

2 Shares

Programming / Re: I Want To Build Websites All By Myself by geektechlife: 9:51am On Oct 16, 2020
*CSS─ MARGINS*

The margin property defines the space around an HTML element; you can say the from the element border to any other surrounding elements. It is possible to use negative values to overlap content.

The values of the margin property are not inherited by the child elements. Remember that the adjacent vertical margins (top and bottom margins) will collapse into each other so that the distance between the blocks is not the sum of the margins, but only the greater of the two margins or the same size as one margin if both are equal. We have the following properties to set an element margin.

1) The margin specifies a shorthand property for setting the margin properties in one declaration.

2) The margin-bottom specifies the bottom margin of an element.

3) The margin-top specifies the top margin of an element.

4) The margin-left specifies the left margin of an element.

5) The margin-right specifies the right margin of an element.

Now, we will see how to use these properties with examples.

*The Margin Property*
The margin property allows you to set all of the properties for the four margins in one declaration. Here is an example:


<!DOCTYPE html>
<html>
<head>
<title>CSS MARGINS</title>
</head>
<body>

<p style="margin: 15px; border:1px dotted black;"> all four margins will be 15px. </p>
<br/>

<p style="margin:10px 2%; border:1px outset black;"> top and bottom margin will be 10px, left and right margin will be 2% of the total width of the document. </p>
<br/>

<p style="margin: 10px 2% -10px; border:1px solid black;"> top margin will be 10px, left and right margin will be 2% of the total width of the document, bottom margin will be -10px. </p>
<br/>

<p style="margin: 10px 2% -10px auto; border:1px dashed black;"> top margin will be 10px, right margin will be 2% of the total width of the document, bottom margin will be -10px, left margin will be set by the browser. </p>

</body>
</html>


You'd notice that when there is just one value, all sides use it. When there are two values, top and bottom use the first, right and left use the second. With three values, the top take the first, right and left take the second, leaving the third value as bottom margin. And when the values are four, first goes for top, second goes for right, third goes for bottom, last goes for left. That is it runs in a clockwise direction. This applies also for padding.

*The margin-bottom, margin-top, margin-left and margin-right Properties*
The margin-bottom property allows you to set the bottom margin of an element. The margin-top property allows you to set the top margin of an element. The margin-left property allows you to set the left margin of an element. The margin-right property allows you to set the right margin of an element. There can each have a value in length, %, or auto. Here is an example:


<!DOCTYPE html>
<html>
<head>
<title>CSS MARGINS</title>
</head>
<body>

<p style="margin-bottom: 15px; border:4px outset black;">
This is a paragraph with a specified bottom margin.
</p>
<br/>

<p style="margin-top: 5%; border:4px solid black;">
This is a paragraph with a specified top margin in percent.
</p>
<br/>

<p style="margin-left: 15px; border:4px inset black;">
This is a paragraph with a specified left margin.
</p>
<br/>

<p style="margin-right: 5%; border:4px ridge black;">
This is a paragraph with a specified right margin in percent.
</p>

</body>
</html>


See results accordingly in first and second images uploaded below.

Powered by Programmers Community...

1 Like 2 Shares

Webmasters / Re: I Want To Build Websites All By Myself. Can I? by geektechlife: 9:49am On Oct 16, 2020
*CSS─ MARGINS*

The margin property defines the space around an HTML element; you can say the from the element border to any other surrounding elements. It is possible to use negative values to overlap content.

The values of the margin property are not inherited by the child elements. Remember that the adjacent vertical margins (top and bottom margins) will collapse into each other so that the distance between the blocks is not the sum of the margins, but only the greater of the two margins or the same size as one margin if both are equal. We have the following properties to set an element margin.

1) The margin specifies a shorthand property for setting the margin properties in one declaration.

2) The margin-bottom specifies the bottom margin of an element.

3) The margin-top specifies the top margin of an element.

4) The margin-left specifies the left margin of an element.

5) The margin-right specifies the right margin of an element.

Now, we will see how to use these properties with examples.

*The Margin Property*
The margin property allows you to set all of the properties for the four margins in one declaration. Here is an example:


<!DOCTYPE html>
<html>
<head>
<title>CSS MARGINS</title>
</head>
<body>

<p style="margin: 15px; border:1px dotted black;"> all four margins will be 15px. </p>
<br/>

<p style="margin:10px 2%; border:1px outset black;"> top and bottom margin will be 10px, left and right margin will be 2% of the total width of the document. </p>
<br/>

<p style="margin: 10px 2% -10px; border:1px solid black;"> top margin will be 10px, left and right margin will be 2% of the total width of the document, bottom margin will be -10px. </p>
<br/>

<p style="margin: 10px 2% -10px auto; border:1px dashed black;"> top margin will be 10px, right margin will be 2% of the total width of the document, bottom margin will be -10px, left margin will be set by the browser. </p>

</body>
</html>


You'd notice that when there is just one value, all sides use it. When there are two values, top and bottom use the first, right and left use the second. With three values, the top take the first, right and left take the second, leaving the third value as bottom margin. And when the values are four, first goes for top, second goes for right, third goes for bottom, last goes for left. That is it runs in a clockwise direction. This applies also for padding.

*The margin-bottom, margin-top, margin-left and margin-right Properties*
The margin-bottom property allows you to set the bottom margin of an element. The margin-top property allows you to set the top margin of an element. The margin-left property allows you to set the left margin of an element. The margin-right property allows you to set the right margin of an element. There can each have a value in length, %, or auto. Here is an example:


<!DOCTYPE html>
<html>
<head>
<title>CSS MARGINS</title>
</head>
<body>

<p style="margin-bottom: 15px; border:4px outset black;">
This is a paragraph with a specified bottom margin.
</p>
<br/>

<p style="margin-top: 5%; border:4px solid black;">
This is a paragraph with a specified top margin in percent.
</p>
<br/>

<p style="margin-left: 15px; border:4px inset black;">
This is a paragraph with a specified left margin.
</p>
<br/>

<p style="margin-right: 5%; border:4px ridge black;">
This is a paragraph with a specified right margin in percent.
</p>

</body>
</html>


See results accordingly in first and second images uploaded below.

Powered by Programmers Community...

2 Shares

(1) (2) (3) (of 3 pages)

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 118
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.