Positioning images?

This is a discussion on "Positioning images?" within the Web Page Design section. This forum, and the thread "Positioning images? are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Oct 14th, 2006, 20:29
New Member
Join Date: Sep 2006
Location: South Wales
Age: 26
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Question Positioning images?

I've made a website design (group of images), and I want to specify where they appear on my screen.

I've got the html code to centre these images, yet I want to alter this code so that I have more control over the horizontal/vertical position (ie. move images up or down slightly):

<div align="center">
<p>&nbsp;</p>
<p>&nbsp;</p>

Does anyone know I do this? I'm a newbie when it comes to writing code
Reply With Quote

  #2 (permalink)  
Old Oct 14th, 2006, 20:37
SuperMember

SuperMember
Join Date: Aug 2003
Location: Castle Rock, CO
Age: 36
Posts: 164
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Positioning images?

It really depends - you could use absolute positioning but that might get you into some issues with some browsers and resolutions. It might be helpful if you gave us more source code and where you want the images.
Reply With Quote
  #3 (permalink)  
Old Oct 14th, 2006, 23:33
Ryan Fait's Avatar
SuperMember

SuperMember
Join Date: May 2006
Location: Las Vegas
Posts: 3,786
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Positioning images?

CSS is your man. You can use either the position or the margin properties. It's a good idea to link CSS via external files, but since you're a beginner, we'll start out the easy way:

Code: Select all
<img src="1.jpg" style="margin: -10px 0 0 -10px;" />
<img src="2.jpg" style="margin: 10px;">
<img src="3.jpg" style="margin: -10px 0 0;" />

<img src="1.jpg" style="position: relative; top: -10px; left: -10px;" />
<img src="3.jpg" style="position: relative; top: -10px;" />
Your looking for something like that, right?
Reply With Quote
  #4 (permalink)  
Old Oct 15th, 2006, 11:12
New Member
Join Date: Sep 2006
Location: South Wales
Age: 26
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Positioning images?

Yeh thats what I'm looking for.

Thanks a lot.


Reply With Quote
Reply

Tags
code, html, positioning

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
multiple rollover images change multiple images joshlindem Web Page Design 4 Apr 18th, 2008 09:11
Positioning Text, Links and Images DregondRahl Web Page Design 4 Jun 7th, 2007 11:34
Positioning images rubyfruit Web Page Design 25 Mar 31st, 2007 14:37
Positioning images next to input box AdRock Web Page Design 2 Jul 27th, 2006 12:19
Positioning images when used in lists wheatus Web Page Design 6 Aug 17th, 2004 15:53


All times are GMT. The time now is 10:25.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43