Skip to content

Commit e00cbc9

Browse files
committed
Updated .css to center Vegetables <div>
1 parent ce6ffa9 commit e00cbc9

File tree

1 file changed

+32
-25
lines changed

1 file changed

+32
-25
lines changed

Pizza_Project/PIZZA_CSS/Pizza.css

Lines changed: 32 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -11,28 +11,34 @@ div {
1111

1212
/* Sizes & centers entire menu*/
1313
#menuBG {
14-
width: 400px;
15-
height: 470px;
14+
border: 1px solid black;
15+
width: 600px;
16+
height: 570px;
1617
margin: 10px auto;
1718
}
1819

20+
#btnOrder {
21+
margin: 10px 0px 0px 235px;
22+
width: 100px;
23+
height: 40px;
24+
}
25+
1926
/* Sizes "frmMenu" form */
2027
#frmMenu {
21-
border: 1px solid green;
22-
width: 400px;
23-
height: 200px;
28+
border: 2px solid green;
29+
width: 600px;
30+
height: 400px;
2431
}
2532

26-
/* Sizes "totalPrice" <div> */
27-
#totalPrice {
33+
/* Sizes & positions "Size" <div>*/
34+
.left {
2835
width: 200px;
29-
height: 190px;
30-
margin: 0 auto;
31-
float: right;
36+
height: 200px;
37+
float: left;
3238
}
3339

34-
/* Sizes & positions "Size" <div>*/
35-
.left {
40+
/* Sizes & positions "Vegetables" <div> */
41+
.center {
3642
width: 200px;
3743
height: 200px;
3844
float: left;
@@ -45,25 +51,26 @@ div {
4551
float: right;
4652
}
4753

54+
#cart {
55+
border: 2px solid yellow;
56+
top: 0;
57+
margin: 0px auto;
58+
width: 400px;
59+
height: 200px;
60+
}
61+
4862
/* Sizes & positions "showText" <div>*/
4963
#showText {
50-
border: 2px solid yellow;
5164
width: 200px;
5265
height: 190px;
5366
margin: 0px auto;
5467
float: left;
5568
}
5669

57-
#cart {
58-
border: 1px solid red;
59-
top: 0;
60-
margin: 0px auto;
61-
width: 400px;
62-
height: 200px;
63-
}
64-
65-
#btnOrder {
66-
margin: 10px 0px 0px 100px;
67-
width: 100px;
68-
height: 40px;
70+
/* Sizes "totalPrice" <div> */
71+
#totalPrice {
72+
width: 200px;
73+
height: 190px;
74+
margin: 0 auto;
75+
float: right;
6976
}

0 commit comments

Comments
 (0)