|
|
Please consider registering: registration is fast, easy and free! Benefits of registration:
- Free advertising for your website: Every post in our forums goes towards a "credit" of ads, which are displayed on most pages of our forums. Each post gives you 400 ad impressions. To submit your ad, edit your profile.
- Discount at TemplateMonster: All our members enjoy a 10% discount at TemplateMonster.com!
|
- Private Messages: Exchange private messages with other members of the forums.
- Message Tracking/Subscription: phpBB enables you to subscribe to threads which interest you, and will then email you when a reply is posted. phpBB also remembers which posts registered users have read during a session, which means you can keep track of which posts you have already looked at.
|
|
| Author |
Message |
newtongg
Junior WebHelper

Joined: 04 Jun 2002
Posts: 2
|
Posted:
Tue Jun 04, 2002 9:28 pm (11 years ago) |
  |
Hi
I am trying to position a gif image at a specific location on the screen. the only way I have found to do this is like the example below. (basically using line spaces)
Please does anyone know if their is a command or example to do this. I am aware of left,right and centre but I need to be more precise.
Any suggestion would be welcome
Thanks Ged.
print " ";
print "<img src=\"f:/images/". $car_colour . "_w.gif\"><br>"; |
|
|
    |
 |
Darren
Team Member


Joined: 05 Feb 2002
Posts: 610
Location: London
|
Posted:
Tue Jun 04, 2002 9:49 pm (11 years ago) |
  |
This is more of an HTML issue, as PHP can output any HTML you want.
Probably the most popular way for positioning things on a page is to use tables.
You can also use layers, but they are less widespread, possibly due to browser compatibilty issues. |
|
|
     |
 |
jayant
Team Member


Joined: 07 Jan 2002
Posts: 199
Location: New Delhi, India
|
Posted:
Wed Jun 05, 2002 7:37 am (11 years ago) |
  |
|
       |
 |
JointComms
WebHelper


Joined: 03 May 2002
Posts: 96
Location: Windsor, CANADA
|
Posted:
Wed Jun 05, 2002 1:48 pm (11 years ago) |
  |
I too think that most propably css would be that way to go especially given the fact that the browser window will not always be the same. Some will be maximised others not and the resolution users will be using.
So relative positioning thru CSS is, I think the way to go. Some tuts at www.westciv.com |
|
|
     |
 |
Darren
Team Member


Joined: 05 Feb 2002
Posts: 610
Location: London
|
Posted:
Wed Jun 05, 2002 5:57 pm (11 years ago) |
  |
With CSS, just make sure you test in different browsers. I've seen Netscape doing ridiculus things if you're not careful. |
|
|
     |
 |
c3po
Junior WebHelper

Joined: 08 Oct 2002
Posts: 3
|
Posted:
Wed Nov 13, 2002 6:06 pm (10 years, 7 months ago) |
  |
hi there,
why dont you use <div> to position the images on your webpage ??
sorry if i dont get your point......
cheers |
|
|
    |
 |
Daniel
Team Member


Joined: 06 Jan 2002
Posts: 2192
Location: London, UK
|
Posted:
Wed Nov 13, 2002 6:15 pm (10 years, 7 months ago) |
  |
Well that's what was suggested. To use DIVs you have to use CSS  |
________________________________
 |
|
     |
 |
|
|
|
You cannot post new topics in this forum. You cannot reply to topics in this forum. You cannot edit your posts in this forum. You cannot delete your posts in this forum. You cannot vote in polls in this forum.
|
Page generation time: 0.407842 seconds :: 17 queries executed :: All Times are GMT
Powered by phpBB 2.0
© 2001, 2002 phpBB Group :: Based on an FI Theme
| |