Help - Search - Members - Calendar
Full Version: Menu/side bar
HTMLHelp Forums > Web Authoring > Markup (HTML, XHTML, XML)
Pages: 1, 2
moshkin
i want to be able to type next to the side bar thing, without it moving down, also, is there a way to seperate em with a line going down? is this code ok, or am i approaching it wrongly?

http://www.freewebs.com/the-british-legion/index.html
Darin McGrew
I recommend that you start by fixing the errors reported by the online HTML validator.
dharma
Im afraid the site you make is a... how to say...
well, i have a feeling that site you have no possibility to create by HTML code,
but only by kind of prepared (predefined?) templates...
It is something like LEGO...
Isnt it?

I think the best way to get answer is to search in FAQ (if they have some) of that company who offers that service.

But me, on your place, i just let it be, buy a cheepest possible web hosting a make page by my own, or with modificable templates like CMS or something like that...

(I hope you understand, my english is very simple)
moshkin
its not the actuall site, im just mucking around on freewebs, to check out the different things.
Darin McGrew
Whether it's the actual site or not, the URL you posted has such badly broken structure that I don't think it's worth trying to debug the presentation until the structure is fixed.
dharma
QUOTE(Darin McGrew @ Dec 18 2006, 05:12 PM) *

Whether it's the actual site or not, the URL you posted has such badly broken structure that I don't think it's worth trying to debug the presentation until the structure is fixed.


Darin, i think in this one case he is not able to fix this errors. I mean - no one is able to do so, only the webmaster of the company who offers the service...
This errors are already in the "frame" they offer to people to play in...
In fact there is no possibility to write codes, only choose from several templates and write plain texts.
I think its just a bad service smile.gif

www.freewebs.com
Peter1968
More incentive to get proper paid hosting then.
moshkin
Im getting proper hosting, i just dont want to waste money every month, while im trying to figure out how to make sidebars and other stuff. If i had most of it planned then as soon as i get the proper hosting, i can quickly set to work and complete it.
dharma
QUOTE(moshkin @ Dec 19 2006, 12:41 PM) *

Im getting proper hosting, i just dont want to waste money every month, while im trying to figure out how to make sidebars and other stuff. If i had most of it planned then as soon as i get the proper hosting, i can quickly set to work and complete it.


well, you can get FREE Hosting too...
for time when you are trying out the basic things...

You will have allways some advertise on your page, but for shorty time, for trying only its good.

anyway, like this you can atleast test HTML, but on that freewebs.com thing you even cant test HTML cuz there is no posibility to write some html...
...if im right...
i did ask you: "Im afraid the site you make is a... how to say...
well, i have a feeling that site you have no possibility to create by HTML code,
but only by kind of prepared (predefined?) templates...
It is something like LEGO...
Isnt it?"

but dont know the answer yet

Wish you the bests
moshkin
Sorry, yes there is a place that gives me a blank page, and tells me to encode my self, it was either a blank page or WYSIWYG, im learning to actually script so right now im just starting with a blank page and working on that.

Also ive edited the errors, its now down to 6 and i dont really understand the ones its giving me, the repeated community is in a <table etc...> but when i end the table </table> the validator says that its not meant to be there and is likely to have remained when you were editing text, ive deleted </table> it still works, but isnt it best to include that?

Also any help on the original question would be nice.
dharma
Well, if you watch result of validator you can see you had forgot the number for cellpadding

and the end tag of table is missing... it has to come after the last
CODE
</tr>
tag.

im not sure about that, but i have feeling that it is mistake to enclose a table in
CODE
<font face="Monotype Corsiva, Verdana" size="4" color="#00FF00"> - </font>


you should better do it like this:
CODE


<TABLE BORDER="1" CELLPADDING="1">
<tr>
    <td><font face="Monotype Corsiva, Verdana" size="4" color="#00FF00">
  Community</font></td>
</tr>
        <tr>
    <td><font face="Monotype Corsiva, Verdana" size="4" color="#00FF00">
  Community</font></td>
</tr><tr>
    <td><font face="Monotype Corsiva, Verdana" size="4" color="#00FF00">
  Community</font></td>
