Jump to content

CSS Problems


hsncorrosion
 Share

Recommended Posts

My website at www.haroldsearchnetworks.co.nr on some pcs (with the same screen size and browser) The bar that says (somthinghere) should be on the right but somtimes its on the left.

Here is my index source.

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

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

<head>

<HTML LANG=en>

<HEAD>

<TITLE>HaroldSearchNetworks Connecting You, With Harold</TITLE>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<meta http-equiv="Content-Language" content="en-us">

<LINK REV="made" href="mailto:haroldsearchnetworks@gmail.com">

<META NAME="keywords" CONTENT="harold search networks haroldsearchnetworks haroldsearchnetworks.co.nr haroldsearchnetworks.tk www.haroldsearchnetworks.co.nr www.haroldsearchnetworks.tk">

<META NAME="description" CONTENT="The home of HaroldSearch, The -=HSN=- Clan, and more. Free Internet, and more to come.">

<META NAME="author" CONTENT="Harold J. G.">

<META NAME="ROBOTS" CONTENT="ALL">

<!-- Metadata generated by http://vancouver-webpages.com/META/mk-metas.html -->

<link rel="shortcut icon" href="favicon.ico" >

      <link rel="icon" href="animated_favicon1.gif" type="image/gif" >

</HEAD>



<script type="text/javascript" > 

<!-- 

function ctRoster(usrName) 

{ 

    

    var div = document.getElementById("roster_data");

    var textnode = document.createTextNode(usrName);

    div.appendChild(textnode);

} 

function ctRosterClean() 

{ 

    var label = document.getElementById("roster_data")

     while( label.hasChildNodes() ) { label.removeChild( label.lastChild ); }

} 

// --> 

</script>

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

</head>

<body style="background-color: #A5CADA">

<!-- Main wrapper -->

<div id="wrap">

    <div id="header">

        <div id="innerheader" style="width: 998px; height: 147px">

            <h1><span>Site Created by Knightmare @ ClanTemplates.com</span></h1>

            <ul>

                <li><a href="index.html">Home</a></li>

                <li><a href="http://www.boardzero.com/haroldsearchnet/">Forums</a></li>

                <li><a href="downloads.html">Downloads</a></li>

                <li><a href="pubpodcast.html">PodCast</a></li>

                <li><a href="http://hsn-clan.tk">HSN Clan</a></li>

                <li><a href="http://electronic-greetings.com/cgibin/c1.cgi?53823">

                E-Cards</a></li>

                <li><a href="weather.html">Weather</a></li>

                <li><a href="media.html">Media</a></li>

                <li><a href="telnet://hsnclanserver.gotdns.com">Chat</a></li>

            </ul>

        </div>

        

    </div>

    

    <div id="content">

        <div class="side_column">

        

            <h1>P<font size="1">OD<font color="#FFFFFF">Cast</font></font></h1>

            <p><!--webbot bot="HTMLMarkup" startspan --><A HREF="javascript:void(0)" onclick="window.open('http://www.pupuplatters.com/pupuplayer/free/pupuplayer.php?podcast=http://www.gcast.com/u/haroldsearchnetworks/main.xml', 'linkname', 'height=235, width=450, scrollbars=no')"> <img src="http://www.pupuplatters.com/pupuplayer/buttons/button7.gif" alt="PupuPlayer FREE", border="0" /> </a><!--webbot bot="HTMLMarkup" endspan --></p>

            <h1>Search<span style="background-repeat: repeat; background-position: 0 0"><font color="#FFFFFF">WEB</font></span></h1>

        

            <form action="#" method="post">

                <p>

                Enter Search String:

                <form></form><form method="post" action="http://www.gigablast.com/search">

<input type="text" name="q" size="32"> 

<input type="image" src="images/search_button.gif" value=submit class="button" name="submit" width="57" height="18" />

<input type="hidden" name="sc" value="0">

