Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.
<img src="images/logo.png" alt="Logo" class="FloatLeft" />
img.FloatLeft { float: left; margin: 1px; }
<!-- Banner.html --><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html><head><title>Untitled</title><link rel="stylesheet" type="text/css" href="banner.css" /></head><body><!-- If Transitional, use <html xmlns="http://www.w3.org/1999/xhtml"> --><table class="invisible"><tr><td><img src="buttons/Home_up.jpg" alt="Home" class="tab" /></td><td><img src="buttons/index_up.jpg" alt="Index" class="tab" /></td><td><img src="buttons/purchase_up.jpg" alt="Purchase Photo" class="tab" /></td><td><img src="buttons/contact_up.jpg" alt="Contact us" class="tab" /></td><td><img src="buttons/ad_up.jpg" alt="Advertise with us" /></td></tr></table> <img src="images/logo.png" alt="Logo" class="FloatLeft" /><!-- Not showing up for some odd reason in any IE-based browser --><h1 class="center">House Of T'Kabi</body></html>
/* Banner.css */body { background-color: black; }h1 { color: white; font-size: 36pt; font-weight: bold; }table.invisible { border-style: none; margin-left: 50%; }*.center { text-align: center; }img.FloatLeft { float: left; margin: 1px; }td { margin: 0; padding: 0; }
I don't know much about CSS, but I don't think that your supposed to place the class inside the image location information... well Rob, is this right?
QuoteI don't know much about CSS, but I don't think that your supposed to place the class inside the image location information... well Rob, is this right?Wrong, I'm afraid. Class definitions can apply to ANY HTML element.Dilbert, as I said before, it would be helpful if you could publish this site and provide a link. Thanks.