body {
background: url(deilogo.gif) 10 10 no-repeat #ffffcc;
color : #000000;
font-family : "times new roman", serif;
}
Play around with the "10 10" values to get the right posisition ("0 0" is top left corner of body).
"Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
~ Terry Pratchett in Nation
In your HTML, change the TD that currently has the image to this:
Code:
<td class="logo"></td>
Voila!
"Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
~ Terry Pratchett in Nation
Originally posted by design When I do a print preview it does not show the image. How can I get around this?
Hmmm..., the default setting for most browsers is to not print background images. The best workaround, probably, is to leave it as an IMG object in your table the way you originally had it.
This is where using "server-side includes" (SSI) could help you. You could put the whole top navigation table into a separate file, then just include it into each of the site's pages with one include command. I do this on my site by using PHP server-side scripting. You can get the same general effect by using an HTML include...
Code:
<!--#include file="header.html"-->
...at the point in each file where you want that HTML to be included.
"Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
~ Terry Pratchett in Nation
Bookmarks