<input type="hidden" name="iu" value="http://freewebtown.com/haroldsflash/haroldsearch/haroldsearchresultslogo.jpg">

<input type="hidden" name="iw" value="200">

<input type="hidden" name="ih" value="50">

<input type="hidden" name="ix" value="http://haroldsearchnetworks.co.nr">

<p>



</form><br />

                 </p>

            </form>

            <h1>Official<small>Sponsors</small></h1>

            

              <!--webbot bot="HTMLMarkup" startspan --><a href="http://www.freedomain.co.nr/" target="_blank">

<img src="http://nasasra.so.com.ru/image3.gif" width="88" height="31" border="0" alt="Free Domains Forwarding" /></a><!--webbot bot="HTMLMarkup" endspan --><p>

             </div>

        <!-- END LEFT COLUMN -->

        <div id="middle" style="width: 534px; height: 627px" >

            <h1 align="center">Welcome</h1>

            <!-- ENTER MAIN CONTENT HERE -->

            <div class="content" style="width: 493px; height: 244px">

                

                <h2>Information about the HaroldSearchNetworks Website</h2>

                <p>

                    First Let me thank you all for coming to the new site. As 

                    you may or may not know the site has been trough a lot of 

                    tough changes and The website is not even completed yet. But 

                    I am working hard on the site. This site looks best in 

                    Internet Explorer, I like firefox better. working on a fix.</p>

                <p>

                    If you are coming from the old

                    <a href="http://www.haroldsearchnetworks.tk">

                    www.haroldsearchnetworks.tk</a> address the new site is.

                    <a href="http://www.haroldsearchnetworks.co.nr">

                    www.haroldsearchnetworks.co.nr</a></p>

                <p>

                    Also we now have a telnet chat system!

                    <a href="telnet://hsnclanserver.gotdns.com">Click Here</a> 

                    to join.</p>

                <p>

                    Download our toolbar

                    <a href="http://haroldsearchnetworks.ourtoolbar.com">HERE.</a></p>

                <p>Thanks again. </p>

            </div>

            <div class="content" style="width: 493px; height: 135px">

                <h2>The -=HSN=- Clan</h2>

                <p>

                    As you may know the HSN clan or HaroldSearchNetworks clan is 

                    a group of players that compete against each other for fun, 

                    The clan is under development and we are accepting new 

                    members actively. The current clan site is at.

                    <a href="http://www.hsn-clan.tk">www.hsn-clan.tk</a> I hope 

                    to see you there. If you have Unreal Tournament 2004 Please 

                    feel free to join me at our server.

                    <a href="ut2004://hsnclanserver.gotdns.com:7777">

                    ut2004://hsnclanserver.gotdns.com:7777</a>

                </p>

                <p>

                    We have also added a cube and HSNLAN - cube server at the 

                    address hsnclanserver.gotdns.com</p>

            </div>

            <div class="content" style="width: 493px; height: 264px">

                <h2>Contact </h2>

                <p>If you have any suggestions or have any problems here's my 

                info.</p>

                <p>Yahoo ID: hsncorrosion</p>

                <p>Google Talk: 

                <a href="mailto:haroldsearchnetworks@gmail.com">

                haroldsearchnetworks@gmail.com</a></p>

                <p>Email:  <a href="mailto:haroldsearchnetworks@gmail.com">

                haroldsearchnetworks@gmail.com</a></p>

                <p>X-Fire:  hsncorrosion<p>For live support contact our 

                operators

                <a href="http://haroldsearchnetworks.livehelpengine.com/livehelp.php?tab=1&doubleframe=yes&page=offline.php&department=1">

                here.</a><p> </div>

            <!-- END MAIN CONTENT -->

        </div>

        <div class="side_column" id="right">

            <h1>Somthing<font color="#FFFFFF">HERE</font></h1>

            <form action="#" method="post">

                <p> </p>

                <p> </p>

                <p> </p>

                <p> </p>

                <p> </p>

                <p> </p>

                <p> </p>

                <p> </p>

                <p> </p>

                <p> </p>

                <p> </p>

                <p> </p>

                <p> </p>

                <p> </p>

                <p> </p>

                <p> </p>

                <p> </p>

                <p> </p>

                <p> </p>

                <p> </p>

                <p> </p>

                <p> </p>

            </form>

        </div>

        

    </div>

    

    <div id="footer" style="width: 1001px; height: 36px">

        <p>Copyright 2007 HaroldSearchNetworks</p>

    </div>

