Question:

Can someone please tell me what I'm doing wrong??

by  |  earlier

0 LIKES UnLike

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-...

<html xmlns="http://www.w3.org/1999/xhtml">

<!-- DW6 -->

<head>

<!-- Copyright 2005 Macromedia, Inc. All rights reserved. -->

<title>Supernaturalismygenre homepage</title>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<link rel="stylesheet" href="mm_entertainment.css" type="text/css" />

<style type="text/css">

<!--

body {

background-image: url(http://i534.photobucket.com/albums/ee349...

background-repeat: no-repeat;

margin-top: 0px;

margin-left: 200px;

}

body,td,th {

font-family: Geneva, Arial, Helvetica, sans-serif;

}

-->

.b1, .b2, .b3, .b4{font-size:1px; overflow:hidden; display:block;}.b1 {height:1px; background:#000; margin:0 5px;}.b2 {height:1px; background:#000; border-right:2px solid #000; border-left:2px solid #000; margin:0 3px;}.b3 {height:1px; background:#000; border-right:1px solid #000; border-left:1px solid #000; margin:0 2px;}.b4 {height:2px; background:#000; border-right:1px solid #000; border-left:1px solid #000; margin:0 1px;}.contentb {background: #000; border-right:1px solid #000; border-left:1px solid #000;}.contentb div {margin-left: 5px;}

.b11 {font-size:1px; overflow:hidden; display:block;}

.b21 {font-size:1px; overflow:hidden; display:block;}

.b41 {font-size:1px; overflow:hidden; display:block;}

.b31 {font-size:1px; overflow:hidden; display:block;}

</style>

</head>

<body bgcolor="#14285f">

<b class="b1"></b><b class="b2"></b><b class="b3"></b><div class="subHeader" id="sidebarHeader">

<div><img src="http://i534.photobucket.com/albums/... alt="header" width="553" height="274" /><b class="b4"></b><b class="b3"></b>

<b class="b2"></b><b class="b1"></b>

</body>

</html>

as you can see, the header around the picture is to large is width. I've tried everything I could think of to fix it, but I can't seem to get it right. I have dream weaver, so maybe it;s just the program doing something wrong.

Can anybody tell me how to fix it?

 Tags:

   Report

3 ANSWERS


  1. I did not remember how c**p and useless the code is when generated by DW!

    Erase the lot.

    Open Notepad.

    Write this:

    &lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Trans... (the rest)

    &lt;head&gt;

    &lt;title&gt;Supernaturalismygenre homepage&lt;/title&gt;

    &lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot; /&gt;

    &lt;/head&gt;

    &lt;body  bgcolor==&quot;#14285f&quot;&gt;

    &lt;img src=&quot;http://i534.photobucket.com/albums/... alt=&quot;header&quot; width=&quot;553&quot; height=&quot;274&quot; /&gt;

    &lt;/body&gt;

    &lt;/html&gt;

    save it as &quot;index.html&quot;, and upload it to your server...

    Note: DON&#039;T use image from OTHER servers: use images on YOUR server.  Download the image from photobucket, rename it &quot;myimage.jpg&quot; (if it is a jpeg), upload it to your server, change the line:

    &lt;img src=&quot;http://i534.photobucket.com/albums/... alt=&quot;header&quot; width=&quot;553&quot; height=&quot;274&quot; /&gt; into:

    &lt;img src=&#039;myimage.jpg&#039; /&gt;

    (And move your DW to the recycle bin, empty recycle bin, download Notepad++ (it is free))


  2. you didn&#039;t post mm_entertainment.css. This is a very important thing

  3. The problem is in mm_entertainment.css - which you didn&#039;t post.

Question Stats

Latest activity: earlier.
This question has 3 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.