dcsimg
www.webdeveloper.com

Search:

Type: Posts; User: rtrethewey

Page 1 of 20 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    1
    Views
    186

    For starters, one uses the tag and the...

    For starters, one uses the <footer> tag and the other uses <div id="footer">.

    You can usually spot such issues easily by using the Developers Tools. Press F12.
  2. HTML is for structuring and presenting content. ...

    HTML is for structuring and presenting content. It cannot translate XML into HTML by itself. The simplest solution is JavaScript using AJAX to retrieve the XML file for processing by the script.
    ...
  3. Replies
    4
    Views
    373

    Combining two PHP scripts can be easy or fairly...

    Combining two PHP scripts can be easy or fairly difficult. It depends on the complexity of the scripts, and what happens once they've completed their tasks. You can ask for help in the PHP forum...
  4. Replies
    4
    Views
    373

    Unless you combine rpd_mx.php and mx.php into a...

    Unless you combine rpd_mx.php and mx.php into a single script, there are no other approaches.

    You need software that will gather the user's form data, send that data to two separate scripts/URLs,...
  5. For example, a category page on an e-commerce...

    For example, a category page on an e-commerce site that displays its products using individual floated <div>s. If the content of those <div>s varies in a way that causes their heights to be uneven,...
  6. Replies
    5
    Views
    536

    You could include the .jpg image as base64...

    You could include the .jpg image as base64 encoded data in your CSS file, but I doubt that's really what you have in mind.

    Exactly what are you trying to do?
  7. I can think of only two solutions: 1) Apply a...

    I can think of only two solutions:

    1) Apply a fixed/min/max height to the floated elements.
    2) Use JavaScript to dynamically add (and remove) <div style="clear:left; height:0;"></div> where...
  8. Replies
    2
    Views
    468

    You don't have to avoid CSS for EMails, you just...

    You don't have to avoid CSS for EMails, you just have to limit yourself to the properties that have the broadest support - which is generally about CSS v2.1. None of the major Email clients support...
  9. Replies
    6
    Views
    376

    The problem is that the last message floated...

    The problem is that the last message floated block element is "catching" on the bottom-right edge of the second message block element. The only solution I know of is to set a specific 'height' or...
  10. Replies
    6
    Views
    505

    Kudos to Sup3rKirby for coming up with an example...

    Kudos to Sup3rKirby for coming up with an example of a functional difference. The point I was going to make is that using the proper mark-up would make a semantic difference that might affect things...
  11. Replies
    6
    Views
    505

    They may appear to be similar, but you should...

    They may appear to be similar, but you should note that in the first example, the actual option values are indented slightly to denote their membership in the optgroup. In the second example, the...
  12. The primary issue with multiple stylesheets is...

    The primary issue with multiple stylesheets is that each one requires a separate HTTP request, which slows down page loading - at least initially. But there's nothing inherently wrong with your...
  13. 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>...
  14. 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...
  15. 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...
  16. 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...
  17. Replies
    2
    Views
    533

    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...
  18. Replies
    3
    Views
    946

    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.
  19. Replies
    2
    Views
    601

    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...
  20. 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...
  21. Replies
    2
    Views
    634

    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...
  22. 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?
  23. 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...
  24. Replies
    13
    Views
    3,255

    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...
  25. Replies
    1
    Views
    509

    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...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4
HTML5 Development Center



Recent Articles