dcsimg
www.webdeveloper.com

Search:

Type: Posts; User: Captainkewl

Page 1 of 15 1 2 3 4

Search: Search took 0.03 seconds.

  1. This code just re-directs another domain pointing...

    This code just re-directs another domain pointing to my IP back to my website.


    RewriteCond %{HTTP_HOST} !^www.mydomain.com$
    RewriteRule ^/?(.*) http://www.mydomain.com/$1 [QSA,R=301,L]
    ...
  2. The only problem with that is that if another new...

    The only problem with that is that if another new domain does it, I may not know about it. If I just use the above code, then even if more domains do it, it will just re-direct back to my site.
  3. Found the code. It's...... RewriteCond...

    Found the code. It's......


    RewriteCond %{HTTP_HOST} !^www.mydomain.com$
    RewriteRule ^/?(.*) http://www.mydomain.com/$1 [QSA,R=301,L]

    This redirects back to my domain if another domain is...
  4. Maybe I'm not talking about "referrers". I just...

    Maybe I'm not talking about "referrers". I just mean that I want to prevent these domains from pointing to my IP address via DNS. Basically a site like somesite.com shows my website at mysite.com at...
  5. Thanks for the reply. That allows to block by...

    Thanks for the reply. That allows to block by individual domains, but I know there's a way to block "all" referrers. I think it was by using * in the code or something.
  6. use htaccess to block another domain from pointing to my website

    Other domains are showing my website. It's eating up my server bandwidth. I have blocked "hot linking" so that images don't show up, but it's still loading some of the page.
    I had a script before...
  7. Replies
    9
    Views
    1,891

    Actually, it's not my code (it's a Wordpress...

    Actually, it's not my code (it's a Wordpress template). I'm sure you're correct (as most WP templates are "bloated").
  8. Replies
    9
    Views
    1,891

    Thanks for the replies everyone. Must be another...

    Thanks for the replies everyone. Must be another issue then (regarding the arrow not showing in Chrome). I'll figure it out. Thanks again.
  9. Replies
    9
    Views
    1,891

    I get your point. However, the problem is, when I...

    I get your point. However, the problem is, when I remove the custom arrow, Chrome doesn't show an "arrow" at all (just FF and IE seem to generate their own arrow).
  10. Replies
    9
    Views
    1,891

    Problem is, Chrome doesn't display a default...

    Problem is, Chrome doesn't display a default arrow for select fields (at least I don't think so). That is why the custom arrow is needed (or Chrome wouldn't have an arrow at all).


    <tr>
    <td...
  11. Replies
    9
    Views
    1,891

    remove Firefox arrow on drop down field

    16321

    16323

    The first image shows how the drop down looks in Firefox (version 31). The second image shows how it looks in Chrome.

    How can I remove the Firefox generated arrow that appears...
  12. Replies
    1
    Views
    847

    iphone specific CSS styling

    16311

    This is how this form looks on an iphone. On a desktop, the form fields have a dark background and white text. Is there a way via CSS to target the iphone CSS specifically and change the...
  13. PHP navigation how to make top level nav stay "active"

    For this PHP navigation, you will see that "Services" has a "sub-menu". All the other menu links have an "active" state when clicked on (they have a white background determined by the "active" class...
  14. JS form validation not working in IE8 and IE9

    The contact form on this page: http://kmkwebdesign.ca/clients/VenU/ works fine, but in ie8 and ie9 the JS form validation doesn't work. The form validation works fine in ie11 (just not 8 and 9). Does...
  15. Thanks for the input. Basically another developer...

    Thanks for the input. Basically another developer had to add additional functionality to the site and required his own css file. His "a" styles overwrote mine. I think using "classes" as you...
  16. In the header I have:

    In the header I have:

    <link href="style2.css" rel="stylesheet" type="text/css" />
    <link href="style1.css" rel="stylesheet" type="text/css" />

    I also tried reversing the 2, but style2.css...
  17. 2 css style sheets. how to remedy conflicting styles?

    I have 2 stylesheets (say style1.css and style2.css).

    style1.css has
    a {color:#333; text-decoration:underline;}

    style2.css has
    a {color:#fff; text-decoration:none;}

    For some reason...
  18. Replies
    1
    Views
    1,140

    Drop down menu issue

    If you look here: http://cmw.net/conferences/radio-interactive-summit/ and focus on the top menu, hover over the word "international" and you will see the drop-down appear. The issue is that the 3rd...
  19. Replies
    4
    Views
    2,896

    Thanks for the suggestion, but the inline style...

    Thanks for the suggestion, but the inline style of:

    <div style="margin: 0px; overflow: hidden; height: 0px;">
    is overwriting it, so it doesn't work.

    I did a global search in all the files and...
  20. Replies
    4
    Views
    2,896

    sub menu position issue

    Having an interesting issue that I can't figure out. If you look here: http://cmw.net/conferences/radio-interactive-summit/ and hover over "marketing" in the nav bar and click on "shipping" you will...
  21. Replies
    1
    Views
    1,761

    Nevermind. I got it. Thanks anyways.

    Nevermind. I got it. Thanks anyways.
  22. Replies
    1
    Views
    1,761

    Drop down menu issue

    If you look here: http://cmw.net/conferences/radio-interactive-summit/ you will see on the right nav, that the drop down menu is showing. I only want it to show when you hover over the word "media"...
  23. Replies
    1
    Views
    2,932

    Figured it out. Just needed #main-navigation ul...

    Figured it out. Just needed #main-navigation ul li.current-menu-ancestor > a { background: #000; } (was missing the >)
  24. Replies
    1
    Views
    2,932

    [RESOLVED] Parent menu CSS issue

    Hey everyone. If you look here: http://kmkwebdesign.ca/clients/errol/ and then hover over "presentations" and then click on "elementary", it takes you to the elementary page. I wanted the parent nav...
  25. I fixed it by changing where I put the PHP...

    I fixed it by changing where I put the PHP include in the header file (so it didn't load right away).
Results 1 to 25 of 362
Page 1 of 15 1 2 3 4
HTML5 Development Center



Recent Articles