Jump to content

roundcorners

Members
  • Posts

    158
  • Joined

  • Last visited

Everything posted by roundcorners

  1. Personally I think changing the class name always makes more sense than changing the value of the the specific property.It's easier to maintain, it's what CSS was designed for, and it separates your code, decoupling your view and model.
  2. Personally I think changing the class name always makes more sense than changing the value of the the specific property.It's easier to maintain, it's what CSS was designed for, and it separates your code, decoupling your view and model.
  3. You can add target="blank" with JavaScript, which is perfectly vaild/no HTML validation errors or use the HTML doctype in which it is perfectly valid practice to use target="blank"
  4. If you are using JQuery, you can use the animate() method and alter the opacity, width, height, position etc. Animate also takes a duration argument and an easing argument, that tells the method how to apply the properties you defined, like opacity, height, ...Link: http://api.jquery.com/animate/Example:$.animate({opacity: 0.2,margin-right: '12%'}, 200, 'swing',);
  5. Can someone explain how this works please?for (var d=fieldChecks.length; d--; ) { initChecks(fieldChecks[d]); }Thank you in advance
  6. seeing as you are 'obviously' fluent in HTML you'll probably know that you can't do what you are asking with solely HTML, you'll have a hard time with PHP, VBscript or JS too. Try Flash
  7. get the url pathname:var path = window.location.pathname;split the path on the assignment operator:var assOp = path.split('=');Write the last value:document.write(assOp.length-1); //Or Get the second value: document.write(assOp[1]);
  8. using the method given by real illusions does mean that the image can resize with the size of the browser window, which adds to the flexibility of the design.
  9. thanks, I'll have a go tonight
  10. Move all of your styles and javascript into external files, only use tables for tabular data and use a list and background-images for the horizontal navigation
  11. Thanks for your suggestion, is that your own grid system? I have fixed the scrollbar for the most part. For the time being I have declared overflow-x:hidden on the html element, a bit hacky however.Because the layout if flexible I am using a combination of percentages and relative font-sizes. IE has a problem calculating floating points and I am yet to master exactly how it does it.I feel compelled to tell you that you that those id's would be better served as classes and all class names should be semantic or it's as bad as using inline styles.However, thank you for your suggestion.
  12. remove the css border properties for the span element.try a {border-bottom:1px solid transparent;}a:hover {{border-bottom:1px solid #ff0000;}
  13. all ampersands need to be encoded, even the ones in links&
  14. go to font squirrel for free fonts and @font-face code
  15. thanks guys, some great feedback
  16. In what context did you find this code?The author may be using :focus to change the position property or display property and so create a non-JS type lightbox effect. However, in that context, the anchor element is unnecessary and shouldn't be used. It's what you might call an Anorexic Anchor. It would make more sense if the # where a reference to a fragment within the document.
  17. Please can you offer me constructive criticism on Visit My Website. Thank you
  18. roundcorners

    Phpmyadmin

    If I create a database using PHPMyAdmin how do I set it's location and where should I locate it, i.e. Is it ok to keep my db in my root folder or should it be elsewhere?
  19. does the table have a width?
  20. window.location.replace
  21. how is it called the other times?You'll need to initiate it with the same arg
×
×
  • Create New...