Very New

  • LurkinWilli
  • Born
  • Born
  • LurkinWilli
  • Posts: 1

Post 3+ Months Ago

Havein some probs with egtting an image in the header at the top of a webpage, as well as the menu bar and the footer. im very lost right now and any thing i do does not work. so i am puttin what the last good config of what i had. im very new to all of this and have done some looking around. thank you ahead of time for any help.

Here is the url for the pic for the header

http://lurkinwilli.angelfire./b2.jpg

and then the pic for the content.

http://lurkinwilli.angelfire./b1.jpg

Code: [ Select ]
<html>
<head>
<title>Lurkin Studios</title>
<style type="text/css">

</style>
</head>
<body>

<div id="container" style="width:1200px">
<div id="header" style="background-color:green;">
<h1 style="margin-bottom:0;">Lurkin Studios</h1></div>

<div id="menu" style="background-color:green;height:400px;width:100px;float:left;">
<b>Menu</b><br />
Home<br />
Fourms<br />
Links
</div>

<div id="content" style="background-color:green;height:300px;width:1100px;float:left;">
Content goes here</div>

<div id="footer" style="background-color:green;clear:both;text-align:center;">
Copyright © 2011 Lurkin Studios</div>

</div>

</body>
</html>
  1. <html>
  2. <head>
  3. <title>Lurkin Studios</title>
  4. <style type="text/css">
  5. </style>
  6. </head>
  7. <body>
  8. <div id="container" style="width:1200px">
  9. <div id="header" style="background-color:green;">
  10. <h1 style="margin-bottom:0;">Lurkin Studios</h1></div>
  11. <div id="menu" style="background-color:green;height:400px;width:100px;float:left;">
  12. <b>Menu</b><br />
  13. Home<br />
  14. Fourms<br />
  15. Links
  16. </div>
  17. <div id="content" style="background-color:green;height:300px;width:1100px;float:left;">
  18. Content goes here</div>
  19. <div id="footer" style="background-color:green;clear:both;text-align:center;">
  20. Copyright © 2011 Lurkin Studios</div>
  21. </div>
  22. </body>
  23. </html>
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • tastysite
  • Proficient
  • Proficient
  • User avatar
  • Posts: 349
  • Loc: Brighouse, West Yorkshire, England

Post 3+ Months Ago

the links do not work you know, when I do a google search for your site I get 1 link this post, just so you know.
  • WritingBadCode
  • Graduate
  • Graduate
  • User avatar
  • Posts: 214
  • Loc: Sweden

Post 3+ Months Ago

Not sure where you like to add those images and as pointed out those links seems dead.

You may however use css to place an image in the background (if the style is added to your top div id=header then the image should be placed somewhere at top where you may want it) :

Code: [ Select ]
background-image:url('imagelinkhere');


Or you can simply use a html <img> command somewhere:

Code: [ Select ]
<img src="http://linktofile.here" width="100" height="100">


Most web-designers seems to avoid the inline style that you uses and rather uses a separate .css file to line out most of the design. If you haven't already that might be something worth researching.
  • sherma
  • Silver Member
  • Silver Member
  • User avatar
  • Posts: 127

Post 3+ Months Ago

LurkinWilli wrote:
Havein some probs with egtting an image in the header at the top of a webpage, as well as the menu bar and the footer. im very lost right now and any thing i do does not work. so i am puttin what the last good config of what i had. im very new to all of this and have done some looking around. thank you ahead of time for any help.

Here is the url for the pic for the header

http://lurkinwilli.angelfire. /b2.jpg

and then the pic for the content.

http://lurkinwilli.angelfire. /b1.jpg




http://lurkinwilli.angelfire. com/b22.JPG

You said that is the image you want to use in the header, but looking at your site, it is actually the bg image, and the b1.jpg is a gold bg image, are you trying to make that the background for the body (iframe?). If so, you need to make an .html page as your iframe source, use that image as the bg on the .html page, then link the html by using an <iframe >. The menu on the left is there, but the page source is now missing the <div id="footer"> so your copyright text is going to be sitting where ever it lands as you add content.

Here is the code for your page as it looks now:

Code: [ Select ]
<html>

<head>

<title>Shatterd</title>

</head>



<body>

<style type="text/css">

body

{

background-image:url(http://lurkinwilli.angelfire. com/b22.JPG);

}

</style>



<div style="width:1000px">

<div style="background-color:;height:125px;">

</div>



<div style="background-color:;height:400px;width:100px;float:left;">

  Menu<br />

    <p><a href="http://www.google. com" target="iframe3">GoOgLe</a></p>

    <p><a href="http://www.yahoo. com" target="iframe3">YaHoO!</a></p>

 </div>



 <div style=height:400px;width:900px;float:right;">

  <iframe src="iframe1" name="iframe3" width="826" height="400"></iframe>

 </div>



 <div style=clear:both">

  <div style="width:1000px">

  <p style="color:lightblue;font-size:27px;">Copyright © </p> 

</div>



</body>

</html>
  1. <html>
  2. <head>
  3. <title>Shatterd</title>
  4. </head>
  5. <body>
  6. <style type="text/css">
  7. body
  8. {
  9. background-image:url(http://lurkinwilli.angelfire. com/b22.JPG);
  10. }
  11. </style>
  12. <div style="width:1000px">
  13. <div style="background-color:;height:125px;">
  14. </div>
  15. <div style="background-color:;height:400px;width:100px;float:left;">
  16.   Menu<br />
  17.     <p><a href="http://www.google. com" target="iframe3">GoOgLe</a></p>
  18.     <p><a href="http://www.yahoo. com" target="iframe3">YaHoO!</a></p>
  19.  </div>
  20.  <div style=height:400px;width:900px;float:right;">
  21.   <iframe src="iframe1" name="iframe3" width="826" height="400"></iframe>
  22.  </div>
  23.  <div style=clear:both">
  24.   <div style="width:1000px">
  25.   <p style="color:lightblue;font-size:27px;">Copyright © </p> 
  26. </div>
  27. </body>
  28. </html>


If you really want to use an iframe, make the relevant page, and link it in the content section with something like this:

Code: [ Select ]
<iframe src="lurkinwilli.angelfire. com/frame_source.html" name="frame-source.html" frameborder="0" height="400" width="826">If you can read this your browser does not support I-Frames. </iframe>


Something else, you have your iframe dimensions set to 400 x 826, and the image b1.jpg is 600x600, so it's going to look distorted since it's not a seamless tile image.

good luck

Post Information

  • Total Posts in this topic: 4 posts
  • Users browsing this forum: No registered users and 41 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.