Jump to content

crmamx

Members
  • Posts

    417
  • Joined

  • Last visited

Posts posted by crmamx

  1. I wish you guys would quit adding things to my list that I need to do... ;)

     

    I have the same situation twice with images to load.

     

    In the first it is 32 images of members where I load thumbnails with img src and there is 0 lag on load time.

     

    In the second I have about 100 airplane images, not thumbnails, and I did have to break it down because of load time. Since I don't know what pagination is, I just link from one page to another.

     

    But I will look into what ya'll are talking about when I get some other "stuff" fixed.

  2. What you should do is remove all internal and inline CSS in your files and work solely from external sheets.  Putting CSS in one place - especially while developing and testing - is far more beneficial than having it strewn about in several areas, ect., ect.

     

    Well spoken. Sounds like Elementary Web Site Design 101.

     

    I have been using internal style because I was having trouble with getting things to work with the external file. And I was anxious to get the pages fixed so I could get the site on the air and stop maintaining 2 sets of code (old and new). I do know that there are some duplicates and some conflicts between the external and internal. And there is some inline remaining simply as a result of bringing the old programs over as they were and then going back and fixing them.

     

    I put the new site on the air a couple of days ago and need to fix a couple of pages that aren't working just right. Then I think I will stop and take your advice and consolidate all my css into the external file.

     

    Damn, that is going to be a job!.. :'(

     

     

  3. Thanks again cssF:

     

    As  mentioned in a post about tutorials, you "pros" have a wealth of information in your bookmarks that we novices just don't have. Most of these don't show up on a Google search. And even if they did, you are presented with many, many results and knowing which is best is impossible to determine.

     

    I downloaded Jing after I saw you used it to make videos. But I haven't installed it.

     

    All in all it is a formidable task, trying to learn mySQL, php,  cPanel, css, Firebug, NetBeans, FTP, Jing,  layout and design from scratch, just to create one web site.

     

    But I'll get it. In fact, I am almost there. However it would not have happened if I had not found phpFreaks.

  4. pik:

     

    Your rating on my respect meter just continues to rise.

     

    After my last encounter, I decided that I would not respond to any more "digs." I'll just consider the source.

     

    I was going to consider this topic closed but not solved, however I will go ahead with where it stands.

     

    I posted the reply to Nightslyr before I tested it because I just knew that would fix it. But it didn't. I went in and commented out the code he noted and I still have the same result.

     

    In addition, it is my understanding that inline css takes priority over internal or external. And that's is what I have, an inline border of 10px, but it still shows up as pencil thin.

     

    But  I am going to drop it for now and am concentrating on getting rid of all my tables (except those with data) that I brought over from the old system. This hasn't been easy either, but I've got it now as I understand the box, a wrap, div and how to position. Positioning was the hardest.

     

    Don't fret tho, I will have a lot more questions... ;)

     

    p.s. Don't look at the footer. Can't decide what to do with it. Any suggestions

  5. cssfreakie on 3/17: But did you manage to start up firebug? I mean although its only 4min 33 seconds it repeats exactly what should and can be done. quite often i post a question and you than either mark it solved so you don't need to answer it ( that's my feeling) or you ask another question. I ask those question or riddles/puzzles to see at what level you are, so i know where to explain better, but without feedback I just assume it worked.

     

    thorpe: I don't intend to be pushing this, just wanted to say it has to be kind of aggravating for those of you that are trying to help because the same thing cssF mentioned above would apply to all.

  6. The posts no longer have a solved button which I thought they would have fixed by now. I would imagine it would get frustrating to those that are trying to help us lowly ones.

  7. Of course I watched it. I would never ask you to do something and then not utilize it.

     

    Can't honestly say that I feel competent with it but I am going back to it right now and try to get to where I can use it for my problems.

     

    Yes, I am still struggling with css. What I am trying to do now is convert the problems I had in different areas. I got most of it to work with Internal css or Inline css. As soon as I get the rest of my problems solved, I am going back and try and move and consolidate them in custom.css.

     

    But I will say I have a much better understanding of it as a result of your explanation of the box model and also the wrapper.

  8. Nightslyr:

     

    Brilliance is like ice, it surfaces to the top.. :D

     

    How did you find that? I looked thru my external css file and it is not there. Plus I do not know how to write that particular statement so I knew I didn't do it. But that is the problem.

     

    However, I thought this was the priority for css with 4  being the highest priority.

     

      1. Browser default

      2. External style sheet

      3. Internal style sheet (in the head section)

      4. Inline style (inside an HTML element)

     

    Therefore it seems the border should be a 10. And like previously mentioned, the view/page source says it is a 10. But obviously not... :confused:

     

    Anyway, I have had a lot of problems with the custom.css file. That is the reason you will see a of of internal styling in various programs just to get the program to work the way I want it. Eventually I want to consolodiate it all in one external css file.

     

    Thanks, I should be able to fix it now like I want it and screw something else up..haha

     

     

  9. When I do a view/page source, this is what I see:

     

    <table
    <!-- style="table-layout:fixed; width: 300px; text-align: left;"
    border="4" cellpadding="2" cellspacing="2"> -->
    <table style="text-align: left; width: 50%;" border="10"
    cellpadding="3" cellspacing="2">
    

     

    Is this not the interpreted code sent to the browser? I thought so which means I still have no idea why the border does not show up.

  10. He's telling you that you have your border width set to 10.  Which is why it's thick as shit.

     

    I understand why it is "thick as shit."

     

    What I am asking is why is it thick in the stand alone html program but when I copy the code and put in in one of my site .php programs it is not "thick as shit." It is pencil thin.

     

    It just so happens I want it thick, but not a 10. Set that for testing. But I can't get it to expand no matter what value I use.

  11. table.html

    <html>
    <head>
    </head>
    <body>
    <table style="text-align: left; width: 50%;" border="10"
    cellpadding="3" cellspacing="2">
      <tbody>
        <tr>
          <td align="left" valign="top">PRESIDENT</td>
          <td align="left" valign="top">JACK PHILLIPS</td>
          <td align="left" valign="top"><a
    href="mailto:umpire33@bellsouth.net">EMAIL</a></td>
        </tr>
        <tr>
          <td align="left" valign="top">VICE-PRESIDENT</td>
          <td align="left" valign="top">JOE WARD</td>
          <td align="left" valign="top"><a
    href="mailto:jlward1944@hotmail.com">EMAIL</a></td>
        </tr>
      </tbody>
    </table>
    </body>
    </html>
    

     

    This program produces a light grey, apprx 1/4 inch border.

     

    The exact same code in one of my site programs produces a pencil thin black border. I cannot find any css that would be affecting it.

     

    Any ideas?

  12. Well, I guess I will give it a try when I finish all the other stuff on my list. I'm not too concerned about SEO because the site is for club members. Don't care much whether potential visitors can find it or not. There are 3 or 4 sites that list our clubs via zip code, so if someone is searching for a RC Club in this area they would have no trouble finding us.

     

    Mark solved.

  13. To crmamx: you should probably take a closer look at your site design.  Well-designed PHP apps have all information/form processing done at the top, with the code to display the results of that processing below.  So, if you follow this general outline, you'd be able to dynamically change your meta tag info based on your incoming $_GET data, as you'd handle/process it all first, and then you could simply modify the tags in any way you wanted.

    I wish I understood the lingo the way you guys do.

     

    I think that is the design I have. Each program is set up exactly like this.

     

    someprogram.php

    <?php
    
    ?>
    
    <big><span style="color: rgb(204, 102, 204); font-weight: bold;">Covering
    with Heat Shrink Plastic Film</span></big><br>
    
    <br>
    
    I built my first kit, then read all the articles on covering, selected
    Monokote and it turned out a total mess. For the second kit I switched
    to Ultrakote and it turned out a 10% mess. It was much better
    but I still could not get all the wrinkles out.<br>
    
    <img style="width: 355px; height: 300px; float: right;" alt="" src="Pictures_Members/mikea.JPG"><br>
    

    Don't get on me about the inline css. I have not got to cleaning up this page yet.. :D

     

    cssF uses the term body which confuses me because there are no  head or body tags in any of the programs except index.php

     

    I was not thinking of an array, but a db table with ID and meta content, the id being the program name. So it would retrieve each meta tag with a unique variable name.

     

    But again I am asking, would I delete the meta tags for title, description and content from index.php and retrieve those from the db? If not, as I said before, they would be included in all other pages.

     

    And if I do retrieve the <meta> tags, do I have to put <html>, <head> and <body> tags in the program?

  14. They are right when they say layout and design is the most important aspect of a project. Forget the code until you finish this step.

     

    My career was as a mainframe system designer with a fair amount of programming thrown in. Several years into it, I undertook a complete manufacturing information system. It took me and 1 programmer three years to finish, 8 hours a day, 5 1/2 days a week.

     

    The first step is defining what you want from the system. I don't know your business so I will use examples from what I know.

     

    1. Order entry

    2. Production scheduling

    3. Shipping

    4. Inventory control

    ect.

     

    Next, what files do you need to support the system?

     

    1. Order file

    2. Customer file

    3. Part master file

    4. Inventory file

    5. Bills of material

    ect, many files to support production scheduling and shipping

     

    Next, do your data base design.

     

    1. Define the fields and size and characteristics of each field in each file.

    2. Do you need to link from one file to another? For example, a Bill of Material has to have a link to the Part Master file. If so, plan for it.

     

    Next, what screens do you need:

     

    1. Order entry and changes

    2. Updates to inventory

    3. Updates to all other files

    ect.

     

    Next, what documents do you need to produce

     

    1. Part master listing, various sequences

    2. Customer master

    3. Open orders

    4. Shipped orders

    ect

     

    Next, make a list of all the programs you need to operate the system. Do a sketch of the screen layout. List the input or output files you will need.

     

    Now you can start the coding.

     

     

     

     

     

  15. csF: Right now you are including you stuff directly into the body tag. What you could do is something like:

     

    $metakeys = "apple, pie, monkeys, banana's";

    $title = "cooking with monkeys";

     

    Than  in your Head you Include the file and place those variables between the tags for instance.

    I am still not clear on this.

     

    Right now all my programs are .php programs. Except for index.php they all look like this:

     

    <?php
    // Just in case I want to put something here
    ?.
    
    BODY - but there is no <body>, <head> or <html> tag....just stuff
    

     

    When I do a view/page source on any page it shows the meta tags and title from index.php

     

    If I use the head and body tags and include a meta tag and title in test.php, then it shows both the index.php meta tags and title and the title and meta tags I coded in test.php. So now it is showing 2 titles and 2 sets of meta tags for test.php.

     

    So are you saying I should delete the title and meta tags from index.php and bring them in to each program using an include statement? If that is the case, what is the difference in that and just hard coding them in each program the same as "regular html?"

     

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.