How to move a pic. 3,5cm to the right?

  • Thread starter Gøril Pettersen
  • Start date
G

Gøril Pettersen

Hello!
I have a pic. that i don`t only wont to place to the right, left or in the
middle.
But, instead, it move it 3,5 cm to the right from where it is now.
What`s the secret to move a pic. (or whatever) exact to where you want to
have it?

Glad for all help!!

mvh,
Gøril
 
B

brucie

I have a pic. that i don`t only wont to place to the right, left or in the
middle. But, instead, it move it 3,5 cm to the right from where it is now.

i really hope this is for print media. there a few different way you
can do it, heres one: margin-left:3.5cm;
 
G

Gøril Pettersen

brucie said:
now.

i really hope this is for print media. there a few different way you
can do it, heres one: margin-left:3.5cm;

Thanx for the answer!
I`m sure you understand I`m new at this....:) - so I will ask: why do you
really hope this is for a print media?
And - If you care to give me another way to do It also, i will be thankful!


mvh,
Gøril
 
D

David Dorward

why do you really hope this is for a print media?

Becuase cm are a physical unit, and unsuited to the screen. Good units for
the screen are those relative to the size of the containing element (e.g.
%) or the font size (em/ex). There is also relative to screen units (px),
but this is generally suboptimal.
And - If you care to give me another way to do It also, i will be
thankful!

Its hard to give an answer without seeing the context.
 
G

Gøril Pettersen

why do you really hope this is for a print media?
Becuase cm are a physical unit, and unsuited to the screen. Good units for
the screen are those relative to the size of the containing element (e.g.
%) or the font size (em/ex). There is also relative to screen units (px),
but this is generally suboptimal.

OK, I see. My mistake - I`m from Norway, u see....:)
Mu pint only is how to move a pic. or something to exactly the place I want
it.

Its hard to give an answer without seeing the context.

Here`s an exampel:
Lets say I want to move this pic. 3,5 cm (or using another unit - that`s
ok!!) to the right.... how is the best, or "proper" way?

<html>

<head>
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 1</title>
</head>

<body>

<p>
<img border="0"
src="file:///C:/Documents%20and%20Settings/Gøril/My%20Documents/My%20Webs/bu
rning%20CD.jpg" width="193" height="158"></p>

</body>

</html>



mvh,
Gøril
 
B

brucie

why do you really hope this is for a print media?

centimeters are an absolute unit and are only useful when you know the
size of the media you're using them for and they don't translate well
to screen. the size is also determined by the browser you use, IE
isn't as accurate as other browsers. pixels are yummy.
And - If you care to give me another way to do It also, i will be thankful!

left:3.5cm;position:relative; or left:3.5cm;position:absolute; both
have different effects. it depends on the rest of your stuff which one
to use or if something else is needed.
 
J

Joel Shepherd

Gøril Pettersen said:
OK, I see. My mistake - I`m from Norway, u see....:)

That's okay. We all have our challenges.
Mu pint only is how to move a pic. or something to exactly the
place I want it.

You cannot put things exactly where you want them, unless you're going
to be the only person viewing your page. The Web just doesn't work
that way.

<http://www.allmyfaqs.com/cgi-bin/wiki.pl?AnySizeDesign>

(Oooh! Ooooh! Did I post it first? =)
 
B

brucie

<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
OMG

src="file:///C:/Documents%20and%20Settings/Gøril/My%20Documents/My%20Webs/bu

OMFG!

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<title>blah</title>
<style type="text/css">img{margin-left:3.5cm;}</style>
<p><img src="image.png" width="x" height="x" alt="something appropriate"></p>
 
D

David Dorward

Gøril Pettersen said:
Mu pint only is how to move a pic. or something to exactly the place I
want it.

Here`s an exampel:
Lets say I want to move this pic. 3,5 cm (or using another unit - that`s
ok!!) to the right.... how is the best, or "proper" way?

<snip useless example>

Still thinking in cm? Oh dear.

There is no "best" or "proper" way, different tools are provided because
different tools are better in different circumstances.

The point is about context. Why do you want to move it some distance that
way? Do you want it to cover something else up? Go under something? Line up
with something? Be centred? Do you want it some distance from one edge?
From multiple edges? Do you want it some distance from some other element
on the page? Do you want to leave white space in its original position?
Does it desired position have some meaning? Or is it just to improve the
look?

etc etc
 

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
473,787
Messages
2,569,631
Members
45,338
Latest member
41Pearline46

Latest Threads

Top