Results 1 to 32 of 32

Thread: A complicated thing wanna make easier...

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Dec 2002
    Location
    New York
    Posts
    74

    A complicated thing wanna make easier...

    I have four tables lined up and it appears that I can not lineup two tables left to right. Can anybody help me on the matter.

    Also while looking at the code needed editing, could there be an easier way of making all the html code easier to deal with...

    For some reason I can not add a url and have it go to that page.....

    http://cgi-bin.spaceports.com/~rgros...?board=Yankees

    thats the page, but when u click on it it won't go to that page!
    Last edited by rgyankees23; Oct 21st, 2003 at 08:23 AM.

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    Place the two tables inside another table, set the mother table's cellpadding and cellspacing to zero.

    Your attachment is blank, and I get a 404 error on your link.

  3. #3
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    Easier? Maybe.
    Less HTML? Definitly.
    Use CSS!
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  4. #4

    Thread Starter
    Lively Member
    Join Date
    Dec 2002
    Location
    New York
    Posts
    74
    Sorry guys.....

    Here is the link.

    It still looks messed up!

    http://cgi-bin.spaceports.com/~rgros.../template.html
    (Copy and paste this link into a browser, otherwise when you click it, it won't work!)

    I want the two top spread out a little bit more..

    and I want the bottom two <br> from the top two tables and both spread out more left to right....

    I have been told that in my code I have soem errors!

    Can sombody look at it and tell me what is wrong with my code, and if by chance you can fix it for me?
    Attached Files Attached Files
    Last edited by rgyankees23; Oct 21st, 2003 at 08:24 AM.

  5. #5
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    Doesn't work when I copy/paste either.

    Says cgi-bin.spaceports.com not found.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  6. #6

    Thread Starter
    Lively Member
    Join Date
    Dec 2002
    Location
    New York
    Posts
    74
    just save my text file as a html file.....

  7. #7
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    Like so? I increased the table width to 90 or 95%...
    Attached Files Attached Files

  8. #8

    Thread Starter
    Lively Member
    Join Date
    Dec 2002
    Location
    New York
    Posts
    74
    What I meant was, is there any way to make the length of the code any shorter and or easier to read. There is so much code, it is hard to understand it all. So is there any way to shorten it up. possible a different kind of coding?

  9. #9
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    Told ya. Tableless design using CSS.

    http://www.csszengarden.com/
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  10. #10
    Frenzied Member vbNeo's Avatar
    Join Date
    May 2002
    Location
    Jutland, Denmark
    Posts
    1,994
    Originally posted by CornedBee
    Easier? Maybe.
    Less HTML? Definitly.
    Use CSS!
    AFAIK, CSS isn't good enough to replace the table. It'll only make you capable of sorting your site in top, left, right, center, bottom - it doesn't allow you to make all the cool things table does, it's only good for arranging the site, so even though CSS is more up-to-date, tables is a good thing to learn.

    Cheers!
    "Lies, sanctions, and cruise missiles have never created a free and just society. Only everyday people can do that."
    - Zack de la Rocha


    Hear me roar.

  11. #11
    Frenzied Member vbNeo's Avatar
    Join Date
    May 2002
    Location
    Jutland, Denmark
    Posts
    1,994

    Hmm

    Or maybe i'm wrong? Does CSS has all the power the table can give me? I haven't even wanted to look at it before, because I only thought it worked as mentioned above.

    Cheers!
    "Lies, sanctions, and cruise missiles have never created a free and just society. Only everyday people can do that."
    - Zack de la Rocha


    Hear me roar.

  12. #12
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    The widely supported subset of CSS2 has that power. It can do nearly everything you can do with tables, with far less HTML and even together with the CSS it's probably still less. Anyway, you only need to write (and send to the user) the CSS once.

    There are a few limitations that will hopefully get sorted with CSS3 - but only if MS ever makes a proper browser....
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  13. #13
    Frenzied Member vbNeo's Avatar
    Join Date
    May 2002
    Location
    Jutland, Denmark
    Posts
    1,994
    but only if MS ever makes a proper browser....
    Don't count on it =).

    Well, I figure IE4 doesnt support CSS2, right? So i'll stay with the tables for a little while, i'll try practicing using CSS though hehe.

    Cheers!
    "Lies, sanctions, and cruise missiles have never created a free and just society. Only everyday people can do that."
    - Zack de la Rocha


    Hear me roar.

  14. #14
    Frenzied Member vbNeo's Avatar
    Join Date
    May 2002
    Location
    Jutland, Denmark
    Posts
    1,994

    rgyankees23

    rgyankees23, Use ASP and a DB connection instead, MUCH easier
    "Lies, sanctions, and cruise missiles have never created a free and just society. Only everyday people can do that."
    - Zack de la Rocha


    Hear me roar.

  15. #15
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687
    I had a web site that had absolutly no tables whatso ever. It used CSS and DIV tags to arrange the text. It was really nice, because, by changing the class tag from LHC to RHC, I could move an entire block from the left side to the right.... w/o needing to rebuild tables (since there weren't any).....

    TG


    PS: It worked just as well in IE as it did in Mozi....
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  16. #16
    Frenzied Member vbNeo's Avatar
    Join Date
    May 2002
    Location
    Jutland, Denmark
    Posts
    1,994

    k!

    OK, thanks!
    "Lies, sanctions, and cruise missiles have never created a free and just society. Only everyday people can do that."
    - Zack de la Rocha


    Hear me roar.

  17. #17
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    IE4? Why IE4?

    I'll never understand why someone stays with an old version of some software when the newer:
    a) is free to upgrade
    b) is better
    c) has no drawbacks that I know of, at least not compared to the old version

    But I also don't understand why any intermediate to expert computer user would stay with IE at all, so I'm no expert at irrational behaviour
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  18. #18
    Frenzied Member vbNeo's Avatar
    Join Date
    May 2002
    Location
    Jutland, Denmark
    Posts
    1,994

    Well

    I'd have said the same thing 6 months ago - but, a lot of big companies here in Denmark are not allowed to update their IE because of secutiry reasons(so it's a pain making websites) - whos fault is this? The crappy system admins they hire =/
    "Lies, sanctions, and cruise missiles have never created a free and just society. Only everyday people can do that."
    - Zack de la Rocha


    Hear me roar.

  19. #19
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    Then don't use IE!

    If IE is a security risk, use Mozilla!
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  20. #20
    Frenzied Member vbNeo's Avatar
    Join Date
    May 2002
    Location
    Jutland, Denmark
    Posts
    1,994

    Hehe

    Tell that to the companies =), i'm not capable of changing their 'Microsoft is great' opinion, and must of the system admins has been brainwashed during their education, so it's FUBAR.
    "Lies, sanctions, and cruise missiles have never created a free and just society. Only everyday people can do that."
    - Zack de la Rocha


    Hear me roar.

  21. #21
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    Extremely weird! I haven't even seen IE4 in years. The admins *should* know that there are security updates that actually EXIST for IE6. If Microsoft is great, shouldn't its updates be great too?

  22. #22
    Frenzied Member vbNeo's Avatar
    Join Date
    May 2002
    Location
    Jutland, Denmark
    Posts
    1,994
    Yeah, but it would require them to do a little extra work, which none of them wants to, hehe - So they're kinda stuck. The only good thing, is that most firms are upgrading to WinXP now, thereby getting a newer IE.

    Cheers!
    Last edited by vbNeo; Oct 23rd, 2003 at 12:00 AM.
    "Lies, sanctions, and cruise missiles have never created a free and just society. Only everyday people can do that."
    - Zack de la Rocha


    Hear me roar.

  23. #23
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    If MS is so great, how can IE be a security risk?

    Maybe you should do something.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  24. #24
    Frenzied Member vbNeo's Avatar
    Join Date
    May 2002
    Location
    Jutland, Denmark
    Posts
    1,994

    hehe

    Like what? I use MoZilla myself, what more can I do ?
    "Lies, sanctions, and cruise missiles have never created a free and just society. Only everyday people can do that."
    - Zack de la Rocha


    Hear me roar.

  25. #25
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    Something in your company. Make Mozilla the new company policy. Somehow.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  26. #26
    Frenzied Member vbNeo's Avatar
    Join Date
    May 2002
    Location
    Jutland, Denmark
    Posts
    1,994

    Haha

    I'm just a 16 year old boy, the only thing that matters to my boss is my results(which are good by the way ), he'd laugh if i suggested changing to MoZilla - and by the way, the company i work in uses the IE shipped with WinXP =).


    Cheers!
    "Lies, sanctions, and cruise missiles have never created a free and just society. Only everyday people can do that."
    - Zack de la Rocha


    Hear me roar.

  27. #27
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    *sigh*
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  28. #28
    Frenzied Member vbNeo's Avatar
    Join Date
    May 2002
    Location
    Jutland, Denmark
    Posts
    1,994

    hehe

    What would you do in my situation?
    "Lies, sanctions, and cruise missiles have never created a free and just society. Only everyday people can do that."
    - Zack de la Rocha


    Hear me roar.

  29. #29
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    Don't know, I didn't have a job at 16.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  30. #30
    Frenzied Member vbNeo's Avatar
    Join Date
    May 2002
    Location
    Jutland, Denmark
    Posts
    1,994
    Originally posted by CornedBee
    Don't know, I didn't have a job at 16.
    I see ...
    "Lies, sanctions, and cruise missiles have never created a free and just society. Only everyday people can do that."
    - Zack de la Rocha


    Hear me roar.

  31. #31
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    How far back does the implementation of CSS2 go? In what versions of IE and Netscape did it get implemented?
    My evil laugh has a squeak in it.

    kristopherwilson.com

  32. #32
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    A little CSS2 was implemented in IE and NS 4. It is not enough to properly work with, so for those browsers hacks are used to use seperate stylesheets, or to give them no stylesheet at all which leads to degradation: properly written HTML looks ok even if unstyled.

    IE5 and all Gecko-based Netscapes (6+) have proper CSS2 support. IE5 is the trickiest of all browsers in the CSS2 family, but it is possible to do layouts.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

Posting Permissions

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



Click Here to Expand Forum to Full Width