Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Page 1 of 2 12 LastLast
Results 1 to 15 of 28
  1. #1
    New Coder
    Join Date
    Aug 2002
    Posts
    85
    Thanks
    0
    Thanked 0 Times in 0 Posts

    need some help, a lot of it

    howdy
    so i've been trying to get this right, but it's not working for me.
    If you can tell me what is wrong with my coding, I will be extremely grateful, I can't imagine it's hard to pick out, I'm just kind of new and not so good.
    Also, how do I make it so that the table starts at the extreme top left corner of my screen, it's like the whole table has a border. I tried adding a border=0 tag, but no luck.

    thanks again for any help.
    SS

  • #2
    New to the CF scene
    Join Date
    Aug 2002
    Location
    Austria
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Smile want to make frames?

    Looks like you try to create frames inside a table to me.
    as far as i know this will not work at all, you have to create a framepage (a seperate page with the frame code in it) that loads the different htmls you want to be part of your page.
    that means you put evrything you want to apear on your page into seperate htmls (that means the picture on top of your page to) and load it into the framepage.

    i hope my writing wasnt to confusing to you!

  • #3
    New to the CF scene
    Join Date
    Aug 2002
    Location
    Austria
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Cool top left

    the start position is set in the body tag, it works like this:


    <body leftmargin="10" topmargin="20">

    just change the values to what you want.

  • #4
    Senior Coder
    Join Date
    Jun 2002
    Location
    The Netherlands, Baarn, Ut.
    Posts
    4,252
    Thanks
    0
    Thanked 0 Times in 0 Posts
    A HTML page can either have body element with code in it, or a frameset element with frame elements, or more frameset elements, and perhaps a noframe element in it. NOT BOTH.
    Your page contains styles for an absent body element, and intermixes framesets with table code; this will never work!
    It shouldn't even show up in a browser, really.

    Decide on what you want:

    Work with framesets? Make a proper frameset page and content pages to show in the frames.

    Don't work with frames? Get rid of all the frameset code, and add a proper body element.

    Confused? Do reply, and we'll try and help you out!
    Regards,
    Ronald.
    ronaldvanderwijden.com

  • #5
    New Coder
    Join Date
    Aug 2002
    Posts
    85
    Thanks
    0
    Thanked 0 Times in 0 Posts
    haha
    sooo confused, but thank you for your help so far.
    I'm going to try and do something, because mixing tables/frames was definitely my worst idea, and then i'll be back reaaaaaaaallllllyyyyyyy soon.

  • #6
    New Coder
    Join Date
    Jul 2002
    Posts
    31
    Thanks
    0
    Thanked 0 Times in 0 Posts
    hmmmmm lets see:

    <body marginwidth="0" marginheight="0" leftmargin="0" topmargin="0">

    gotta excuse my HTML its a little vauge lol :S.

    but you can try this one. its CSS and just stick it into the middle of your <HEAD> </HEAD> tags:


    <style type="text/css">
    <!--
    body { margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; margin }
    -->
    </style>


    so wut happens is when you write your body tag, the margins will all be 0 and you wont need that html i wrote at the very top.

    HTH, GL

  • #7
    New Coder
    Join Date
    Jul 2002
    Posts
    31
    Thanks
    0
    Thanked 0 Times in 0 Posts
    select, i also just noticed. you put your "Frames" inside the rest of your page(s)... this is not how your supposed to doit.

    when you see a page with frames, with 2 parts

    |------------|
    | page1 |
    |------------|
    | |
    | page2 |
    |------------|


    if that turns out bad thats supposed to be a shi**y outline of a frame with 2 pages inside. anyways ytou see 3 actaul pages being displayed

    1) PAGE1
    2) PAGE2
    3) FRAMES PAGE

    The frames page is a page in itself and is used to create the look of the page... so what you gotta do is remove all the <frame> <frameset> <noframes> tags from your current page, create a "new" html document and then use that as the basis of your frames if you want them......

    then you'd need to create a 3rd page cus well..... you want frames...
    ---------------------------------------------
    just a little note. Tables are much better to use. somewhat more complex, but alot more verstile and frames are kinda getting old (in my opinion [not saying it for everyone])

    Hope some of that information helps

  • #8
    New Coder
    Join Date
    Aug 2002
    Posts
    85
    Thanks
    0
    Thanked 0 Times in 0 Posts
    AnOdeToNoOne:

    Thanks so much, I'm still not sure I understand, but it looks like that's how I should be doing it.

    so I make one page that includes my basic frameset.
    Then another page for each frame?

    I have separate pages for each frame, so does that mean that if I make a separate frameset page it should work?

    ..does that mean my tables won't be necessary? I used tables because I was always under the impression they conform to dif. resolutions, screen sizes, etc better than frames, which have a set size.

    thanks again.

  • #9
    New Coder
    Join Date
    Jul 2002
    Posts
    31
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Frames will only tell your browser where to load the pages you want displayed.

    for instance.

    <frameset rows="20,40,40">
    <frame src="page1">
    <frame src="page2">
    <frame src="page3">
    </frameset>

    would turn out

    (frame = a page remember)
    |--------------------|
    |---page 1--------|
    |===========|
    |---page 2--------|
    |===========|
    |---page 3--------|
    |--------------------|

    the equal sign would = the frame border. so you can distingise.

    so you got 4 pages total if you remember the frame page itself is one. it just holds the information for where the pages it loads should be displayed.

    does that make sense?

    frames are used for loading multiple pages if you got 1 page that displays everything you want to on the browser, then dont worry about using frames.

    the best reason to use frames i see is for navigation... it makes it so you got 1 page for the links to various other parts of your website.

    take for instance: http://accwd.ath.cx/frames_test/
    this site i just created for my work @ skool it should give you a good example of what frames are for. the 2 links on the left are in there own "frame" the top piece is in a frame of its own. aswell the main content with the splattery background is in its own frame aswell

    when you click the HOME or ABOUT link the only page that changes is the MAIN one, so thats a good example of how frames work.

    hope that helps more.

  • #10
    New Coder
    Join Date
    Aug 2002
    Posts
    85
    Thanks
    0
    Thanked 0 Times in 0 Posts
    ok, i'm back again.

    Here's the new attempt. Obviously I screwed up somewhere big, hopefully you can help again
    thanks again..

    SS

  • #11
    New to the CF scene
    Join Date
    Aug 2002
    Location
    Austria
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question

    Hi select!

    Actually im not quite sure whats wrong with your page - it seems to load the pages to the proper places. Looking all right to me now. Have i been to late and your problem is allready solved ?
    If not maybe if you gave me a hint to what you want the Page to look like i could help out.

    best wishes August

  • #12
    Regular Coder
    Join Date
    Jul 2002
    Location
    This little Earth.
    Posts
    383
    Thanks
    0
    Thanked 0 Times in 0 Posts
    'If you don't stand for something, you'll fall for anything.'

  • #13
    New Coder
    Join Date
    Aug 2002
    Posts
    85
    Thanks
    0
    Thanked 0 Times in 0 Posts
    thanks for the webmonkey link, its really helpful, but I'm still not sure what I'm doing wrong.
    I guess right now it is that if I adjust my window the frames move all over the place, so anyone can make the page look like hell if it's different from how i intended it. I usually do a 'new window' main page because I can control everything through that, but I want everything on this page to be sort of self-sufficient, and only need one page..If i add a 'no resize' into the code, will that fix the problem, or just keep the frames the correct size, but have them still get moved around everytime the window is adjusted.

    confused, SS.

  • #14
    New Coder
    Join Date
    Aug 2002
    Posts
    85
    Thanks
    0
    Thanked 0 Times in 0 Posts
    or is there a way to use the 'no resize' function, and align the whole frameset to the top left so that it doesn't move?

  • #15
    Regular Coder
    Join Date
    Jul 2002
    Location
    This little Earth.
    Posts
    383
    Thanks
    0
    Thanked 0 Times in 0 Posts
    as far as i know, noresize will just keep the frames fixed as long the user doesn't adjust the window size. noresize makes users unable to resize the frames themselves (with that little double arrow cursor), but i'm sure it can't stop the frames from getting messed up when the whole window is resized.
    or is there a way to use the 'no resize' function, and align the whole frameset to the top left so that it doesn't move?
    from what i know, if u have a frameset, it will always start from the top left, (unless u keep margins..?). the only kind of frames that can be placed away from the corner and wherever u want are iframes. i've done a little on frames and they always start from the top left. u can see an example of frames i did once (the screen capture's attached) :

    <html>
    <frameset cols="17%,83%" border="0" border-color="black" style="border-color:black">
    <frame src="navbar.htm" noscroll scrolling="no" style="position:absolute; border:0px solid">

    <frameset scrolling="no" noscroll rows="22%,78%">
    <frame src="forumhead.htm">
    <frame name="forumframe" src="signincontent.htm">
    </frameset>

    <frame src="signincontent.htm">
    </frameset>

    </html>


    i suppose a way around it would be to have a noresizable window with noresizable frames in it.
    'If you don't stand for something, you'll fall for anything.'


  •  
    Page 1 of 2 12 LastLast

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •