From 00a8cadf3fd25acb5c38bcd7cd5447d300f335ae Mon Sep 17 00:00:00 2001 From: latifa Date: Thu, 23 May 2024 06:53:51 -0700 Subject: [PATCH] update html and css codes --- index.css | 21 ++++++++++++++++----- index.html | 19 ++++++++++++++----- 2 files changed, 30 insertions(+), 10 deletions(-) diff --git a/index.css b/index.css index 1cd2729..8f39861 100644 --- a/index.css +++ b/index.css @@ -17,19 +17,30 @@ text-align: center; } -.image { +#img-div { background-color: white; - height: 710px; + height: auto; margin: 15px; } -.image img { +/* img{ + display: block; +} */ + +#img-div img { transform: translate(70px, 30px); } - -.image p { +#img-div #image{ + max-width: 100%; +} +#img-div p { margin-top: 40px; } +#image{ + height: auto; + max-width: 100%; + +} * { margin: 0; diff --git a/index.html b/index.html index 18ea56f..eca63e6 100644 --- a/index.html +++ b/index.html @@ -3,22 +3,28 @@ - Document + web-page + +

Dr.Norman Borlaug

The man how saved ab billion lives

- -
- tribute +
+ tribute

Dr. Norman Borlaug, third from the left, trains biologists in Mexico on how to increase wheat yields - part of his life-long war on hunger.

+
this is a web_page
- +

Here's a time line of Dr. Borlaug's life:

+
+ information + about this web_page +
  • 1914 - Born in Cresco, Iowa
  • 1933 - Leaves his family's farm to attend the University of Minnesota, thanks
    @@ -44,6 +50,7 @@

    Here's a time line of Dr. Borlaug's life:

  • 2009 - dies at the age of 95.
+
"Borlaug's life and achievement are testimony to the far-reaching contribution
that one man's towering intellect, persistence and scientific vision can make to
human peace and progress."

@@ -54,5 +61,7 @@

If you have time, you should read more about this incredible human being on

+
+ \ No newline at end of file