HTML/CSS

Overflow

Submitted by Yorkiebar on
Introduction: This is the seventh part in my CSS Styling tutorials, in which I will be covering overflow. What is Overflow? Overflow is used in CSS to decide what to do with any content that is slightly to big or wide to fit in the dedicated space (overflowing...). Structure: overflow: {type}; Example:

Font Properties (and Color)

Submitted by Yorkiebar on
Introduction: This is the fifth part in my CSS Styling tutorials, in which I will be covering font properties. Weight: The first of the font properties I will be covering is the weight property, this lets you set the weight of the font (how bold it is). You can either use the values 'normal', 'bold', 'light', etc.

Display

Submitted by Yorkiebar on
Introduction: This is the seventh part in my CSS Styling tutorials, in which I will be covering display. What is Display? Display is a property which sets the type of behaviour that will be given in relation to the position of the given elements. Structure: display: {type}; Example:

Border Radius

Submitted by Yorkiebar on
Introduction: This is the sixth part in my CSS Styling tutorials, in which I will be covering border radius. What is Border Radius: Border radius is a property within the border settings which allows you to change how curved the borders are.

Position

Submitted by Yorkiebar on
Introduction: This is the seventh part in my CSS Styling tutorials, in which I will be covering position. What is Position? Position is used to set the behaviour of how the elements display on-screen within the web browser. Structure: position: {type}; Example:

Borders

Submitted by Yorkiebar on
Introduction: This is the fourth part in my CSS Styling tutorials, in which I will be covering Borders. Order: Borders around elements come between the elements margin and padding. So, if the element has padding, the border will be away from the element whereas if the element only has margin, the border will be next the element but away from other elements. Basic Structure: The basic border attribute takes three arguments; Width, Type, Colour.

Margin and Padding

Submitted by Yorkiebar on
Introduction: This is the fourth part in my CSS Styling tutorials, in which I will be covering Margins and Padding. Difference? Both the margin and padding properties give white space around an object, the main difference is the order of which they occur in. At the same time, margin is mostly used for positioning while padding is used for giving white space around an object. Order: As a good example of which order the properties go in, please see that attached image which is a screen shot of the Inspect Element feature within Google Chrome.

CSS Backgrounds (Images and Colours)

Submitted by Yorkiebar on
Introduction: This is the third part in my CSS Styling tutorials, in which I will be covering backgrounds. Different Types of Backgrounds: In CSS, you can choose to set the background equal to an image, this can either be a url or a local file directory path, or a colour. Image Settings: Here is an example of setting the background of a class named 'myDiv' to background.jpg...

IDs and Classes

Submitted by Yorkiebar on
Introduction: This is the second part in my CSS Styling tutorials, in which I will tell you about IDs and Classes. What Are IDs? The Identification names are one option to link the HTML elements to the relevant CSS styling options.