So it's been a long time (About 10 years) since I have bothered to make a website.
I have most of the PHP coded that I want to use (Not great and messy, but it works for now) So decided to start on the design.
And at the first hurdle I have been stopped
I'm sure it is stupidly simple and I am just being a retard (Or I am just way off the mark, I'm not sure) But what I am trying to do for now, is have a background image set at the top of the page with a logo in the top right of that.
The logo displays fine, but the BG image does not display anything.
E.G
LOGO PIC |||||||||||||||||||||||||||||
|||||||||||||||||||||||||||||||||||||||
With the ||| being the background picture.
Code that I have.
And the CSS
Again, sorry if this is a stupid question. Last time I did this iframes was cool
I have most of the PHP coded that I want to use (Not great and messy, but it works for now) So decided to start on the design.
And at the first hurdle I have been stopped
I'm sure it is stupidly simple and I am just being a retard (Or I am just way off the mark, I'm not sure) But what I am trying to do for now, is have a background image set at the top of the page with a logo in the top right of that.
The logo displays fine, but the BG image does not display anything.
E.G
LOGO PIC |||||||||||||||||||||||||||||
|||||||||||||||||||||||||||||||||||||||
With the ||| being the background picture.
Code that I have.
Code:
<HTML>
<HEAD>
<TITLE>DESIGN - Testing</TITLE>
<link rel="stylesheet" href="styles/main.css" />
</HEAD>
<BODY>
<div class="header">
<h1><img src="images/logo.png"
width="236" height="36" alt="Home" border="0" /></h1>
</div>
Blah Blah
</BODY
</HTML>
And the CSS
Code:
body {
font-size: 13px;
font-family:Century Gothic, Helvetica, sans-serif;
color: #333;
margin:0px;
padding: 25px;
}
#header {
background-image: url(images/test.png);
}
Again, sorry if this is a stupid question. Last time I did this iframes was cool