Posts: 256
Location: Auckland, New Zealand
|
Using tables isn't the way to go in this situation, even though it may seem easier.
My logo I created uses a background image and has text laid over the top of it, because I feel actual text is better than an image that contains text. The html is simply:
HTML Code:
<div class="logo">
<h1>mastercomputers</h1>
</div>
The CSS is:
Code:
h1 {
font: bold 2.3em/0.9em tahoma,sans-serif;
letter-spacing: -1px;
}
.logo {
width: 53px;
height: 55px;
background: url('http://mastercomputers.uni.cc/images/logo.png') no-repeat;
}
.logo h1 {
position: relative;
top: 23px;
left: 26px;
}
The results are seen at:
http://mastercomputers.uni.cc/
The positioning is controlled by the top and left positions, I'm pushing it down 23px and pushing it from the left 26px to line it where I want above my background image. The div holding the background image is set at the height and width of the image.
All the other styling involved is just my personal preferences and doesn't do much for you.
Cheers,
MC
__________________
#------------------------------ signature---------------------------------------------------------------------------------#
Quote:
|
I am well recognised for what I don't do than what I do. Chores are just one of those things.
|
|