</tr><tr>
    <td><font face="Monotype Corsiva, Verdana" size="4" color="#00FF00">
  Community</font></td>
</tr><tr>
    <td><font face="Monotype Corsiva, Verdana" size="4" color="#00FF00">
  Community</font></td>
</tr><tr>
    <td><font face="Monotype Corsiva, Verdana" size="4" color="#00FF00">
  Community</font></td>
</tr>
          <tr>
    <td><font face="Monotype Corsiva, Verdana" size="4" color="#00FF00">
  Community</font></td>
</tr>
<tr>
          <td> </td>
        </tr>
       </table>


OR, simply define the font properties for <td> in a css file and apell on that file from head of your document, like

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


moshkin
http://www.freewebs.com/the-british-legion/TESTER.htm

still not working?
moshkin
I have a CSS where do i put the link?
QUOTE
OR, simply define the font properties for <td> in a css file and apell on that file from head of your document, like
CODE

<link rel="StyleSheet" href="style.css" type="text/css">
dharma
ok, i understand...
well, try this:
CODE

<TABLE BORDER="0" CELLPADDING="3">
<tr>
    <td valign="top">
<TABLE BORDER="1" CELLPADDING="1">
<tr>
    <td><font face="Monotype Corsiva, Verdana" size="4" color="#00FF00">
  Community</font></td>
</tr>
        <tr>
    <td><font face="Monotype Corsiva, Verdana" size="4" color="#00FF00">
  Community</font></td>
</tr><tr>
    <td><font face="Monotype Corsiva, Verdana" size="4" color="#00FF00">
  Community</font></td>
</tr><tr>
    <td><font face="Monotype Corsiva, Verdana" size="4" color="#00FF00">
  Community</font></td>
</tr><tr>
    <td><font face="Monotype Corsiva, Verdana" size="4" color="#00FF00">
  Community</font></td>
</tr><tr>
    <td><font face="Monotype Corsiva, Verdana" size="4" color="#00FF00">
  Community</font></td>
</tr>
          <tr>
    <td><font face="Monotype Corsiva, Verdana" size="4" color="#00FF00">
  Community</font></td>
</tr>
<tr>
          <td> &nbsp;</td>
        </tr>
       </table>
</td>
<td valign="top">
Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom
</td>
        </tr>
       </table>
dharma
better?
moshkin
Thank you, it now works.

Thank you.Thank you.Thank you.Thank you.Thank you.Thank you.

biggrin.gif biggrin.gif biggrin.gif biggrin.gif biggrin.gif biggrin.gif biggrin.gif biggrin.gif
moshkin
http://www.freewebs.com/the-british-legion/TESTER.htm

why is that not at the top?

EDIT: My mistake it still works. Thnx again.


EDIT: Hmm, is there a simple way to get it to move down to where i want, so i can easily adjust it when i want, as in now i want it to start as the image stops.
dharma
if you see, there is a table in the table...
the left "td" of the first table is the navbar (which is the second table) and the right "td" is the content

(if the content nedds to be, it can be a next table too)
moshkin
So that means??
dharma
avec plaisir, mon ami,
but if i can give you one more advice, you should write codes nice...
like in a special order...
it is because, if you will have a bit more complicated codes, you can easy read them... it means, your code should look something like this:
CODE

<TABLE BORDER="0" CELLPADDING="3">
  <tr>
    <td valign="top">
      <TABLE BORDER="1" CELLPADDING="1">
        <tr>
          <td><font face="Monotype Corsiva, Verdana" size="4" color="#00FF00">Community</font>
          </td>
        </tr>
        <tr>
          <td><font face="Monotype Corsiva, Verdana" size="4" color="#00FF00">Community</font>
          </td>
        </tr>
        <tr>
          <td><font face="Monotype Corsiva, Verdana" size="4" color="#00FF00">Community</font>
          </td>
        </tr>
        <tr>
          <td><font face="Monotype Corsiva, Verdana" size="4" color="#00FF00">Community</font>
          </td>
        </tr>
        <tr>
          <td><font face="Monotype Corsiva, Verdana" size="4" color="#00FF00">Community</font>
          </td>
        </tr>
        <tr>
          <td><font face="Monotype Corsiva, Verdana" size="4" color="#00FF00">Community</font>
          </td>
        </tr>
        <tr>
          <td><font face="Monotype Corsiva, Verdana" size="4" color="#00FF00">Community</font>
          </td>
        </tr>
        <tr>
          <td> &nbsp;
          </td>
        </tr>
      </table>
    </td>
    <td valign="top">
Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom Boom
    </td>
  </tr>