</div>

<!-- / main wrapper -->

<!--webbot bot="HTMLMarkup" startspan --><table width="133" border="0" cellspacing="0" cellpadding="3"><tr><td align="center"><a href="http://www.hit-counter-download.com/web-hosting.html" target="_blank"><img src="http://www.hit-counter-download.com/cgi-bin/counter.pl?URL=http://freewebtown.com/haroldsflash" alt="web hosting service providers" border="0" ></a></td></tr><tr><td align="center"><font style="font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 9px; color: #24092C; text-decoration: none;"> <a href="http://www.hit-counter-download.com/" target="_blank" style="font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 9px; color: #444444; text-decoration: none;" title="free html hit counter code">free html hit counter code</a> </font></td></tr></table>

<!--webbot bot="HTMLMarkup" endspan -->

</body>

</html>

Here is my Css source

html, body {

    background-color:#e1f1ff;

    margin:0;

    padding:0;

    font-family:  Tahoma, Verdana, "Trebuchet MS", Arial, Helvetica , sans-serif;

    font-size:11px;

    

    color:#000;

}

#wrap {

    margin:0 auto;

    background:#e1f1ff url('images/bg_repeat.jpg') repeat-y top center;

    width:998px;

    padding:0;



}

a img { border:none;}

a, a:link, a:visited, a:active {

    color:#000000;

}

