Everything posted by timmo76
-
How to have a bg image and then put many scattered images, each of which being a link to different pages
Thanks. My next questions are: 1) Would I need to be positioning the images as absolute, or as relative positioning? 2) Is there any program that can help me in this task ? (ideally this would let me position the images on a background with my mouse, and it would automatically generate the CSS positions [in lets say pixels] that I should use in the codes. To be honest, I don't even know if such a program exists- it's the first time I try to create a site of this type)
-
How to have a bg image and then put many scattered images, each of which being a link to different pages
Thanks but that was not what I was asking for. I was asking this: What's the most effective/easier way to get the results I want? My two ideas are: - Put all images including bg and front images as ONE image, and use Map linking for the images. - Put front images separately from the bg image, position them using CSS, and make them link to different pages. Which is better? Any other suggestions?
-
How to have a bg image and then put many scattered images, each of which being a link to different pages
Hi. I am trying to make a website while avoiding hiring a web designer, plus avoiding learning to use Flash and Scripts. So in other words, all I'll use now is HTML and CSS. So, what I want to do is this: I am going to have a large background image that will stretch to take all the screen. On the "front" of this bg image, I will have other images here and there, like a computer there and a flower here (I'm saying random stuff now). And I want to make these front objects links to other pages of my sites. So if you click on the computer, you'll go to that page, etc. One way I could think of doing this, would be to make all these images, including bg and front ones, as ONE image. Then I could make "map" linking, like described here (W3schools page) Then I wonder if there is an easier way to do this. So the second idea I had is that I could put the bg image separately from the front ones, simply make each front image to be a link, and position each image using CSS (I guess using absolute positioning?) But this would still be difficult, and I'm not sure that it would give me the exact results that I want. Can someone suggest of a better method that I could try? Thanks very much.
-
Help to validate my page for mobiles (on W3C MobileOK)
BTW before I go, can you tell me why I would need the standalone="yes" in this case? (Actually, I don't know why it should be used in any case- I researched a bit about it now but couldn't really understand. I will search about it a bit more but it would be very useful if you could give a quick explanation)
-
Help to validate my page for mobiles (on W3C MobileOK)
Thanks. Your suggestion helps me rid of most errors, though there are still a couple left. I will post them in a while, as I need to go eat something first. Again, thanks
-
Help to validate my page for mobiles (on W3C MobileOK)
Hi. Trying to make my site validate on W3C mobileOK checker. My page is text-only and made with very simple HTML. The DOCTYPE I use is: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> On the checker, I get the following errors: - The HTTP Content-Type header does not specify a character encoding and no UTF-8 encoding or a non-UTF-8 is specified in the XML declaration - The document does not validate against XHTML Basic 1.1 or MP 1.2. - An HTTP response header that matches the meta http-equiv element exists but their values differ - The document uses a non-XML doctype (-//W3C//DTD HTML 4.01 Transitional//EN http://www.w3.org/TR/html4/loose.dtd) - The resource does not specify UTF-8 as character encoding - The document is not served as "application/xhtml+xml" What can I try to avoid these errors?
-
Help to fix a HTML validation error
Thanks! (actually the code you gave me to add also needed to be put in another instance of the Google-widget code to make it validate completely).
-
Help to fix a HTML validation error
Hi I have put a Google translate widget on my site, and the code is this: <div id="google_translate_element"></div><script> function googleTranslateElementInit() { new google.translate.TranslateElement({ pageLanguage: 'en', layout: google.translate.TranslateElement.InlineLayout.SIMPLE }, 'google_translate_element'); } </script><script src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script> But now I can't get my site to validate on HTMLTidy. The error says: How can I fix this to validate my site?
-
To make simple sitemap for humans
Thanks !!
-
To make simple sitemap for humans
Hi I want make a sitemapm not for robots to look at but for my human visitors. I want to do it something like Wired's one. Also I would like to avoid the use of tables to sort out the columns. So I guess I should do that using CSS. I took a look at Wired's code but it's a bit confusing for me to understand. Can someone help me for how to make a simple sitemap? thanks
-
Transparency in div problem
What do you mean exactly by this ? I understand you want to have a background that stays visible behind your div. What do you want the front div to contain? Links, logo, or something else ?
-
Should height and width of image be in HTML tag or in CSS?
Hi Should we be defining the size of an image (width and height) in the HTML tag- or can I put those in the image's CSS? This question is based on two things: 1] Someone here told me before on another thread that I only need to define the size in the HTML tag, but I don't know if s/he meant that it's preferable to do that. 2] Juicy Studio's image analyser finds as "warnings" of my site that I don't specify the width and height of my images, which indeed I don't in the HTML, but I do in the CSS. So I thought that maybe size should be defined in HTML, for some advantage like helping the web page load faster or something. Is that the case? Thanks
-
Help with CSS, to make Skip Navigation link that appears only on focus
On the same site I found the answer to this one:
-
Help with CSS, to make Skip Navigation link that appears only on focus
I found the answer to this question on WebAim's site (My link):
-
How to put image on page without losing quality
Thanks!
-
How to put image on page without losing quality
Thanks. And what if I put the CSS in the image tag while specifying that I'm talking about style, which would the the correct one then: <img src="imagename.jpg" alt="Whatever" syle="width:500px; height:600px;" /> or <img src="imagename.jpg" alt="Whatever" syle="width:500; height:600;" />
-
How to put image on page without losing quality
Thanks your responses helped me understand a bit better. But in reply to Henbast's response, that's another issue I have some problem with: What's the difference of specifying size by something like as opposed to something like I'm asking because in some cases I seem to get what I want by using px, and in others by not using it- but I need to know why exactly. thanks
-
How to put image on page without losing quality
Hi I will probably sound like a complete newbie asking this, but it seems to be one of my blind spots. Say that I have an image that's 500px width x 600px height (according to what my Windows system tells me) and I want to put this image on an HTML file. My questions are: -Is it true that it's best to specify both width and height styling for the image (to reduce page-loading time)? -If I want to specify the size in pixels, how would I do it without stretching/squeezing the image so that I don't damage the quality? -If I want to specify the size in percentage (%), how would I do it without stretching/squeezing the image so that I don't damage the quality? thanks
-
Help with CSS, to make Skip Navigation link that appears only on focus
Regarding the code I mentioned in my original post, do I really need overflow:hidden; and overflow:visible; Also, do I really need to define a weight and a height?
-
Help with CSS, to make Skip Navigation link that appears only on focus
Yes, thanks that was helpful. Hmm, your code looks tidier than mine, could you see any disadvantage of using that one instead? Also, I have another question, couldn't we make a similar effect by making that div disappear / reappear by somehow using the code display: none; ? And to be honest I don't claim to have experience with this code, just asking.
-
Help with CSS, to make Skip Navigation link that appears only on focus
Hello, I was renewing my site a bit clearing up the code mostly and trying to improve its accessibility. So I found that its a good practice to provide a "Skip navigation" link before your navigation menu, so that people using screen readers (like blind people) won't need to suffer listening to all your navigation links each time-they can just click on the link and skip it altogether to go to your main content. There's a simple way, by which you just put a link before your menu that links to after the menu (same-page linking). But I also found a more attractive way where you can make the "Skip Navigation" link appear on the page only in response to the tab button (you can see it in action on the US Department of Veterans affairs website). So I do it this way: <div class="skipmenu"><a href="#content">Skip Navigation</a></div> which links here: <a id="content" name="content"></a> and my CSS for the div is: .skipmenu { text-align: left; } .skipmenu a { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; } .skipmenu a:focus, .skipmenu a:active { position: static; left: 0; width: auto; height: auto; overflow: visible; text-decoration: underline; } I get the effect I want by using this, though I don't understand how the above CSS code works and I feel uncomfortable using codes on my site that I don't understand. Can someone please explain more precisely how it works? And also is it written in an untidy way or is it just me? Is there a tidier way to make the same effect? Thanks EDIT: I corrected a mistake in the CSS code
-
<html dir="ltr"> and screen readers
That sounds correct, thanks Wickham
-
<html dir="ltr"> and screen readers
Hello Some time ago for some reason I got the impression that expressing the direction of your text on a page using a code like <html dir="ltr"> is helpful for screen readers. So I made this the beginning code on all my pages. Now, I check my site for accessibility at Deque Worldspace Free Analysis (not allowed to provide link) only to receive an error regarding the line where that code of mine is- the error says: Which of course is the opposite of what I was trying to do. Can someone explain whether I need the <html dir="ltr"> tag or not? And its effect on screen readers? Thanks EDIT: No, actually I don't know what that error message means.
-
Is something wrong with my meta description tag?
Thanks to both My doctype is HTML, not XHTML and my doctype is correct: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> , so I guess I shouldn't close it. The other thing is that my site has really recently been put online (less than 2 weeks), so it maybe what Notbanksy says. I'll be patient a bit. Thanks.
-
To '/' at end of Meta Tag, or not ?
As far as I know, it depends on your Doctype, and if you use XHTML codes or pure HTML. (pure HTML would not require the "/", while XHTML would). What's your Doctype? Someone may be able to give you a more accurate answer of whether you should use that symbol or not. EDIT: Actually I think both would work in whichever case, though one of the two ways would be "W3C-valid"