</table>
dharma
QUOTE(moshkin @ Dec 19 2006, 02:45 PM) *

http://www.freewebs.com/the-british-legion/TESTER.htm

why is that not at the top?

EDIT: My mistake it still works. Thnx again.


EDIT: Hmm, is there a simple way to get it to move down to where i want, so i can easily adjust it when i want, as in now i want it to start as the image stops.


Maybe i did not understood you right?
you vanted the navbar on left and content on right... no?
Wasnt your problem that the content is on the top of navbar?

maybe i really dont understand really exactly...
well, whats your aim, tell me very simple, pls smile.gif
dharma
i see your nex question... why "Welcome, blah blah blah, etc etc etc....." begins on the side of image... smile.gif
well, use <br><br> inbetween <img src='http://img236.imageshack.us/img236/8832/untitled1ty5.gif' alt='' border='0' /> and the text "Welcome, blah blah blah, etc etc etc....."
moshkin
So, is there anyway to get the sidebar thing, to scroll with the user, or i would prefer to know how to move it up and down as needed.
dharma
QUOTE(moshkin @ Dec 19 2006, 04:05 PM) *

So, is there anyway to get the sidebar thing, to scroll with the user, or i would prefer to know how to move it up and down as needed.


If you mean by "sidebar thing to scroll with user" something like it will move when the user is scrolling the page and thanks this it will be still visible, than YES, it is possible, by a javascript aplet...
but i know about javascript as much as a cow knows about nuclear technologies biggrin.gif
moshkin
can you take another look at it, ive added my skin changer from another site, and now the menu thingy has gone to center.

I would like to thank you youve been such a great help. smile.gif

p.s. you have to hate the host im using atm, keeps mucking up my scripts, -.- but from all your help i should make my site really soon.
Christian J
QUOTE(dharma @ Dec 19 2006, 10:16 PM) *

If you mean by "sidebar thing to scroll with user" something like it will move when the user is scrolling the page and thanks this it will be still visible, than YES, it is possible, by a javascript aplet...

Javascript solutions usually move in a jerky manner, you can do it much better with CSS "position: fixed". This is not supported by IE6, but there are workarounds like this one: http://www.cssplay.co.uk/layouts/fixed.html --though I don't agree with the author that the workaround relies on a bug in IE6: you can actually use the same technique in other modern browsers too. But I recommend using the real "position: fixed" when you can, in order to minimize potential bugs (e.g. one version of Opera7 used to crash with the IE6 workaround).
dharma
QUOTE(moshkin @ Dec 19 2006, 04:34 PM) *

can you take another look at it, ive added my skin changer from another site, and now the menu thingy has gone to center.

I would like to thank you youve been such a great help. smile.gif

p.s. you have to hate the host im using atm, keeps mucking up my scripts, -.- but from all your help i should make my site really soon.


It is centered, because the host You use added a <center> tag, but did not closed it before your code begins.
You can fix it in stand of them by adding a </center> tag just before your <body bgcolor="#454545">
tag.
dharma
well, now i looked back and the code is changed...
Before the form was on the top of the page, now it is just on top of the sidebar...
Actually, i dont know, what is done by your hosting and what is done by You, i just see, that now the </center> tag is not necessary, cuz the <center> did not begun there
...
and i remarked that you have now the BODY tag 2 times.
one time only <body> and second time <body bgcolor="#454545">

it should be only once...
moshkin
http://www.freewebs.com/the-british-legion/ps.htm

Now i want today we have been working on in the center, so basically it should look like this

