473,487 Members | 2,452 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Validation Confusion of href

3 New Member
Hi! I've really tried to seach and see if this questions has been asked and answered before. But I was unable to find it. Probably because I was not asking it in the right way.

I'm going to try realy hard to pose my question without sounding like a crazy persons. Thanks.

I'm making my first website with XHTML and CSS. It's going okay. However, I'm having and issue with the Validator. In my site all the pages have lots of hyperlinks to other sites, so therefore my links will have the address to the other sites' URL - and sometimes those addresses are long and complex and a little crazy.

The Validator is looking at the addresse in the href's and crying foul because it sees an ampersand "&" and without a semicolon ";" and thinks I'm trying to write some non-semantic code. Or it sees an equals sign "=" in the address and calls that a Warning too.

So, here is my question. Do I ignore the Validator or do I try to change something? I don't see how I can change the web address in the hyperlinks. If I do that, the browser will never find those other websites.

Is there something I can do to fix this?
Nov 18 '08 #1
5 1331
eWish
971 Recognized Expert Contributor
You can correct the problem by using '&' in lieu of just '&' and the urls will still work and the code will validate.

--Kevin
Nov 19 '08 #2
misterkeitel
3 New Member
Hey, thanks you were right. I would have never belived that you could replace the & ampersand with ath & in the URL and it would still work.

Can I ask another questions? I have created a logo using CSS. It uses a repeating image. Now, this logo works just fine locally on my computer, but when I put it up on the server I can't see the repeating image.

the code should work. I've used it before with other pages that I've put up on the net. What do you think I might be doing wrong? Thanks.

#logo { color: #ff0000;
font-size: 4em;
font-weight: bold;
border-bottom: 5px solid #000000;
height: 84px;
background-image: url(image/mars_landscape.jpg);
padding-left: 20px;
}
Nov 19 '08 #3
David Laakso
397 Recognized Expert Contributor
Is the image on the server? And since you have what I assume is a public server, could you share your uri? This might provide a "real answer." Without it, we all get to waste each others time, playing a little game of "pin the tail on the donkey." Fun you. A bore for me.
Nov 19 '08 #4
misterkeitel
3 New Member
Here you go. And again thanks for taking the time to look at this.

As you'll see in the logo area there appears the words "Mars Explorer" and behind it should be a repeating image of the Martain Landscape but all there is is grey area.

http://learn.carvingcode.com/cis136/david.evans2185/

I am guessing that the image "mars_landscape.jpg" is up on the server. I used my Dreamweaver to "post" the site and I just looked at the "remote" file and it seems to show the jpeg up on the the remote "image" file.

If you can give me any insights, that would be great. Thanks.
Nov 19 '08 #5
David Laakso
397 Recognized Expert Contributor
I assume you've corrected whatever the problem was? The header image appears on this end in the latest versions of Mac Opera, FF, SeaMonkey, Camino, and Safari; and in XP IE/7 and IE/6.
Nov 20 '08 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

10
3564
by: Steve Benson | last post by:
Our regular programmer moved on. I'm almost clueless in Javascript/ASP and got the job of adapting existing code. In the page below, everything works until I added the function checkIt() to...
7
3569
by: x muzuo | last post by:
Hi guys, I have got a prob of javascript form validation which just doesnt work with my ASP code. Can any one help me out please. Here is the code: {////<<head> <title>IIBO Submit Page</title>...
4
1215
by: Nak | last post by:
Hi there, I know this isn't 100% relevant to ASP.NET but I'm hoping that someone can shed some light on href's in HTML code. Consider the following, http://www.spoon.com/dir/page.html ...
1
14264
by: NancyASAP | last post by:
Thought I'd share this since it took me a long time to get it working. Thanks to a bunch of contributers in Google Groups who shared javascript, etc. The question was: How can I put a reset...
3
2948
by: Guadala Harry | last post by:
I hope this is something I can solve without contacting the vendor: I'm implementing a 3rd party component that will, by itself, initiate a PostBack. Apparently it does not support the...
1
1804
by: Buddy Ackerman | last post by:
I don't know what the problem is. I have a form with several controls that need to be validated, I put a validation group in every form control, every validatoino control, the submit button and...
3
2135
by: ajitkumar071 | last post by:
hi all .....please help me ... my problem is i m having a row by default.And validation works fine for this, But if i add an extra row to it.....even if i enter the values for the new added row i...
4
2692
by: yatin | last post by:
hi, friend. i have a problem in image validation plz check it. i have to include a image validation in foam 1. but i sending a details through form2. But when i include a image validation in foam1,...
1
1350
by: mimranp | last post by:
Hi all i m using visual developer 2008 i m using xhtml1.1 in that .i m reciving so much error when check in online input w3 standard(C# language code behind) <%@ Page Language="C#"...
0
7106
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6967
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7137
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7181
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6846
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7349
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5442
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4565
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
1
600
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.