- Strength to Increase Rep
- +6
- Strength to Decrease Rep
- -1
- Upvotes Received
- 25
- Posts with Upvotes
- 25
- Upvoting Members
- 22
- Downvotes Received
- 5
- Posts with Downvotes
- 5
- Downvoting Members
- 4
92 Posted Topics
Re: You cannot prevent a user from seeing or copying the source code of your web pages. You can do some things to make it difficult for a human to read the code, but they don't really help much. In the end, you have to send valid HTML to the user's … | |
Re: The order of precedence within the cascade for CSS/stylesheet rules does not depend on the order in which those rules appear within your stylesheet. Search on "css precedence" and you'll find how this works. | |
Re: The code you posted really doesn't show enough to locate the problems you're having. One thing I'd suggest is to make sure that you aren't mixing instances of <input type="button"> and <button>, as your CSS suggests exists in your HTML. You should either include both as selectors in your CSS … | |
Re: I have limited experience with RSS feeds. I tried adding it to one of my sites several months ago to try to build more traffic and saw no change at all. Social media has pretty much killed the use of newsreaders, so unless your feed happens to appear on a … | |
Re: It's impossible to give you a specific answer without seeing your code. But there are two basic methods. The first is to simply call "location.reload(true)" in JavaScript after your AJAX update. This will cause the page to reload, which isn't very elegant. But if you only want a specific DIV … | |
Re: This is a simple example of aligning label and input tags. I made .row a container with a "clearFix" :after rule addition so that you could adapt the code to your needs a bit easier. <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Aligning Label and Input Tags</title> <style type="text/css"> * … | |
Re: It's worth getting the link, although it's not nearly as valuable as it was a decade ago. But it takes an outrageously long time for a site to be accepted, so just make your sumbission and forget about it for the next 6-8 months. | |
Re: Did you set the 'position' property of the parent/containing block-level element? Did you set the 'width' property of the parent/containing block-level element? Did you set the 'margin', 'padding', or 'border' properties of the <table> elements? Without seeing at least a skelital version of the corresponding HTML, it's tough to diagnose … | |
Re: Redesigning a website always means there is a chance that it will affect your rankings. It sounds like you're changing your home page to just have something to impress users and lead them to a second page where your real content begins. That would certainly affect your rankings since your … | |
Re: First, make sure that your server responds to requests for the old, original URL with a 301 redirect to the new SEO-friendly URL. Then go into Webmaster Tools and use the Fetch as Googlebot tool to fetch the old URL. Once Googlebot has fetched the URL, select "Submit to Index". | |
Re: Just to be clear, the self-closing version of the <br> tag is "<br />". If you see IE failing to recognize a <br> tag, it's because it was malformed. So don't go through your site trying to remove <br> tags. Just fix any that are broken. | |
Re: Your 'viewport' <meta> tag is inadequate. Try: <meta name="viewport" content="width=device-width, initial-scale=1"> | |
Re: You could theoretically do something like check for the presence of "iPad" in the User Agent string and then check for the appropriate screen size, but it's almost always best to simply check for support for the feature or function you want to use instead of looking for a specific … | |
![]() | Re: Did you try Google? I was able to find several articles that looked promising (including one from Joomla's online documentation) with a single search. ![]() |
Re: You can't get that information from the client using JavaScript. You could use a Java applet to get the MAC address, but I doubt the other details are accessable. | |
Re: Brute force method: var one = document.getElementById("paper"); one.innerHTML ="<span id='lets'>Lets</span> go to the..."; one.className="sen"; document.getElementById('lets').style.color = 'blue'; ![]() | |
Re: The easiest method is to create an animated GIF image. You'll find lots of tools and tutorials online to help you. The alternative would be to use JavaScript to control the CSS property transform with 'transform.Rotate()' to do the animation, but it won't work on IE 8 and earlier. | |
Re: Of course, Microsoft had little choice but to include older versions of Internet Explorer in this update. The optics would have been horrendous if the world suddenly discovered a major security issue just weeks after the support cut-off date and they did nothing about it. Further, Internet Explorer is a … | |
Re: I used the 'fpdf Class' package (see www.fpdf.org) a couple of years ago to create PDF files. It wasn't terribly difficult to add it to PHP in my XAMPP installation on my computer, and it worked just fine. But my needs were very simple. The difficult part of your project … | |
Re: You've named both arrays the same - 'textarray'. The second instance effectively deletes the first/original array. Change one of the names in the 'var' declaration, and update the corresponding JavaScript code that refers to the array with the new second name. | |
Re: No. Sitemap errors will not affect your rankings. Sitemaps are used to help search engines find your pages. They can only help you, not hurt you. If your sitemap has an error, you should correct it because you want Google to know where all of your content is located. | |
Re: First of all, don't panic. Webmaster Tools data is occasionally wrong. In 3-4 days you could find everything back to normal, so you shouldn't take any drastic steps to try correcting things until you're sure you know what the problem really is. That said, you should check for canonicalization issues … | |
Re: Their website at http://modernizr.com/ should give you what you need. Was there something specific you couldn't find? | |
Re: If these pages are nearly identical except for the state names, then yes, you are liable to be affected by the new doorway algorithm. A senior Google staffer speaking recently at a search engine marketing conference used this kind of page as an example of what the algorithm was designed … | |
Re: You have to provide some sample code for anyone to be able to answer your question. Be sure to include the HTML element that will use the mouseout event the CSS for the element that uses the background image you want to show, and explain how you want the background … | |
Re: It sounds like a data glitch in WMT, which is not a terribly unusual occurance. Check the 'Last Detected' dates shown for the individual errors and I bet they're reports from crawls done months ago. It seems to me that Google hasn't quite gotten a crawl schedule worked out for … | |
Re: Your HTML really only seems to show one row of your chessboard, so it's hard to suggest a precise solution beyond setting the CSS rule (or 'style' attribute) of each square's <div> to 'text-align:center'. That will center the <img> horizontally. You could also add 'vertical-align:middle' to help with vertical centering, … | |
Re: It doesn't look like you posted the entire page. Try again. | |
Re: The problem is that you put the '<style>' section in the 'while' loop, so the resulting HTML page contains multiple instances of the CSS rule for .circular. Then when the page is rendered, the browser uses the last instance of this rule for all of the <div class="circular"> tags. Your … | |
Re: The best and easiest solution is to add a redirection instruction to your .htaccess file: RewriteEngine On RewriteCond %{HTTP_HOST} ^www.hostingwebsitedomain.com$ RewriteRule ^(.*)$ http://hostingwebsitedomain.com/$1 [R=301,L] | |
Re: You're still not sending a complete URI to getimagesize(). The file name alone isn't enough. Try: ` list($width, $height) = getimagesize('images/' . $newfilename);` | |
Re: It looks like you had to edit out some code in your post, so it's difficult to be sure what the problem is. But I suspect that your variable names 'latitude' and 'longitude' are being used by some code elsewhere. That feeling is reinforced by the fact that they're also … | |
Re: There's very little advantage in using extensionless URLs. The primary advantage is the ability to change technologies or programming languages. That is, for example, you could easily switch from .html to .php with a single instruction to your server. The security advantage is miniscule since there are generally many other … | |
Re: I'm not familiar with "font awesome icons", I'm not sure what you're doing here. But since the <i></i> tag in your HTML is empty, it suggests that the icon is actually a background image. If so, you can't control the color with CSS, because the 'color' property only affects text. | |
Re: Just out of curiosity... why aren't you just using CSS to size the image to fit the container? `#myImg { width:auto; max-width:100%; }` | |
Re: My advice would be to visit your local library and see what they have on HTML and CSS. HTML5 and CSS3 are simply evolutionary steps, so all you need is to get a firm foundation in HTML and CSS. As long as the book is less than 10 years old … | |
Re: In body-wrapper.css, change the definition for #body-wrapper to 'overflow:hidden'. | |
Re: Only Internet Explorer gives you any access to the system clipboard, so there's no cross-browser compatible method available. If you just need to carry data between webpages, you could try 'localstorage'. | |
Re: Elements set to 'position:absolute' are removed from the normal document flow and positioned with respect to their *parent positioned element*. If you set .mainContent to 'position:relative' and set its 'height' to a value that would enclose the child <div>s, you should get the expected results. | |
Re: Actually, it is resolution and not the physical size that counts and the fact that the device's physical dimensions are not available to the browser should convince you that you need to adjust your approach. Go find a couple of tutorials on responsive design and you should find things get … | |
Re: Take a look at http://www.diveintojavascript.com/projects/javascript-sprintf sprintf() will let you format the output as you like. | |
Re: There's no way for you to detect which frame of an animated GIF is being displayed by the browser, so you can't modify a link this way. I'd suggest that you replace the animated GIF with a slideshow script. There are many free slideshow scripts available online that will let … | |
Re: If you have a usage/statistics package running on your website, you should be able to see where all of this bandwith usage is coming from. It could be one or more websites linking to your content (especially images), or it could be what's called a scraper - which is a … | |
Re: The only browsers that do not support HTML 5 are older versions of Internet Explorer (generally, version 8 and lower). You can use the JavaScript HTML5 Shim to allow those browsers to accept the new semantic elements like <section> and <article>, so they will render the pages reasonably well. And … | |
Re: At a glance, it looks like line 10 should read: document.getElementById("phrase").innerHTML = phrase; I'd need to see the HTML to be sure. | |
![]() | Re: I'd suggest that you start looking for problems at a more fundamental level. Load the page in your browser and check the developer tools (F12 in most browsers) to see if there are any JavaScript or CSS errors? You might also try using the "Inspect Element" function to see what … |
Re: Keep in mind that browsers don't execute PHP - only your server does that. You might be able to do this by writing some JavaScript that uses AJAX to periodically execute your PHP script. You'll need to limit the frequency of the AJAX calls or you risk bogging down both … | |
Re: Email clients support only a limited number of CSS properties, and z-index support is very rare. You're also likely to have problems with <form>s of any kind. The best solution is probably to send an Email that has a link to a page on your site where all of this … | |
Re: The best approach would be to have your 'mail.php' script handle the redirection to 'my_test_web_site_location'. If necessary, you can pass the value of 'my_test_web_site_location' to the script in a 'hidden' <input>. If the script you're using won't let you redirect, there are hundreds of other formmail scripts out there that … | |
Re: It's certainly possible to create such a script. You can simply emulate a user and access the search engines. Years ago, Google even had an API that would allow limited access to search results, but I'm not sure it's still available. All of the search engines try to block automated … |
The End.