--menu--- ****************************Clan Banner************************(page ends here)
--menu--- ++++++++++++++++++++++++++skin changer++++++++++++++++++++(page ends here)
--menu--- ~~~~~~~~~~~~~~~~~~~Box to make a announce ment~~~~~~~~~~~~~~~~~~~~~~~~
--menu--- ~~~~~~~~~~~~~~~~~~~should go down however many lines it needs to~~~~~~~~~~~~~
--menu--- ~~~~~~~~~~~~~~~~~~~but it should take the whole page~~~~~~~~~~~~~~~~~~~~~~~~~
dharma
uff, and i see your code is also mixed up on other parts...
there is the same javascript two times, once even in tr tag, what is nonsense, and your table ends before the td is ending and than, after the end of table there is a end of td and javascript again....

well, it is very mixed up...
dharma
QUOTE(moshkin @ Dec 20 2006, 10:33 AM) *

http://www.freewebs.com/the-british-legion/ps.htm

Now i want today we have been working on in the center, so basically it should look like this

--menu--- ****************************Clan Banner************************(page ends here)
--menu--- ++++++++++++++++++++++++++skin changer++++++++++++++++++++(page ends here)
--menu--- ~~~~~~~~~~~~~~~~~~~Box to make a announce ment~~~~~~~~~~~~~~~~~~~~~~~~
--menu--- ~~~~~~~~~~~~~~~~~~~should go down however many lines it needs to~~~~~~~~~~~~~
--menu--- ~~~~~~~~~~~~~~~~~~~but it should take the whole page~~~~~~~~~~~~~~~~~~~~~~~~~


well, i will try to make for you this code, and i will mark in the code some notesses, so you can see what is what and what is the function of several tags there... smile.gif
Frederiek
Pick the CSS lay-out you like at http://blog.html.it/layoutgala/.
Surely one of the 40 samples will accomodate your wishes.
moshkin
I would rather learn how to instead of using a ready made one.

Thanks dharma, i get so confused sad.gif
Frederiek
QUOTE(moshkin @ Dec 20 2006, 05:16 PM) *

I would rather learn how to instead of using a ready made one.


I'm glad to hear you want to learn.
But what's wrong with looking at sample files that obtain the code you need?
That's a learning curve too.

Good luck
dharma
Well, now i made a code for You, which i hope more or less folows what you imagined.
Is it to show some basic principles, but REMEMBER:

It is very important to know what tag is for what and where is his right place,
so You should read a bit the FAQ and Manuals about HTML...


Like when You like to write, You shoul know the alphabet...

smile.gif

You re welcome...

This guys here, most Darin, Pandy, Frederiek and Christian helped me much more than I do for You, and really, you should trust their advices smile.gif

here is Your code, hope it will work:

CODE


<!-- See, this is a notes... all notesses will be inprisoned in this funny flashes... if something is written in this flashes, it is not working in the browser except when it is inbetween script tags... it is not shown... you can read it when you see the code, but for the rest it is like it even dont exist -->



<!-- here the code begins -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>

<!-- here the javascript begins -->
<script type="text/javascript" src="/i.js"></script>
<script language="JavaScript">
<!--
var scheme = getCookie('template1');
if (scheme == 'Dark style') {
document.write('<LINK REL="stylesheet" TYPE="text/css" HREF="http://h1.ripway.com/moshkin/Folder%20Name/darkskin.css">');
} else if (scheme == 'Grey') {
document.write('<LINK REL="stylesheet" TYPE="text/css" HREF="http://h1.ripway.com/moshkin/Folder%20Name/Grey.css">');
} else if (scheme == 'Default') {
document.write('<LINK REL="stylesheet" TYPE="text/css" HREF="http://h1.ripway.com/moshkin/Folder%20Name/Default.css">');
} else if (scheme == 'Red') {
document.write('<LINK REL="stylesheet" TYPE="text/css" HREF="http://h1.ripway.com/moshkin/Folder%20Name/redv.css">');
}


