HTML and CSSCan I display an "image not found" image in HTML?I've been writing some scripts to display large directories of images in HTML in an automated fashion and not infrequently the static HTML generated ends up not matching the underlying images on the server. I could generate the pages on-demand, but it's too processor intensive. Instead, I'd like to know if there's a way I can automatically display an "image no longer available" graphic instead of just a broken link? Computer and Internet BasicsHow to identify public domain photos on FlickrI want to add photos to my blog, and a buddy told me that I can use images from the Yahoo Flickr site. I don't want to get in trouble, though, so can you tell me if there's some way to identify those photographs and other images that are legal for me to republish? HTML and CSSAre frames obsolete on Web sites? Do I need to redesign my site?I have a web site that I placed on the Internet in the year 2000. It consists of HTML 4 and Frames. At this time it opens in different browsers with no problem. With the advances of CSS and newer browsers running CSS more proficiently do you think the older web sites with frames will stop working correctly? I don't even know where to start with changing over to CSS as I have over 100 pages. HTML and CSSHow can I stop people stealing my blog images and photos?Is there a command I can use to stop people right clicking and saving copies of my images? I get annoyed when they take my work and post it on their website without permission. Thanks. HTML and CSSHow do I tuck my corporate motto under my site name in CSS?I'm trying to get my company motto tucked right under my site URL in my header using CSS and can't quite get it right. I tried <h4> </h4> instead of <p></p>. Motto is showing up above domain name, still having trouble getting motto under domain name. Here's my code: <div id="header">
<div id="logo"> <h1><a href="#">mywebsite.com</a></h1><br /> <p><i>My motto here.</i></p> </div> </div> and I have a bunch of complicated CSS, but it just isn't working. Help! HTML and CSSHow can I embed a Google Map on my Web page?I've seen some professional service provider sites that include a nice little map within their About page, a map that actually hooks up to Mapquest or similar. I much prefer Google Maps, but am stuck: is there some way to actually embed a Google Map on my Web page or, for that matter, my MySpace profile? HTML and CSSHow do I indicate my Web pages are going to expire?I have been building a set of Web pages for events hosted by my local temple, and the Rabbi is complaining that when he uses Google to search for upcoming events, it's the older events that have already passed that are showing up, not the upcoming events. What a headache! Is there some way to put an expiration date on a Web page like you can on a carton of milk? HTML and CSSHow can I add an Amazon search box to my web page?You have shown how to add eBay, Google, and Technorati searches to your own web page. Is it possible to add an Amazon search to your page, and how would you do it? HTML and CSSHow do you get your Submit button to disable on click?I notice that about two weeks ago your site changed subtly, Dave. Before, I'd click on "POST" to submit a comment and then wait and wait while it processed. Now it's still as slow (sorry!) but as soon as I click on that POST button it grays out so I can't click on it again. Cool. How do you do that? MySpace, Facebook, Twitter and Social Network HelpChanging text and background colors in MySpace?On my friend's myspace profiles they have a color box around their comments and the text is in diffent colour too. I've asked them how they did it but they say they forgot. so how do you do it. HTML and CSSShould I cloak my external site links?I recently noticed that a few of the sites I visit seem to be cloaking or hiding their links when they point out to another site. I've heard of this cloaking to hide affiliate links, but am wondering whether it's a good idea and why you, for example, don't mask your own links? HTML and CSSHow do I have additional info pop up on href links?I noticed that my local newspaper's Web site now has the lead paragraph of stories magically pop up when I put my cursor over the headline link on their site. Nice! How can I do something similar on my own pages? HTML and CSSHow can I use robots.txt meta information to stop being spidered?As far as I know, there's a big problem with duplicate content in the search engines, so I am paranoid about my dynamically generated content and want to use either a "robots.txt" file or a "robots.txt meta exclusion" to ensure that search engines don't see my content again and again. How do I do that? Computer and Internet BasicsHow can I save mp3 links from email messages?I'm a happy subscriber to your splendid Blogsmart News newsletter and was glad to get a link to the amazing results with adwords lecture you did with Joy in the latest news. But I can't save it? How the heck do I save an mp3 file when the link is in an email message? HTML and CSSHow do I add a Yahoo search box to my site?How do I add a Yahoo search box on my site? I can see you've written about Google, but Yahoo's impossible to decipher! HTML and CSSCan I add a daily Sudoku puzzle to my blog?I have been trying to jazz up my weblog in various ways and have decided that it would be extraordinarily cool to add a daily sudoku puzzle. Problem is, I have zero programming ability. Is there any way to do this? HTML and CSSHow do I add photographs to Wikipedia?I'm a photographer and have a variety of pictures I'd like to contribute to the Wikipedia effort, but I'm completely stymied on how to actually do so. Can you offer some tips? MySpace, Facebook, Twitter and Social Network HelpCreate boxed text in a MySpace Profile?I was reading through some of your myspace help and it's great. thanks so much for letting me tweak my background without having to slap a bunch of stupid adverts on for your site! :) While I was reading your profile on myspace [dave's profile on myspace], I noticed you had a nice effect with some text that you somehow put into a box. How did you do that?? Blogs and RSS FeedsHow do I copy YouTube videos from other bloggers?I read a ton of blogs every day and sometimes I see a video from YouTube that someone's included on their entry. I know how to do that [see Add YouTube Video to your Blog for a tutorial] but how do I easily copy a video from one page to another? Blogs and RSS FeedsQuick blog HTML primer?Can you give me the rudimentary HTML tags that I need to be able to create bold, italics, change font colors and include both hypertext references and images to my blog entries? Thanks! Blogs and RSS FeedsHow do I embed Google Video on a Blog Entry or Web Page?I've been blogging for a while now and am having a good time, but I'm now a bit puzzled about how to expand into the next wave of content: video. Specifically, I bump into funny or informative videos on Google Video but have no idea whether I can embed it on my own page and if I can, how to do that. Can you offer some pointers? HTML and CSSHow do I use JavaScript to break out of frames?I'm really upset. I was just visiting a competitors Web site and found out that they had links to my FAQ pages, but when you clicked on the links, their "frame" neatly wrapped my content, which made it seem like it was their content, not mine. That stinks, and I want to know if there's a way that I can kill or prevent this from happening to my Web pages? HTML and CSSHow do I change the appearance of a SUBMIT button?Dave, how can you change the attributes of the Submit button (font, color, color of the button, etc.)? When I get the answer, I promise to buy you that chai. HTML and CSSWhat is Google Related Links?I just bumped into something called "Google Related Links" and don't know much about it or how I can add it to my Web site (or whether I should). Can you explain what it's about, why I might add it to my site and how I'd do so? HTML and CSSHow do I add a cool background to a MySpace account?How do i get a nice background on my page? I can find a very good one but it always says myspace on it but i try it anyway. How do i put the graphic into my background on my page? HTML and CSSHow do I avoid affiliate link hijacking?I've been reading a lot lately about affiliate link hijacking and link cloaking. Do you recommend any particular link cloaking software or technique and/or are there any particular ones to steer clear of? I saw one 'Covert Affiliate' that in addition to cloaking affiliate links puts a tracking cookie on the visitors computer even if they don't click on the link. They talk about having the 'unfair advantage'... that concerns me that if you're doing something 'sneaky' that it could actually bite you in the butt down the road. HTML and CSSHow do I build a multi-site search box?If I have a Google web search form placed in my site, how can I set it up so that there is one input box (for the web search) but two submit buttons - one for a web 'text' search, and one for a google image search? Is that even doable?? HTML and CSSPutting text around a Paypal button?I have added a Paypal button to my weblog but I can't figure out how to put the text above or below the buy now button so that people know that they are buying before they click on it. I am just learning about HTML? HTML and CSSHow do I change text formatting in HTML?This is a really basic question, but I'm still just trying to figure all this Internet stuff out. I don't know any HTML. I would like to know how to a) place HTML in my coding to turn a paragraph color to red and b) increase the font size. HTML and CSSLimit my Amazon searches to only books?I have a search box on my Web site that I got from the Amazon Associates program and it's a nice addition to the site, except that I really want people to only have results from their books department, not all across the Amazon system. Is that possible? HTML and CSSHow can I protect my Web site graphics?How can I protect my website html pages, graphics, etc. from being viewed, and/or manipulated by casual viewers? IOW, what do I need to set up so that if someone tries to go to "www.mysite.com/pics" (for example), they would get a "no permission" message? HTML and CSSHow do I have a shared CSS menu system?I love CSS. I would like to use CSS menus. I have seen several versions on the netover the last 12months (I currently use a javascript menu system). My biggest problem with these CSS menus is that you have to put the menu code into each HTML page as far as I can see). This means a menu change for a site must be updated in every page. This seems to go against the idea that CSS can be used to change the look and feel of an entire web site by just chnaging the external style sheet. Do you know of a way of putting CSS menus information in an external file that can be linked or imported into the HTML? HTML and CSSHow do I use mailto: links in a form?I'm writing a webpage registration program for a local non-profit, and I've been trying action="mailto:myaddr@yahoo.com" thinking that it would send me the stuff that my CGI script will get (method is POST) but I don't see anything. Is there a way to see what my cgi script will see w/o having to do the server side stuff first? HTML and CSSWhy is JPEG considered a "lossy" graphics format?I'm just starting out in the Web world and was just told by someone else who I respect that I should be careful with the JPEG graphics format because it's "lossy". I have no idea what that means, however. Can you enlighten me? HTML and CSSHow do I create an image map for my Web page?I am trying to make a web page and am having trouble with the HTML. I want to make some links at different places on the picture on the front page. Could you help me with the code? Right now the whole picture is a link, but I would like to make the ENTER sign a link as well. If you could just point me in the right direction HTML and CSSHow do I have the cursor placed in a text field on page load?Dave, I have added Google to my webpage using the "Google free" code. Can you please tell me how can i by default place the cursor in google search box? HTML and CSSHow do I add a picture to my Web page?I've been reading your Creating Cool Web Sites book, and what I'd like you ask you is how do I put a picture on website? Even though you have mentioned it I am not sure what to write in the <img src='__" />. I am not sure where you get that part if you want to download a picture from the Internet. It would be a great help. HTML and CSSHow do I add a countdown timer to my Web site?Hi there, I noticed, on a previous entry, somebody asked how to add a countdown timer to their website, well I am also interested in one for my website, on how long until the next clan match is for Socom II, am i able to get a visual countdown timer, where when people go on the website, they can watch it count down, also, could it say days, hours minutes, etc, and also maybe colourful. HTML and CSSCSS positioning on my Web page causes overlap?I'm having a problem with a title block on one of my sites. When the browser window is below a certain size (about 750px in width), one of my absolute positioned divs overlaps another. How do I make it so that the browser just displays a scroll bar once this minimum size is acheived rather than starts overlapping my divs? HTML and CSSCan I have a mailto link specify a subject and body?Dave, I have a email link on a web page. Set so when you click it, the email opens with the address and subject line populated. I want to have the cursor OR Hello show up in the Body of the email. I am told 'ONLY' with forms but I am sure I did this years ago. Here is what I have so far: "mailto:me@my-addr.com?Subject=Dear Kirk" Do you know the code to finish it off? HTML and CSSHow can I hide an HTML form's email address?I really enjoyed your article about the "mail to" problem many of us rely on for folks to contact us for one reason or another. While I am just a geekette wanna-be, and am at best a stumbling dabbler in script and coding, I was wondering if you could share greater detail about how you scripted your contact form? When I took a look at the source code, not that I understand a lot of it, I was unable to determine how the message gets to where it needs to go without specifying the destination in the HTML? HTML and CSSDo you recommend that I avoid mailto: links on my Web pages?Dave, I know that I can easily add links to my Web pages that let people click and send me an email message by specifying a mailto: URL. However, I've heard rumors that there are some problems with spammers snagging those addresses of my site? I hate spam, should I just avoid email addresses entirely? HTML and CSSFrames, HTML and Resizing Windows?Dave, I have read your Creating Cool HTML 4 WebPages and gotten into basic web-designing. I have one pestering question though. Say you have two frames, is there any way you can prevent the frames resizing if you resize your window? For instance, a maximized window viewing these frames is fine, but when it is not maximized it may cut off some information and pop that annoying scrollbar next to it. It can, anyway, disrupt ease and fluidness of the site. Computer and Internet BasicsWhy aren't my favicons displayed?Hello Dave, I work on Mac OS X and I have been trying to add a favicon.ico to my website's address bar, only to find that it only shows when I open it with Netscape or Firefox, all the other browsers like Safari and Explorer don't seem to recognize it.... Can you help?? It is driving me mad... HTML and CSSHow do I include Foreign Currency Symbols in HTML?Dave, I'm writing something where I need to place various currency symbols in an HTML file. (euros, yens, and pounds) Is it best to use names like ¥ or numbers like ¥? I presume just putting the raw text character in the file is bad. Blogs and RSS FeedsWhat is BBCode and how do I use it?
Dave, I read your HTML primer for bloggers, but I'm confused because on the sites I add comments, I have to use something called bbcode, not HTML. What is bbcode and how do I use it?
Blogs and RSS FeedsWhat are the essential HTML tags I need for blogging?
Dave, I've just started a weblog of my own and am finding that I need to learn a few HTML tags to make my entries as attractive as possible. I'd also like to learn how to link to other sites and other Weblogs, but really haven't much of a clue other than that HTML has < and > around different letters. Can you give me a quick primer?
HTML and CSSHow do I validate my Web HTML pages?
How do I validate my Web pages and end up with one of those nifty "xhtml 1.0 verified" graphics for my page?
HTML and CSSHow do I quickly build Amazon affiliate links on my pages?
Dave, I notice that whenever you mention any products on Amazon, your links always go straight to the recommended product (rather than their annoying intermediate landing page where they try to sell you on other products) and neatly tuck your affiliate link in too. So, do tell, what's your secret technique?
HTML and CSSMy CSS-based HTML form layout looks awful in Internet Explorer?
Dave, I've started a new web site that uses web standards throughout, including CSS layout instead of tables, even for forms. Works great in Mozilla, Firefox, Safari, IE 5 for Mac, etc. Guess what the problem is? Yep, it's Internet Explorer for Windows. The form looks like absolute garbage on IE 5.5 and IE 6 for Windows. Any ideas how I can fix this to use CSS layout for forms, even with IE?
HTML and CSSHow can I use Javascript and CSS to display the date?
I received this email from a younger reader: "Dave, thanks for your cool book Cool Web Sites, but I still need a bit of help. I want to have a little box on my page that shows the person the current date, like you'd see on a day-a-page calendar. I figure you can do that in CSS and Javascript, but I can't figure it out. Can ya help me?"
HTML and CSSHow do I disable a CSS anchor hover?
"Dave, I've been having great results using the hover attribute within my CSS style sheets, but when I have graphical buttons, sometimes they end up with the background-color change hover attribute as a small drop-shadow that only appears when the mouse is over the element. Y'know what I mean? How do I disable this?"
HTML and CSSWhat are the coolest forgotten HTML and CSS tags?
A funny email message arrived: " The other day, I was working on a site when I stumbled across a forgotten corner of HTML. The <dl> tag is a "definition list"; it uses alternating <dt> ("definition term") and <dd> ("definition definition", it seems) child elements. This sort of markup fits pretty well for, say, dates and news items, so I've used it for that.
"My question for you is, what are your favorite obscure tags? I'm not talking about <img> or <br> -- I'm talking about the ones everybody's forgotten about, like the <dl> tag. Other bits of obscurity (like weird CSS selectors) are welcome too, of course. :^)" HTML and CSSMy document.all Javascript/CSS code doesn't work?
While going through my book Creating Cool Web Sites with HTML, XHTML and CSS for a class I was teaching at the University of Colorado, Boulder, I realized that a gremlin crawled into the page proofs and somehow I ended up with IE-specific DOM reference code to show how CSS and Javascript can interrelate, rather than the approved standards-based approach.
HTML and CSSAre there any hidden dangers lurking in Firefox 1.0?
I've been using various versions of Firefox for quite a while, but this week marked an important milestone in the evolution of this slim, small Web browser from the Mozilla team: the release of version 1.0, the first "official" release version of the program. Is it a good browser? Oh yeah, I have lots of good things to say about Firefox and its many capabilities (though why it can't import Safari configuration settings is a bit puzzling). But there are some gotchas too, particularly from the perspective of a Web developer.
HTML and CSSCan Server-Side Includes (SSI) Produce Date or Time Output?
The question arose: "I'm always forgetting to change the copyright notices on the bottom of my Web pages, so it's not uncommon for me to have 2003 as the copyright well into 2004, and I'm sure that I'll do the same thing in 2005. Help! Surely there's some easy SSI trick for fixing this?"
HTML and CSSIs there a venue for me to show off my HTML skills?
I occasionally receive email from people telling me that they think they've become quite the HTML/CSS mavens and are curious if there are any competitions they could enter to demonstrate their prowess. It's a great idea if you think about it, because I know that I've certainly come across little CSS pages or JavaScript widgets that are just, well, amazing. So how do you get some peer and industry recognition for this skillset?
HTML and CSSHow do I get traffic to my Web site?
A reader writes:
I've really learned a lot from your book Creating Cool Web Sites with HTML, XHTML and CSS, but now that I have a site, I'd like to find out more ways to build traffic and maybe even make a few bucks off advertising. Can you help? HTML and CSSGetting external style sheets to link properly
A reader writes:
" On page 62 of Creating Cool HTML 4 Web Sites, the first line of code (<link type="text/css" href="mystyles.css" /> does not seem to work until I add 'rel=stylesheet'. I've tried it out on both IE 6.0 and Netscape 7.x." HTML and CSSGet your containers right with CSS!
I've been beating my head against the wall (proverbially, at least) with what should be a simple CSS style issue: I want to change the color and style of some text links on a Web page. I've been trying this:
but it wasn't working.
HTML and CSSHow do I start a Web design business?
This isn't the first time I've received this sort of query, but a few days ago I got this message from a loyal reader:
I am starting my own web design business and I could do with some assistance. Do you have any starting out pointers and how are the contract negotiated for service and provisions? Is there a special legal branch I should be contacting or is there already pre-made forms. I appreciate any and all assistance. HTML and CSSYet another nice review of my "Creating Cool Web Sites" book
There's always a time lag between when a book is published and reviews start to come in, so I'm pleased that the first review of Creating Cool Web Sites with HTML, XHTML and CSS is available online, and the result is very positive! A. P. Lawrence says that it's "definitely a book I can strongly recommend for someone who wants to start writing their own web pages."
HTML and CSS |