Here is my unique HTML page:
View My HTML Page (to see the HTML page in action)
Code from JSFiddle:
:root {
background-color: #FFFACD;
}
div.infoguide {
width: 240px;
font-family: Arial, sans-serif;
font-size: 13px;
background-color: #F0FFF0;
}
div {
margin: 5;
padding: 0;
border: 0;
outline: 0;
}
A:link {
text-decoration: underline;
color: rgb(204, 51, 51);
}
A:visited {
text-decoration: underline;
color: rgb(204, 51, 51);
}
A:active {
text-decoration: underline;
color: rgb(204, 51, 51);
}
A:hover {
text-decoration: underline;
color: rgb(204, 51, 51);
}
body {
margin-left: 0px;
margin-top: 0px;
}
body,
td,
th {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: rgb(46, 46, 46);
line-height: 16px;
}
h1 {
font-family: Arial, Helvetica, sans-serif;
font-size: 20px;
font-weight: bold;
line-height: 20px;
margin-bottom: 0px;
}
h2 {
font-family: Arial, Helvetica, sans-serif;
font-size: 15px;
font-weight: bold;
margin-bottom: 0px;
}
h3 {
font-family: Arial, Helvetica, sans-serif;
font-size: 13px;
font-weight: bold;
margin-bottom: 0px;
}
h3 A:link {
text-decoration: none;
color: rgb(204, 51, 51);
}
h3 A:visited {
text-decoration: none;
color: rgb(204, 51, 51);
}
h3 A:active {
text-decoration: none;
color: rgb(204, 51, 51);
}
h3 A:hover {
text-decoration: underline;
color: rgb(204, 51, 51);
}
ul {
margin-left: 1.5em;
padding-left: 0px;
}
.info_data {
border-color: rgb(137, 137, 137);
border-style: solid;
border-width: 1px;
font-size: 11px;
padding: 4px;
text-align: center;
}
.news_headline {
font-family: Arial, Helvetica, sans-serif;
font-size: 15px;
font-weight: bold;
line-height: 22px;
}
.red {
color: rgb(204, 51, 51);
}
.red_padded {
color: rgb(204, 51, 51);
padding: 4px 0px;
}
redbg {
background-color: rgb(220, 6, 0);
}
<title>First Drive: 2017 Porsche Panamera - Autos.ca</title>
<div class="infoguide">
<H3>It works!</h3>
<p>It works!</p>
</div>
<div class="info_data">
</div>
<div class="infoguide">
<h2 class="red">A headline</h2>
<p>It works!</p>
</div>
This webpage serves as a sandbox for a blog-like magazine layout, with intentions of achieving a three-column DIV structure resembling a pseudo-blog style.
Example Magazine Article
Despite efforts, I have yet to achieve the desired look. Any suggestions or assistance would be greatly appreciated!
I have been experimenting with the :root element in my CSS file. Is this practice recommended or discouraged in an HTML5 page?
Your insights and guidance on this matter are welcome!