You are here: Re: "_" Character appearing before Img « HTML « IT news, forums, messages
Re: "_" Character appearing before Img

Posted by Jonathan N. Little on 03/19/06 19:55

Aaron wrote:
<snip>
> So Jonathan
> I thought the HTML Declaration may have helped another problem on this page,
> but no.
> I have a strange space matter after the submit/cancel buttons, before the
> email address privacy paragraph.
> In that, there is No space viewing with Firefox, and a double space with
> IE6.
>
>
I am not looking at the source as parsed by a browser but at your
actually source downloaded.

You have no 'HTML Declaration' (which I think mean DocType)

Your Code:
<html><head><title>Luttrell Contact</title></head>
<body><img src="ContactLuttrell_files/co...

A doctype declaration goes before the <HTML> tag as thus:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>...

But of course new pages should be HTML 4.01 strict, but your markup as
is will be a big problem without correction.

Stuff like this. your actual markup:

</font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font><p>
<font face="verdana" size="-1"><font color="red" size="1"><font
color="black" size="-2"><font face="arial" size="-2"><font color="red"
size="1"><font color="black" size="-2"><font color="red" size="1"><font
color="black" size="-2"><font color="red" size="1"><font color="black"
size="-2"><font color="red" size="1"><font color="black" size="-2"><font
color="red" size="1"><font color="#808080" face="verdana"
size="-2"><font size="2"><font color="#000000" face="verdana"
size="-1"><br><br><br>
</font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></p></form></body></html>

What WYSIWYG editor did you use? That markup is a tell tail sign that
you did. Dump the font element as use a stylesheet so this is unnecessary

<hr align="left" color="#ff0000" width="70%">

You could style your HR in a stylesheet with:

HR { border: 1px solid #ff0000; #ff0000; width: 70%; margin-left: 0; }

Then all you need is

<hr>

in your markup....

All the FONT junk isn't required all you need if you want your page in
sans-serif font is in your stylesheet

BODY {
font-family: Arial, Helvetica, Tahoma, Geneva, Gothic, sans-serif;
font-size: 100%;
}

If you need to specify required fields then a class would do, say:

..required { color: #ff0000; }

and in your markup:

<label for="name">Your Name:<span class="required">*</span></label>

Good luck you have your work cutout for you.



--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация