|
Author |
Message |
newtongg
Junior WebHelper
Joined: 04 Jun 2002
Posts: 2
|
Posted:
Tue Jun 04, 2002 9:28 pm (21 years, 10 months 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: 549
Location: London
|
Posted:
Tue Jun 04, 2002 9:49 pm (21 years, 10 months 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: 262
Location: New Delhi, India
|
Posted:
Wed Jun 05, 2002 7:37 am (21 years, 10 months ago) |
|
|
|
|
JointComms
WebHelper
Joined: 03 May 2002
Posts: 79
Location: Windsor, CANADA
|
Posted:
Wed Jun 05, 2002 1:48 pm (21 years, 10 months 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: 549
Location: London
|
Posted:
Wed Jun 05, 2002 5:57 pm (21 years, 10 months 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 (21 years, 5 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: 2564
|
Posted:
Wed Nov 13, 2002 6:15 pm (21 years, 5 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.120811 seconds :: 19 queries executed :: All Times are GMT
Powered by phpBB 2.0
© 2001, 2002 phpBB Group :: Based on an FI Theme
| |