Skip to content

Commit

Permalink
Fix a broken image link for a sample app
Browse files Browse the repository at this point in the history
  • Loading branch information
niloc132 committed Dec 19, 2024
1 parent 9b15243 commit 12a9621
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/main/markdown/doc/latest/tutorial/style.md
Original file line number Diff line number Diff line change
Expand Up @@ -604,6 +604,7 @@ In GWT, depending on the HTML element, you can set some attributes in the Java c

// Add styles to elements in the stock list table.
stocksFlexTable.setCellPadding(6);
}
```

2. Save your changes and then press Refresh in the browser running development mode to see them.
Expand All @@ -612,7 +613,7 @@ In GWT, depending on the HTML element, you can set some attributes in the Java c

Your application's HTML host page can include whatever additional static HTML elements you require. For example, in StockWatcher, you'll add the Google Code logo. To include images, put them in the project's public directory. The GWT compiler will copy all the necessary files to the output directory for deployment.

![Google Code logo](images/GoogleCode.png)
![GWT Project logo](gettingstarted/images/gwt.png)

To include static images in the application.

Expand All @@ -623,10 +624,10 @@ To include static images in the application.
StockWatcher/war/images
```

2. From this page, copy the image of the logo and paste it into the images directory.
2. From this page, copy the image of the GWT logo and paste it into the `images/` directory.

```text
StockWatcher/war/images/GoogleCode.png
StockWatcher/war/images/gwt.png
```

3. In StockWatcher.html, insert an img tag pointing to the logo file.
Expand All @@ -641,7 +642,7 @@ To include static images in the application.
<script src="stockwatcher/stockwatcher.nocache.js"></script>
</head>
<body>
<img src="images/GoogleCode.png" />
<img src="images/gwt.png" />
<h1>StockWatcher</h1>
<div id="stockList"></div>
</body>
Expand Down

0 comments on commit 12a9621

Please sign in to comment.