help with text size

windows

Guest
I am using this html to program my text:<br />
<br />
<font face="Arial, Helvetica, sans-serif font color="" font size=""><br />
<br />
The problem is, that font size 1 is too small and font size 2 is too large- is there a way to get an in between?<br />
<br />
Thanks.<!--content-->Yep.. use CSS instead of <font>.<br />
<br />
CSS fonts (<!-- m --><a class="postlink" href="http://www.htmlhelp.com/reference/css/font/font-size.html">http://www.htmlhelp.com/reference/css/f ... -size.html</a><!-- m -->)<!--content-->yes, font is now deprecated for css styles, don't worry it's quite easy and will solve your problem, here's how you would do it<br />
<br />
<br />
<span style="font-family: arial;font-size: 14px; color: #000000;">you text </span> <br />
<br />
that way you have more control over the size<br />
<br />
if you had a lot of different text on your page it would be easier to have a style sheet in which you would write all the css and just call it in with 'class' <br />
<br />
<span class="somename">your text</span><br />
<br />
here (<!-- m --><a class="postlink" href="http://www.w3schools.com/css/default.asp">http://www.w3schools.com/css/default.asp</a><!-- m -->) you can learn the basics of css :)<!--content-->When you have written your CSS get it checked out for typos, and other problems, by feeding the site through the checker at:<br />
<!-- m --><a class="postlink" href="http://jigsaw.w3.org/css-validator/validator-uri.html">http://jigsaw.w3.org/css-validator/validator-uri.html</a><!-- m --><br />
<br />
It is easy to make a mistake in the code that could cause wierd results on some browsers. The above site will help you avoid that.<!--content-->Thank you, I will try that!!! <br />
<br />
webmaster<br />
<!-- m --><a class="postlink" href="http://www.seejanedrive.com">http://www.seejanedrive.com</a><!-- m --><!--content--><font size=""> still works! i use it all the time.<br />
your problem: you have <font font size=""><br />
<br />
<br />
<font face="Arial, Helvetica, sans-serif font color="" font size=""> <br />
<br />
it needs to look like this:<br />
<br />
<font face="arial" color="blue" size="+4"><br />
<br />
like that. FONT is the TAG, SIZE is a tag attribute<!--content-->Originally posted by morrowasted <br />
<font size=""> still works! i use it all the time.<br />
<br />
<br />
Sure it still works, but it should no longer be used.<br />
It's better to use CSS for many reasons.<!--content-->ah, and i always thought deprecated meant that it no longer worked. ok. well thanx!<!--content-->codehelp.co.uk: deprecated tags (<!-- m --><a class="postlink" href="http://www.codehelp.co.uk/html/deprecated.html">http://www.codehelp.co.uk/html/deprecated.html</a><!-- m -->) <br />
<br />
Their definition: <br />
Older HTML tags and attributes that have been superseded by other more functional or flexible alternatives (whether as HTML or as CSS) are declared as deprecated in HTML4 by the W3C - the consortium that sets the HTML standards. Browsers should continue to support deprecated tags, but eventually these tags are likely to become obsolete and so future support cannot be guaranteed.<!--content-->ah, ok. so eventually the FONT tag will not work at all? its like a gradual decline... soon HTML itself will be obsolete lol...<!--content-->yeah.. morrowvasted.. a bit like the dinosaurs, right ?? :D<!--content-->I can't wait.<!--content--><font face="Arial, Helvetica, sans-serif font color="" font size=""><br />
<br />
Look again, you have three or four errors in that code:<br />
Count the quotes. Only five. One is missing from the end of the face attribute.<br />
The word font is duplicated. You must supply a value for color and size.<br />
<br />
<br />
<br />
Run your HTML through: <!-- m --><a class="postlink" href="http://validator.w3.org/detailed.html">http://validator.w3.org/detailed.html</a><!-- m --> to find more problems.<!--content-->I was just showing you how I write the code, the " " were suppose to indicate that normally there would be a value there, for size and color, although for color my codes are usually codes not the names of the color. Example: "0000ff" not "blue". <br />
<br />
I appreciate all the feedback. When I sat down to put up this website, I didn't know how to do ANYTHING, it's all been through trial and error so I am sure I have made tons of mistakes...<!--content-->One more question- is there a code that will make a dot, in order to highlight different subjects instead of having to start a new paragraph? On my home page, I want to use it to separate different news articles and appearances, it would take up less room. <br />
Thanks.<br />
<br />
<!-- m --><a class="postlink" href="http://www.seejanedrive.com">http://www.seejanedrive.com</a><!-- m --><!--content-->Okay, I found the code <li> but it automatically indents the first line about 5 spaces- is there an easy way to make the remainder of the paragraph line up with the first indented line?<!--content-->You have to use the <li> tag in conjunction with other tags. You will need:<br />
<br />
<ul><br />
<li> stuff </li><br />
<li> more stuff </li><br />
<li> yet more stuff </li><br />
</ul><br />
<br />
to do it properly.<br />
<br />
<br />
<br />
As it is a list, yep it gets indented.<!--content-->
 
Back
Top