function changeskin(change) {
var scheme = change;
var name = 'template1';
var pathname = location.pathname;
var myDomain = pathname.substring(0,pathname.lastIndexOf('/')) +'/';
var ExpDate = new Date ();
ExpDate.setTime(ExpDate.getTime() + (180 * 24 * 3600 * 1000));
setCookie(name,scheme,ExpDate,myDomain);
}
function getCookie(name){
var cname = name + "=";
var dc = document.cookie;
if (dc.length > 0) {
begin = dc.indexOf(cname);
if (begin != -1) {
begin += cname.length;
end = dc.indexOf(";", begin);
if (end == -1) end = dc.length;
return unescape(dc.substring(begin, end));
}
}
return null;
}

function setCookie(name, value, expires, path, domain, secure) {
document.cookie = name + "=" + escape(value) +
((expires == null) ? "" : "; expires=" + expires.toGMTString()) +
((path == null) ? "" : "; path=" + path) +
((domain == null) ? "" : "; domain=" + domain) +
((secure == null) ? "" : "; secure");
}
-->
</script>
<!-- here the javascript ends -->

<title>The British Legion</title>
</head>

<!-- here the visible part of your page begins -->
<body bgcolor="#454545">

<!-- as you wants to have the whole page centered, we put a CENTER NUMBER 1 -->
<center>

