www.webdeveloper.com

Search:

Type: Posts; User: rtrethewey

Page 1 of 20 1 2 3 4

Search: Search took 0.05 seconds.

  1. In your CSS, the rule: td a{width: 100%;} ...

    In your CSS, the rule:


    td a{width: 100%;}

    means that the content within the <a></a> tags is allocated horizontal space equal to the full width of the parent containing block. Since the <a>...
  2. Let me start by stating the obvious: Using media...

    Let me start by stating the obvious: Using media queries in your stylesheet is *by far* the best solution to dealing with varying display sizes. That's its purpose. You'll be miles ahead by...
  3. Generally, non-standard tags would be ignored by...

    Generally, non-standard tags would be ignored by the search engines. They would be treated as typographical errors. However, your example poses an edge case where your CSS might affect the...
  4. It seems to me that once you have the mechanics...

    It seems to me that once you have the mechanics of a clock in hand, the rest is just a matter of design improvements to the individual components. You could create a more elegant clock face and...
  5. Replies
    2
    Views
    477

    The problem is that you have several JavaScript...

    The problem is that you have several JavaScript functions that have the same name. Function names must be unique. Even if you just change the names to 'calculate1', 'calculate2', etc. it will...
  6. Replies
    3
    Views
    873

    If you don't know how to create your own...

    If you don't know how to create your own slideshow, search on "javascript slideshow". The web is full of slideshow scripts. You're bound to find one with the features you want.
  7. Replies
    2
    Views
    536

    You seem to be confused about the nature of CSS...

    You seem to be confused about the nature of CSS or, perhaps, how difficult it is to learn. The 'class' attribute, for example, designates a CSS class. It allows your stylesheet to include a single...
  8. Basically, you need something like:

    Basically, you need something like:


    <input type="hidden" name="particular" value="whatever">
    <input type="hidden" name="empty" value="">

    The specific field names and values depend on the...
  9. Replies
    2
    Views
    589

    There are a couple of ways to fix this, but the...

    There are a couple of ways to fix this, but the easiest is to add a rel="canonical" tag to the version2.html page, as in:


    <link rel="canonical" href="http://www.mywebsite.co.uk/">


    A...
  10. Just out of curiosity, why aren't you just...

    Just out of curiosity, why aren't you just printing these HTML documents with a browser?
  11. The world is full of those scripts. Just search...

    The world is full of those scripts. Just search on "formmail script" and you'll find thousands of them. Look for one that doesn't require you to put your Email address in the HTML for the <form> on...
  12. Replies
    13
    Views
    2,878

    Yes, the path is obviously incorrect. ...

    Yes, the path is obviously incorrect. "/var/www/html/tmp/nancy.jpg" is the server directory path to the image. You need to change it to be relative to the domain root, which would be:


    <img...
  13. Replies
    1
    Views
    486

    Elements set to absolute positioning are...

    Elements set to absolute positioning are positioned with respect to their parent positioned element. As written, the "right" div would be positioned with respect to the document <body> since none of...
  14. Replies
    11
    Views
    1,620

    It's not clear what you're trying to do, but keep...

    It's not clear what you're trying to do, but keep in mind that a file sent as an attachment must reside on your computer. It can't be something that exists out on the web somewhere because the Email...
  15. Replies
    11
    Views
    1,620

    First of all, there is very limited support for...

    First of all, there is very limited support for CSS in EMail clients. You can't use properties like the 'mso-' or vendor-specific '-webkit'. Your HTML needs work as well, but for general guideance...
  16. You might be able to just set the 'name'...

    You might be able to just set the 'name' attribute on the <select> tag to be whatever the mail script uses for the recipient's Email address, but it's a bad idea to use a mail script that will send...
  17. Replies
    4
    Views
    2,470

    The simplest solution is to change the page...

    The simplest solution is to change the page involved to .php so you can add some code that will either query a database or read a file containing the client's content. From there, you just need to...
  18. Replies
    5
    Views
    2,302

    He doesn't want the IP Address. He wants the...

    He doesn't want the IP Address. He wants the referrer, as in $_SERVER['HTTP_REFERER'].
  19. Replies
    5
    Views
    1,857

    Yes. ./ is relative to the current document's...

    Yes.

    ./ is relative to the current document's directory

    ../ is relative to the parent of the current document's directory (one level up).
  20. Replies
    1
    Views
    669

    Smashing Magazine has a good article on print...

    Smashing Magazine has a good article on print stylesheets that might be helpful:
    http://www.smashingmagazine.com/2013/03/08/tips-and-tricks-for-print-style-sheets/
  21. Or, if your XML data files are well-formed, you...

    Or, if your XML data files are well-formed, you can use one of the several ways of using PHP to parse and process them into your HTML pages directly as desired.

    Search on "PHP XML parser" and...
  22. Designers have been fighting this battle for over...

    Designers have been fighting this battle for over a decade. Several solutions have evolved. If you search on "css columns equal height" you'll find something that will probably work for you.
  23. Replies
    4
    Views
    938

    Without knowing what the surrounding HTML mark-up...

    Without knowing what the surrounding HTML mark-up looks like, it's impossible to give you a definitive answer. It would be best to control the display in your stylesheet.

    You could try enclosing...
  24. Thread: <main>?

    by rtrethewey
    Replies
    4
    Views
    766

    is part of the HTML 5 specification, so...

    <main> is part of the HTML 5 specification, so you can use it.
  25. I tried to straighten out your code as best I...

    I tried to straighten out your code as best I could. It looks like you merged two pages you'd been working on, and the resulting code was a bit of a mess.


    <!DOCTYPE html>
    <html lang="en">...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4
HTML5 Development Center



Recent Articles