a:hover {

    text-decoration:none;

}

    #header {

        margin:0 auto;

        height:208px;

        background:#000000 url('images/header_repeat.gif') repeat-x top center;

    }

        

        #innerheader {

            height:150px;

            background:#FFFFFF url('images/header_image.gif') no-repeat top left;

            width:998px;

            padding-top:57px;

        }

            #innerheader h1 {

                text-indent:-9999em;

                height:1px;

                overflow:hidden;

                font-size:1px;

                margin:0;

                padding:0;

            }

                

            #innerheader ul {

                list-style:none;

                margin:0;

                padding:0;

            }

            #innerheader li {

                background:#000000 url('images/nav_bg.gif') repeat-x top center;

                border:1px solid #495e6e;

                border-top:none;

                border-bottom:none;

                display:block;

                float:left;

                height:25px;

                margin:0 2px;

                padding:15px 10px 0 10px;

                color:#FFFFFF;

                font-weight:bold;

                font-size:10px;

                text-transform:uppercase;

            }

            

            #innerheader li a, 

            #innerheader li a:link, 

            #innerheader li a:visited, 

            #innerheader li a:active {

                color:#FFFFFF;

                text-decoration:none;

            }

            #innerheader li a:hover {

                text-decoration:underline;

            }

            

    #content {

        width:1000px;

        margin:0 auto;

        

    }

        .side_column, #middle {

            width:229px;

            float:left;

            padding:0;

            margin:0;

            

        }

            .side_column h1 {

                width:166px;

                height:32px;

                background:#d0dfec url('images/side_h1.gif') no-repeat top center;

                margin:0;

                padding:13px 0 0 64px;

                font-size:10px;

                text-transform:uppercase;

                color:#bfe3fb;

                clear:both;

            }

            .side_column h1 small {

                color:#FFFFFF;

                

            }

            .side_column ul {

                list-style:none;

                margin:0;

                padding:0;

                

            }

            .side_column li {

                margin:0;

                padding:3px 9px 3px 20px;

                width:200px;

                border-bottom:1px solid #cedce9;

                border-top: 1px solid #FFFFFF;

                

                background-image: url('images/list_bg.gif');

                background-position:center left;

                background-repeat: no-repeat;

            }

            .side_column form {

                margin:7px;

                color:#8ea8c2;

                font-size:11px;

                font-weight:bold;

                clear:left;

            }

                .side_column input.text {

                    background-color:#FFFFFF;

                    font-family: Tahoma, Verdana, "Trebuchet MS", Arial,  Helvetica, sans-serif;

                    font-size:11px;

                    color:#8ea8c2;

                    font-weight:bold;

                    padding:4px;

                    width:206px;

                    margin:5px 0;

                    border:1px solid #c0c4c7;

                    

                }

                form input.check {

                    vertical-align:middle;

                }

                form label {float:left;}

                form input.button {

                    float:right;

                    margin-bottom:5px;

                }

            .side_column #roster {text-align:center; margin-bottom:5px;}

                #roster a img {border: 2px solid #a5cada; margin:3px;}

                #roster #roster_data { 

                    width:110px;

                    padding:3px;

                    height:14px;

                    margin:0px 0 0 8px;

                    background-color:#a5cada;

                    color:#3e3e3e;

                    font-weight:bold;

                    float:left;

                }

             #right h1 {

                background-position:top left;

            }

                

        #middle {

            width:534px;

            margin:0 3px;

        

            

        }

        

            #middle #division_select {

                width:534px;

                height:114px;

                background:#FFFFFF url('images/division_select_bg.gif') no-repeat top center;

                margin:0 auto;

                font-size:1em;

                text-align:center;

                padding:47px 0 0 0;

            }

                #division_select h1 {

                    display:none;

                }

                    

            #middle #breadcrum {

                background-color:#c2d3e3;

                width:auto;

                margin:1px 0;

                padding:5px 10px;

                font-weight:bold;

                color:#85a7c7;

            }

            #middle h1 {

                color:#aecbe6;

                font-size:18px;

                font-weight:normal;

                margin:10px 0 0 20px;

                

                text-transform:uppercase;

                font-family: Helvetica , Tahoma, Verdana, "Trebuchet MS", Arial,  sans-serif;

            }

            #middle .content {

                width:493px;

                margin:10px auto;

                padding:5px;

                border-bottom:5px solid #02264a;

                background-color:#FFFFFF;

            }

                #middle .content h2 {

                    margin:0;

                    background-color:#c0c9d2;

                    color:#02264a;

                    height:20px;

                    padding:5px 0 0 10px;

                    width:auto;

                    font-size:11px;

                }

    #footer {

        clear:both;

        height:38px;

        padding-top:20px;

        background:#000000 url('images/footer_repeat.gif') repeat-x top center;

        text-align:center;

        color:#FFFFFF;

        font-weight:bold;

    }

My website is edited in microsoft frontpage 2003

Link to comment
Share on other sites

<snip>

My website is edited in microsoft frontpage 2003

Well... there's your problem.

Have you thought about separating your layout and content? Your site is crying out for some simple server side includes and it might help debug the side bar issue.

Link to comment
Share on other sites

<snip>

My website is edited in microsoft frontpage 2003

Well... there's your problem.

Have you thought about separating your layout and content? Your site is crying out for some simple server side includes and it might help debug the side bar issue.

I don't know how to use server side includes.

Could you (or someone else) try and fix the source code I've given?

Link to comment
Share on other sites

Without PHP includes:

