Images

N

nerdy

I'm new here so here goes. Just started playing arund with html and I
wonder if there is a correct way. Or does anything go. Ill tell you what I
mean. I want to break a htm page with bars. Now I know the standard "rule"
to break up a page in html. When using an image of a bar that I downloaded
from the net, is it correct, or the done thing to use, for instance,
numbers that you would use to set the size of a picture image ? I hope this
makes sense. I'm still trying to get a handle on the jargon.
 
N

nerdy

nerdy said:
I'm new here so here goes. Just started playing arund with html and I
wonder if there is a correct way. Or does anything go. Ill tell you what I
mean. I want to break a htm page with bars. Now I know the standard "rule"
to break up a page in html. When using an image of a bar that I downloaded
from the net, is it correct, or the done thing to use, for instance,
numbers that you would use to set the size of a picture image ? I hope this
makes sense. I'm still trying to get a handle on the jargon.
Oh, and also, are there any other "rules" that can be used to break the page
up. Or is using images of rules the "correct" way to do it.
 
W

William Tasso

nerdy said:
I'm new here so here goes.

Then pull up a chair, sit down and crack open a cold one. While you're
chillin', take a look at previous posts, perhaps dig even further back at
http://groups.google.com
Just started playing arund with html and I
wonder if there is a correct way.

Indeed there is: The specs are here: http://w3.org/
Or does anything go.

No - you can't just make stuff up and expect it to work.
Ill tell you
what I mean. I want to break a htm page with bars.

Sounds like visual styling, perhaps you should take a look at CSS here:
http://www.w3.org/Style/CSS/

Unfortunately, the crystal ball is at the cleaners so I'm gonna have to
guess unless you can supply a url that shows what you mean.
Now I know the
standard "rule" to break up a page in html.

I don't.
When using an image of a
bar that I downloaded from the net, is it correct, or the done thing
to use, for instance, numbers that you would use to set the size of a
picture image ?

For an image? you mean width and height? It doesn't matter, some folk say
you should always specify them (it helps stop some browsers 'jumping about'
when loading the page), others say don't waste your time (you have to
remember to keep your markup in tune with your graphic).

Just a thought - is this a background image? take a google at "CSS
background".
I hope this makes sense.

almost - as I said, the crystal ball facility is not currently available.
I'm still trying to get a handle on the jargon.

The 'jargon' is in the specs.

Once again - a URL speaks a thousand words.

In any event, good luck.
 
A

Adrienne

Oh, and also, are there any other "rules" that can be used to break the
page up. Or is using images of rules the "correct" way to do it.

My crystal ball says you're looking to break up the page with some sort of
horizontal rule, whether it be using the HR element, or a long, thin image.

Without images:
<p>The quick brown fox jumped over the lazy dog's back 01234567890 times.
</p>
<hr>
<p>The quick brown fox jumped over the lazy dog's back 01234567890 times.
</p>

With an image. Yes, you should include the actual width and height of the
image.

<p>The quick brown fox jumped over the lazy dog's back 01234567890 times.
</p>
<img src="bar.jpg" height="25" width="400" alt="">
<p>The quick brown fox jumped over the lazy dog's back 01234567890 times.
</p>
 
N

nerdy

Adrienne said:
My crystal ball says you're looking to break up the page with some sort of
horizontal rule, whether it be using the HR element, or a long, thin image.

Without images:
<p>The quick brown fox jumped over the lazy dog's back 01234567890 times.
</p>
<hr>
<p>The quick brown fox jumped over the lazy dog's back 01234567890 times.
</p>

With an image. Yes, you should include the actual width and height of the
image.

<p>The quick brown fox jumped over the lazy dog's back 01234567890 times.
</p>
<img src="bar.jpg" height="25" width="400" alt="">
<p>The quick brown fox jumped over the lazy dog's back 01234567890 times.
</p>

thank you Adrienne. Very helpful. I just wanted to check if had dont it
right. After all, as with most things theres a right way and a wrong way.
I was just checkin.
 
N

nerdy

nerdy said:
thank you Adrienne. Very helpful. I just wanted to check if had dont it
right. After all, as with most things theres a right way and a wrong way.
I was just checkin.

Um, by the way, I never said I was a tipist.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,083
Messages
2,570,591
Members
47,212
Latest member
RobynWiley

Latest Threads

Top