<!-- Here TABLE NUMBER 0 begins -->
<TABLE BORDER="0" CELLPADDING="3">
  <tr><!-- this is the first line of TABLE NUMBER 0 -->

    <!-- here begins the left and in fact the only cell of first line of TABLE NUMBER 0 in which the whole thing will be  -->
    <td valign="top" align="center">

      <!-- here, we put your clan banner and the welcome text -->
      <img src="http://img236.imageshack.us/img236/8832/untitled1ty5.gif" alt="" border="0" />
      <br> welcome to TBL blah blah blah etc etc etc...
      
      <br><br>

      <!-- here the TABLE NUMBER 1 begins -->
      <TABLE BORDER="0" CELLPADDING="3">
        <tr><!-- this is the first line of TABLE NUMBER 1 -->

          <!-- here begins the left cell of first line of TABLE NUMBER 1 in which the sidebar will be -->
          <td valign="top" align="center">
            <!-- here the TABLE OF SIDEBAR BEGINS -->
            <TABLE BORDER="1" CELLPADDING="1">
              <tr>
                <td><font face="Monotype Corsiva, Verdana" size="4" color="#00FF00">Community</font>
                </td>
              </tr>
              <tr>
                <td><font face="Monotype Corsiva, Verdana" size="4" color="#00FF00">Community</font>
                </td>
              </tr>
              <tr>
                <td><font face="Monotype Corsiva, Verdana" size="4" color="#00FF00">Community</font>
                </td>
              </tr>
              <tr>
                <td><font face="Monotype Corsiva, Verdana" size="4" color="#00FF00">Community</font>
                </td>
              </tr>
              <tr>
                <td><font face="Monotype Corsiva, Verdana" size="4" color="#00FF00">Community</font>
                </td>
              </tr>
              <tr>
              <tr>
                <td><font face="Monotype Corsiva, Verdana" size="4" color="#00FF00">Community</font>
                </td>
              </tr>
            </table><!-- This is the end of TABLE OF SIDEBAR -->
          </td><!-- This is the end of left cell of first line of TABLE NUMBER 1 -->
    
          <!-- Here the right cell of first line of TABLE NUMBER 1 begins. In this cell will be the content of the page -->
          <td valign="top" align="center">
    
            <!-- At the very top here is the skin changer -->
            <select onChange="changeskin(this.options[this.selectedIndex].value); window.location.reload();">
            <option>Change Skin
            <option value="Dark style"> Dark style
            <option value="Grey"> Grey
            <option value="Default"> Default
            <option value="Red"> Red
            </select>
            </form>

            <br><br>
    
            <!-- and for the content we can make as next table, the CONTENT TABLE -->
    
            <!-- CONTENT TABLE begins -->
            <TABLE BORDER="1" CELLPADDING="1">
              <tr><!-- CONTENT TABLE first line begins -->
                <td td valign="top" align="center"><!-- first line left, but in fact the only one cell begins -->
          
                  ~~~~~~~~~~~~~~~~~~~Box to make a announce ment~~~~~~~~~~~~~~~~~~~~~~~~
                  here you can announce selling old cars, sick dogs or broken teeths,<br>
                  anything you want
                  <br><br>
                  ~~~~~~~~~~~~~~~~~~~Box to make a announce ment~~~~~~~~~~~~~~~~~~~~~~~~
                  here you can announce selling old cars, sick dogs or broken teeths,<br>
                  anything you want
                  <br><br>
                  ~~~~~~~~~~~~~~~~~~~Box to make a announce ment~~~~~~~~~~~~~~~~~~~~~~~~
                  here you can announce selling old cars, sick dogs or broken teeths,<br>
                  anything you want
                  <br><br>
                  ~~~~~~~~~~~~~~~~~~~Box to make a announce ment~~~~~~~~~~~~~~~~~~~~~~~~
                  here you can announce selling old cars, sick dogs or broken teeths,<br>
                  anything you want
                  <br><br>
                  ~~~~~~~~~~~~~~~~~~~Box to make a announce ment~~~~~~~~~~~~~~~~~~~~~~~~
                  here you can announce selling old cars, sick dogs or broken teeths,<br>
                  anything you want
                  <br><br>
                  ~~~~~~~~~~~~~~~~~~~Box to make a announce ment~~~~~~~~~~~~~~~~~~~~~~~~
                  here you can announce selling old cars, sick dogs or broken teeths,<br>
                  anything you want
                  <br><br>
                  ~~~~~~~~~~~~~~~~~~~Box to make a announce ment~~~~~~~~~~~~~~~~~~~~~~~~
                  here you can announce selling old cars, sick dogs or broken teeths,<br>
                  anything you want
                  <br><br>
                  ~~~~~~~~~~~~~~~~~~~Box to make a announce ment~~~~~~~~~~~~~~~~~~~~~~~~
                  here you can announce selling old cars, sick dogs or broken teeths,<br>
                  anything you want
                  <br><br>
                  ~~~~~~~~~~~~~~~~~~~Box to make a announce ment~~~~~~~~~~~~~~~~~~~~~~~~
                  here you can announce selling old cars, sick dogs or broken teeths,<br>
                  anything you want
                 <br><br>
                  ~~~~~~~~~~~~~~~~~~~Box to make a announce ment~~~~~~~~~~~~~~~~~~~~~~~~
                  here you can announce selling old cars, sick dogs or broken teeths,<br>
                  anything you want
                  <br><br>
                  ~~~~~~~~~~~~~~~~~~~Box to make a announce ment~~~~~~~~~~~~~~~~~~~~~~~~
                  here you can announce selling old cars, sick dogs or broken teeths,<br>
                  anything you want
                  <br><br>
                  ~~~~~~~~~~~~~~~~~~~Box to make a announce ment~~~~~~~~~~~~~~~~~~~~~~~~
                  here you can announce selling old cars, sick dogs or broken teeths,<br>
                  anything you want
                  <br><br>
            
          
                </td><!-- first line of the CONTENT TABLE left, but in fact the only one cell ends -->
              </tr><!-- CONTENT TABLE first line ends -->
            </table><!-- CONTENT TABLE ends -->
    
    

          
          </td><!-- here the right cell of first line of TABLE NUMBER 1 ends -->
        </tr><!-- here the first line of TABLE NUMBER 1 ends -->
      </table><!-- here the TABLE NUMBER 1 ENDS -->

    </td><!-- here the left and in fact the only cell of first line of TABLE NUMBER 0 ends -->
  </tr><!-- here the first line of TABLE NUMBER 0 ends -->
</table><!-- here the TABLE NUMBER 0 ENDS -->

</body>
</html>


moshkin
Is it on purpose that you didnt use <body> or does <body bgcolor='#454545'> suffice?
Frederiek
There should only be one <body> element in an html page.
See the structure of a simple html page.
moshkin
I thought there should be, was just checking.

