| Author |
Moving on .. need help
|
|
|
| Okay I am now using Notepad to do the coding..
I want to squeeze the lines together now... they have
a lot of white space between them at the moment.
Existing code is as follows:
<html>
<head>
<title>Wayne Rowe's Resume</title>
</head>
<body>
<h1><center>Wayne A. Rowe</center></h1>
<h3><center><basefont size="2">3204N 4900E<br>
<h3><center>Murtaugh, Idaho<br>
<h3><center>83344<br></center></h3>
<h4><center><basefont size="1">208-432-5531
crystlenwayne@peoplepc.com</center></h4>
</body>
</html>
| |
| The Doormouse 2004-08-16, 7:17 pm |
| "W.R" <crystlenwayne@peoplepc.com> wrote:
> I want to squeeze the lines together now... they have
> a lot of white space between them at the moment.
> Existing code is as follows:
That posted sample looks great! Do NOT attempt to place the code onto one
long line, however ....
You do NOT want this:
<html><body><more code>blah blah blah ...
Lots of white space is a good thing! It makes coding and editing easier,
plus there is no effect on the web page.
The Doormouse
--
The Doormouse cannot be reached by e-mail without her permission.
| |
| kchayka 2004-08-16, 7:17 pm |
| The Doormouse wrote:
> "W.R" <crystlenwayne@peoplepc.com> wrote:
>
>
> You do NOT want this:
> <html><body><more code>blah blah blah ...
I think the OP might be referring to the spacing on the rendered page,
not in the code. Consider what his page looks like with every line
marked up as some kind of heading like in his sample code.
The OP needs some instruction on using the most appropriate markup for
the job, but I don't think this particular newsgroup is the right place
to get that kind of assistance.
A good book or tutorial might be the best thing for him at this point
(know any?). And questions after that should go to a more appropriate
newsgroup, maybe alt.html or comp.infosystems.www.authoring.html.
--
Reply email address is a bottomless spam bucket.
Please reply to the group so everyone can share.
| |
| David Dorward 2004-08-16, 7:17 pm |
| W.R wrote:
> Okay I am now using Notepad to do the coding..
I still suggest getting a decent editor:
<http://www.allmyfaqs.com/faq.pl?HTML_editors>
> I want to squeeze the lines together now... they have
> a lot of white space between them at the moment.
Use CSS to alter the margins.
> Existing code is as follows:
>
Your Doctype is missing.
> <h1><center>Wayne A. Rowe</center></h1>
<center> is deprecated. Use CSS for this.
> <h3><center><basefont size="2">3204N 4900E<br>
<basefont> is deprecated (I think - it might not have been part of the
standard to start with), and isn't allowed outside the <head> anyway. You
are also missing your </h2>.
I'm not going to point out the rest of your syntax errors. Try
<http://validator.w3.org/>
--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
| |
|
| On Mon, 16 Aug 2004 14:47:48 GMT, W.R <crystlenwayne@peoplepc.com> wrote:
> Okay I am now using Notepad to do the coding..
>
> I want to squeeze the lines together now... they have
> a lot of white space between them at the moment.
> Existing code is as follows:
>
> <html>
> <head>
> <title>Wayne Rowe's Resume</title>
> </head>
> <body>
> <h1><center>Wayne A. Rowe</center></h1>
> <h3><center><basefont size="2">3204N 4900E<br>
> <h3><center>Murtaugh, Idaho<br>
> <h3><center>83344<br></center></h3>
> <h4><center><basefont size="1">208-432-5531
> crystlenwayne@peoplepc.com</center></h4>
> </body>
> </html>
Are these really separate headings? Many - including me - would suggest
you use an h1 to head the page, then use h2's for sections of the page,
h3's for subsections of those sections, etc., and not skip from h1 to h3
as you did. The above makes the classic error of choosing HTML markup for
its rendering rather than its meaning.
The h# markup is for separate headings, which dominate a bit more of page
space than normal text. I'd mark this up differently. Note that the name
is the heading, and what follows fleshes out the content related to the
name. View this with and without the style. It remains meaningful either
way - that's the goal of the HTML markup.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Resume</title>
<style type="text/css">
#header {text-align: center}
#header h1 {margin-bottom: 0.5em}
#header div {font-weight: bold}
</style>
</head>
<body>
<div id="header">
<h1>Name</h1>
<div>address line 1<br>address line 2<br>address line 3</div>
</div>
</body>
</html>
| |
| The Doormouse 2004-08-17, 4:15 am |
| kchayka <usenet@c-net.us> wrote:
> I think the OP might be referring to the spacing on the rendered page,
> not in the code.
Oh. Of course. *blush*
He needs to learn the "<P>" and "<BR />" tags.
The Doormouse
--
The Doormouse cannot be reached by e-mail without her permission.
| |
| The Doormouse 2004-08-19, 7:15 am |
| "W.R" <crystlenwayne@peoplepc.com> wrote:
> I want to squeeze the lines together now... they have
> a lot of white space between them at the moment.
> Existing code is as follows:
That posted sample looks great! Do NOT attempt to place the code onto one
long line, however ....
You do NOT want this:
<html><body><more code>blah blah blah ...
Lots of white space is a good thing! It makes coding and editing easier,
plus there is no effect on the web page.
The Doormouse
--
The Doormouse cannot be reached by e-mail without her permission.
| |
| kchayka 2004-08-19, 7:15 am |
| The Doormouse wrote:
> "W.R" <crystlenwayne@peoplepc.com> wrote:
>
>
> You do NOT want this:
> <html><body><more code>blah blah blah ...
I think the OP might be referring to the spacing on the rendered page,
not in the code. Consider what his page looks like with every line
marked up as some kind of heading like in his sample code.
The OP needs some instruction on using the most appropriate markup for
the job, but I don't think this particular newsgroup is the right place
to get that kind of assistance.
A good book or tutorial might be the best thing for him at this point
(know any?). And questions after that should go to a more appropriate
newsgroup, maybe alt.html or comp.infosystems.www.authoring.html.
--
Reply email address is a bottomless spam bucket.
Please reply to the group so everyone can share.
| |
| David Dorward 2004-08-19, 7:15 am |
| W.R wrote:
> Okay I am now using Notepad to do the coding..
I still suggest getting a decent editor:
<http://www.allmyfaqs.com/faq.pl?HTML_editors>
> I want to squeeze the lines together now... they have
> a lot of white space between them at the moment.
Use CSS to alter the margins.
> Existing code is as follows:
>
Your Doctype is missing.
> <h1><center>Wayne A. Rowe</center></h1>
<center> is deprecated. Use CSS for this.
> <h3><center><basefont size="2">3204N 4900E<br>
<basefont> is deprecated (I think - it might not have been part of the
standard to start with), and isn't allowed outside the <head> anyway. You
are also missing your </h2>.
I'm not going to point out the rest of your syntax errors. Try
<http://validator.w3.org/>
--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
| |
|
| On Mon, 16 Aug 2004 14:47:48 GMT, W.R <crystlenwayne@peoplepc.com> wrote:
> Okay I am now using Notepad to do the coding..
>
> I want to squeeze the lines together now... they have
> a lot of white space between them at the moment.
> Existing code is as follows:
>
> <html>
> <head>
> <title>Wayne Rowe's Resume</title>
> </head>
> <body>
> <h1><center>Wayne A. Rowe</center></h1>
> <h3><center><basefont size="2">3204N 4900E<br>
> <h3><center>Murtaugh, Idaho<br>
> <h3><center>83344<br></center></h3>
> <h4><center><basefont size="1">208-432-5531
> crystlenwayne@peoplepc.com</center></h4>
> </body>
> </html>
Are these really separate headings? Many - including me - would suggest
you use an h1 to head the page, then use h2's for sections of the page,
h3's for subsections of those sections, etc., and not skip from h1 to h3
as you did. The above makes the classic error of choosing HTML markup for
its rendering rather than its meaning.
The h# markup is for separate headings, which dominate a bit more of page
space than normal text. I'd mark this up differently. Note that the name
is the heading, and what follows fleshes out the content related to the
name. View this with and without the style. It remains meaningful either
way - that's the goal of the HTML markup.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Resume</title>
<style type="text/css">
#header {text-align: center}
#header h1 {margin-bottom: 0.5em}
#header div {font-weight: bold}
</style>
</head>
<body>
<div id="header">
<h1>Name</h1>
<div>address line 1<br>address line 2<br>address line 3</div>
</div>
</body>
</html>
|
|
|
|
| Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |