Jump to content

stuartpb

Members
  • Posts

    326
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by stuartpb

  1. No it doesn't affect the PIREPs. We use schedules for tours and special events, and remove them once expired. This never causes any problems for us. As Mark said though, don't remove the airports or aircraft.
  2. We were taught at uni to not use attributes as class and id names, and it's the way I've always coded. It's much easier and simpler just to use well thought out class and id names, which can also be descriptive of their purpose. So that way, if a 3rd party is looking at the css or html, it's much easier for them to work out whats what.
  3. Get out more, you know it makes sense!
  4. That's your choice, not everyone wants to use badly formed CSS or HTML though.
  5. And getting into bad habits when learning web design always causes more problems than it solves.
  6. I'm not trying to say you are wrong, I was merely offering another way to deal with spam. You seem to have got me wrong there? @Tom, I've never seen that post, so thanks I'm going to use that for my site
  7. Seeing as you never mentioned this, and he is doing what we say literally, I pointed it out. No need to get antsy over it
  8. You shouldn't name a class or ID the same as an attribute. That's why I used the clearedfloats class name. @FSX, just remove the div then. It works on the HTML you provided and I have tested it, so I'm not going to be guessing where you went wrong
  9. The div has inline styling, so you don't need to input anything in your CSS. That is unless you want to use the stylesheet, which is a better way to do things. So in your CSS you would enter: .clearedfloats {clear:both;} Then in the html I showed, you would change the added div to: </div> </div> <!-- Sidearea Ends --> <!-- Container Ends --> <!-- Footer Starts --> <div class="clearedfloats"></div> <!-- ADD THIS HERE --> <div id="footer"> <p class="floatleft">copyright © 2011 - <?php echo date('Y') ?> - <?php echo SITE_NAME; ?> | <a href="http://www.phpvms.net" target="_blank">powered by phpVMS</a> | Template redesigned/reedited by Airblue Virtual</a></p> <p class="floatright"><a href="#">Utility</a> | <a href="#">Links</a> | <a href="#top">Back to Top</a></p> </div> <!-- Footer Ends --> </div> <!-- Wrapper Ends --> </body> </html>
  10. it was my tutor at uni who taught us this trick, and the website he gave us the info from is here: http://www.advancedhtml.co.uk/hidden-field-spam-trap-for-phpformmail/ You just need to adapt the form handler to suit the phpVMS form handlers.
  11. OK. Here's what I meant: </div> </div> <!-- Sidearea Ends --> <!-- Container Ends --> <!-- Footer Starts --> <div style="clear:both"></div> <!-- ADD THIS HERE --> <div id="footer"> <p class="floatleft">copyright © 2011 - <?php echo date('Y') ?> - <?php echo SITE_NAME; ?> | <a href="http://www.phpvms.net" target="_blank">powered by phpVMS</a> | Template redesigned/reedited by Airblue Virtual</a></p> <p class="floatright"><a href="#">Utility</a> | <a href="#">Links</a> | <a href="#top">Back to Top</a></p> </div> <!-- Footer Ends --> </div> <!-- Wrapper Ends --> </body> </html>
  12. To be fair, he did invite peeps to have a look around the site and let him know what they thought of it. I think it's a nice looking site, and you clearly have a good idea behind the VA, well done!
  13. There is an effective trick I use on some registration forms, and that is to have a hidden input field (with something like name as the field title) on the form. a spam engine will enter text into the field, even though it's hidden and not viewable in the html output. I then wrote into the form handler a function whereby any submitted forms with the hidden field completed would be discarded. The spambots look for common fields in forms, and will try to complete these fields, so choosing something like name for the title will usually catch the spambots out. When a pilot completes the form, they don't see the hidden field, so it remains empty and the form gets processed as normal. It's not 100% effective, but then nothing is when it comes to anti spambots.
  14. Change the link to: <li><a href="http://yourdomain.com/Watercooler">Forum</a></li> Substituting yourdomain.com for the URL of your website. EDIT: Or do as Mark suggested lol, must have been typing at same time!
  15. No they are not the problem, they are set to 100%, and will use 100% of the width of the container they are held in, that being the mainarea div, which is set to 600px.
  16. Glad we got there in the end! You also need to clear the floats on the sidebar and mainarea, or else the footer will place itself incorrectly if there is little content. You can do so by placing the following code just before the footer div beginning: <div style="clear:both;"></div> I set a CSS rule for this purpose: CSS: .clearfloats {clear:both} The I can reuse this in the html like so: <div class="clearfloats"></div>
  17. If that doesn't work, you need to go through your html as there are multiple issues with the formatting.
  18. You've not closed two divs in the HTML and that's why the sidebar is in the incorrect position. For future reference, if you are having styling/layout issues, having the CSS and HTML displayed will get you help much quicker than it has this time. </p> <br /> </div> <!-- ADD THESE TWO DIV CLOSE TAGS HERE --> </div> <!-- Sidearea Ends --> <!-- Container Ends --> <!-- Footer Starts --> <div id="footer"> <p class="floatleft">copyright © 2011 - <?php echo date('Y') ?> - <?php echo SITE_NAME; ?> | <a href="http://www.phpvms.net" target="_blank">powered by phpVMS</a> | Template redesigned/reedited by Airblue Virtual</a></p> <p class="floatright"><a href="#">Utility</a>  |  <a href="#">Links</a>  |  <a href="#top">Back to Top</a></p> </div> <!-- Footer Ends --> </div> <!-- Wrapper Ends --> </body> </html>
  19. Those tables in the screenshot, what widths have you set on them?
  20. Show us the html then, so we can rule out any layout problems there. Better yet just give a damned link to the site!
  21. Ok now we have something to work with. Try increasing the wrapper width until the sidebar is positioned correctly. I would try 960px first. You can work out the required widths by calculating the sum total widths of all the containers, plus the left and right margins on each, this would allow you to work out a layout that would fit into the overall page width: http://www.w3schools.com/html/html_layout.asp http://www.htmldog.com/guides/cssadvanced/layout/ http://www.maxdesign.com.au/articles/css-layouts/
  22. And the HTML? EDIT: Have you listed all the available CSS above? There is no page styling shown so I still don't know what the overall width of the page is. If you're not prepared to give the info, then no-one is going to be able to help you.
  23. The screenshot is useless. It doesn't tell us what's causing the problem. It's the HTML and CSS that is used to render the page where the problem lies. Without seeing exactly how you have laid the page out how can you expect anyone to be able to point out what's wrong??
  24. What is the overall width of the page? You're asking for help but not providing much to go on here. A link to the page would be helpful at this point.
  25. As BMI Baby suggested, who would administer and moderate the list? There would have to be measures in place to ensure the usage of the list wasn't abused, and this could quickly turn into a full time job. There would have to be some structure to rules on any system like this.
×
×
  • Create New...