Hi I'm new to HTML and CSS and Javascript. I'm looking to start a business and I want to make a website for the business to save money. I have been able to align the image to the center of the page; however, I'm having trouble figuring out how to align the text vertically under the image. This my html.
HTML MARKUP
<body> <img src = "cleangarage.jpg" height = "240" width = "380" /> <ul> <li><a href = "myFirst.html"><Home></li> <li><a href = "About.html"><About Us></li> </ul> </body> CSS [code] <style type = "text/CSS"> img { position: absolute; top: -689; bottom: 0; left: 0; right: 0; float: center; width: 50% clear: both; margin: auto; } ul li { text-align: center; width: 240; height: 380; } </style>
I have tried other methods that have not worked including div. In another forum it was suggested to use "span"; however, I don't know how to use it.