&lt;div id=textbox.left" &gt;

    &lt;p&gt;Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec consectetuer diam at risus. Aenean eu augue at pede rutrum adipiscing. Nam urna est, malesuada nec, accumsan quis, fermentum ac, augue. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Aenean sit amet arcu a elit vehicula elementum. In a felis eget metus mollis cursus. Nunc non ligula ut justo lacinia convallis. Vestibulum a nisi in pede suscipit porta. Pellentesque et odio non nunc sodales placerat. Aliquam dapibus, arcu vel viverra imperdiet, massa lacus facilisis lacus, in congue metus metus non nisi. Morbi quis turpis. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Donec dui est, commodo sit amet, hendrerit ut, rutrum vel, eros. Nunc consectetuer viverra ligula. Suspendisse potenti. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Duis aliquet scelerisque quam. Sed eu lacus. Phasellus et eros.&lt;/p&gt;

&lt;/div&gt;

With PHP includes:

&lt;div id=textbox.left" &gt;&lt;?php include("content.txt"); ?&gt;&lt;/div&gt;

Link to comment
Share on other sites

I tried your page in a gauntlet of various browsers, and it seems like its only IE6 and IE5.5 (IE5.0 wouldn't even open your page :) ). It may be an Escaping Floats Bug. In case its not this page has a good list of the possible IE bugs.

It may also have something to do with this:

      .side_column, #middle {

         width:229px;

         float:left;

         padding:0;

         margin:0;

         

      }

seeing as the "something here" div has the side_column class. The #middle later gets overridden by:

      #middle {

         width:534px;

         margin:0 3px;

      

         

      }

you could try adding this to the end of your style sheet:

.side_column #right {

     float: right;

}

and man, put down the Frontpage, we don't want anybody to get hurt, now do we. :twisted:

Link to comment
Share on other sites

Hmmm....

Well I checked and it seems that it works in ie7 and avant browser (avant uses what ever ie is installed anyway)

I downloaded opra browser and the side bar is fine. Every thing else is out of whack.

Is there an easier way to fix this? Is there a way to make my site look the way it does now without the style sheet? Anything to make this easier on me? (im only 15 so I've only had so much time to learn)

Link to comment
Share on other sites

1: Throw away frontpage.

2: Get gimp & notepad2.exe

3: Learn how to write CSS & HTML by hand.

4: Learn how to use PHP

Search the forums for web design topics, I've already posted loads of useful links to things like http://www.csscreator.com/version2/pagelayout.php. No, its not as easy but learning how to do it the hard way will help you avoid weird bugs like this.

Link to comment
Share on other sites

1: Throw away frontpage.

2: Get gimp & notepad2.exe

3: Learn how to write CSS & HTML by hand.

4: Learn how to use PHP

Search the forums for web design topics, I've already posted loads of useful links to things like http://www.csscreator.com/version2/pagelayout.php. No, its not as easy but learning how to do it the hard way will help you avoid weird bugs like this.

Thanx I'll work on it

Link to comment
Share on other sites

1: Throw away frontpage.

2: Get gimp & notepad2.exe

3: Learn how to write CSS & HTML by hand.

4: Learn how to use PHP

Search the forums for web design topics, I've already posted loads of useful links to things like http://www.csscreator.com/version2/pagelayout.php. No, its not as easy but learning how to do it the hard way will help you avoid weird bugs like this.

5: Get some actual content.

Link to comment
Share on other sites

1: Throw away frontpage.

2: Get gimp & notepad2.exe

3: Learn how to write CSS & HTML by hand.

4: Learn how to use PHP

Search the forums for web design topics, I've already posted loads of useful links to things like http://www.csscreator.com/version2/pagelayout.php. No, its not as easy but learning how to do it the hard way will help you avoid weird bugs like this.

5: Get some actual content.

What do you think about MS Expresion Web?

Link to comment
Share on other sites

What do you think about MS Expresion Web?

I've never heard of it, so I'll try it before I hate it profusely. :D You really should look into hand coding, its a great way of learning. Not only that, but you have full control, no stinking program to hold you back.

Though I personally prefer Programmers Notepad over Notepad 2, VaKo is right.

Tried MS Expression Web and it appears to be Dreamweaver clone. Thats it. Consider it un-installed.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...