Skip to content

Commit 2f655ab

Browse files
Merge pull request #495 from ManojSinghDashauni/ManojSinghDashauni-464
issues #464 - fix images and padding
2 parents 5b5d17d + 8211127 commit 2f655ab

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Restaurant-website/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
<meta charset="UTF-8">
66
<meta name="viewport" content="width=device-width, initial-scale=1.0">
77
<title>Le Catering</title>
8-
<link rel="stylesheet" href="css/style.css">
9-
<link rel="shortcut icon" type="image/jpg" href="/images/img1.jpg">
8+
<link rel="stylesheet" href="./public/css/style.css">
9+
<link rel="shortcut icon" type="image/jpg" href="./public/images/img1.jpg">
1010
</head>
1111
<body>
1212
<!-------Navbar-------------------------------------------------------------------------------------------------------------------------------->
@@ -27,7 +27,7 @@
2727
<div id="about">
2828
<!--image in about section-->
2929
<section id="about-section-image">
30-
<img src="images/img1.jpg">
30+
<img src="./public/images/img1.jpg">
3131
</section>
3232
<!---content in about section-->
3333
<section id="about-section">
@@ -107,7 +107,7 @@ <h3 class="menu-headings">
107107
<!----section-image-->
108108
</section>
109109
<section id="menu-img">
110-
<img src="images/img2.jpg">
110+
<img src="./public/images/img2.jpg">
111111
</section>
112112
</div>
113113
<hr>

Restaurant-website/public/css/style.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ ul{
3232

3333
display:grid;
3434
grid-template-rows:60px;
35-
grid-template-columns: auto 100px 100px 100px;
35+
grid-template-columns: auto 100px 80px 100px;
3636
/*border:1px solid red;*/
3737
width:100%;
3838
height:100%;
@@ -63,7 +63,7 @@ a:hover{
6363

6464
/******home section background image******/
6565
#home{
66-
background:url("/images/img3.jpg") no-repeat center center/cover;
66+
background:url(../images/img3.jpg) no-repeat center center/cover;
6767
opacity:0.8;
6868
margin-bottom:100px;
6969
}

0 commit comments

Comments
 (0)