Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,21 @@
<head>
<meta charset="UTF-8">
<title>Exceptional Realty Group - Luxury Homes - About</title>
<!-- Don't forget to link your CSS file! -->
<link rel="stylesheet" href="./style.css" />
</head>
<body>
<header>
<!-- logo -->

<h1>Exceptional Realty Group</h1>

<nav>
<nav class="topnav" class="center">
<a href="index.html">About</a> <a href="new-properties.html">New Properties</a> <a href="real-estate-listings.html">Listings</a> <a href="market-report.html">Market Report</a> <a href="contact.html">Contact</a> <a href="http://hud.gov" target="_blank">H.U.D.</a>
</nav>
</header>

<section id="featured-property">
<figure>
<img src="images/intro-pic.jpg" alt="A beautiful living room." title="Welcome to Exceptional Realty Group">
<img src="images/intro-pic.jpg" alt="A beautiful living room." class="center" title="Welcome to Exceptional Realty Group">
<figcaption>345 Carl Street Apt 12, Carrol Rd. Brooklyn, NY - Photo by Denise Richards.</figcaption>
</figure>

Expand Down
27 changes: 27 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,30 @@ body {
height: 100%;
margin: 0;
}
h1 {
text-align: center;
}
.center {
display: block;
margin-left: auto;
margin-right: auto;
}
.topnav a {
background-color:gray;
padding :10px;
position: relative;
margin: auto;

}
* {
text-align: center;

}

div {
float: left;
background-color: aqua;
text-align: center;
width: 25pc;
}