EDIT: that code you gave me, im using firefox, and it keeps saying the script is either busy or broken and i can either carry on or stop it, if i click on either the pop up just keeps coming back :s
dharma
im sorry, in Opera it was working... but maybe i made a mistake...
how i told, about javascript i know as much as a cow knows about nuclear technologies...
moshkin
http://www.freewebs.com/the-british-legion/dharma.htm

am i the only one having problems with this?
dharma
QUOTE(moshkin @ Dec 20 2006, 05:02 PM) *

http://www.freewebs.com/the-british-legion/dharma.htm

am i the only one having problems with this?



Well, see, in my browser it looks like this... here are some skins:

IPB Image

IPB Image

IPB Image

IPB Image

I really cant imagine what is the problem with it
Frederiek
Pass the page through WDG's validator and correct the errors reported by it.

It's not a good idea to put comments before the DOCTYPE declaration, as it usually turns the browser in quirks mode, instead of standard mode.
Besides, the FONT element is deprecated in HTML 4 in favor of style sheets (CSS).
Don't mix HTML with XHTML.
And why call upon "i.js" twice (once in the HEAD and again before the closing </body> element)?

And it seems the browser chokes on a javascript file, supposed to be served by Freewebs (http://images.freewebs.com/JS/Toolbar/libs.js), which never loads and which never stops the loading of the page. Though I couldn't find it in the html code (only visible via the validator).
dharma
QUOTE(Frederiek @ Dec 21 2006, 03:44 AM) *

Pass the page through WDG's validator and correct the errors reported by it.

It's not a good idea to put comments before the DOCTYPE declaration, as it usually turns the browser in quirks mode, instead of standard mode.
Besides, the FONT element is deprecated in HTML 4 in favor of style sheets (CSS).
Don't mix HTML with XHTML.
And why call upon "i.js" twice (once in the HEAD and again before the closing </body> element)?

And it seems the browser chokes on a javascript file, supposed to be served by Freewebs (http://images.freewebs.com/JS/Toolbar/libs.js), which never loads and which never stops the loading of the page. Though I couldn't find it in the html code (only visible via the validator).


Well, the comments i made only for moshkin to see what is what, for use, i expected he will delete them.
i call i.js because his javascript given by his service was called that, i guess its for the drop down selector, so i did not changed it, but i did put it only once, if its twice, it must be done by moshkin
The fonts i also keeped as moshkin had from original...

In fact only thing i made is, i builded up the structure of the tables and made descriptions what is what.
You can see on page 2
Frederiek
I understand your good intentions and I don't critizise that as such. If you do feel that way, then I apoligise.

But it's also good to show how one can obtain good coding practice too, using web standards. I'm convinced that it doesn't always really help to rewrite a page for someone.

And it's not the i.js file that causes problems, but the libs.js file inflicted by Freewebs.
dharma
oh, i did not took it bad way and in fact You are right i had to take more care about, in stand of that i worked only a little part of the thing - the building of tables. ...im sorry

and the second javascript i even did not realised... blush.gif
i just somehow expected it have to be all corect what the hosting side adds
dharma
biggrin.gif and i forgot to close the center tag
moshkin
How could i get the side bar to start precisely where the page starts, so no border either. and is there a way of stretching that image so its fills the top of that page?
dharma
well, to stretch the image you have to use a width="" in the img tag.
for example width="100%" or width="760px"

...and after the last </table> there is missing </center> what i forgot and </body> what has disapeared, i dont know why...
moshkin
i want it so that it covers the top of the page, but it leaves a bit to the left and makes you scroll....
its the first image, the second is so i have a backup in case i screw up on the first.
dharma
QUOTE(moshkin @ Dec 27 2006, 07:35 AM) *

i want it so that it covers the top of the page, but it leaves a bit to the left and makes you scroll....
its the first image, the second is so i have a backup in case i screw up on the first.


well, you did put that image into a "td", but this "td" is not in a "tr", even not in "table"....
"td" must be in "tr" and "tr" must be in "table"

that are basic principles

i recomend you to read a bit about basics of tables structures...
seems my example was really bad made, im not able to show it good. im sorry
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2024 Invision Power Services, Inc.