4WebHelp
 FAQ  •  Search  •  User Groups  •  Forum Admins  •  Smilies List  •  Statistics  •  Rules   •  Login   •  Register
Toggle Navigation Menu

 Positioning GIF images
Post New TopicReply to Topic
View Previous Topic Print this topic View Next Topic
Author Message
newtongg
Junior WebHelper
Junior WebHelper


Joined: 04 Jun 2002
Posts: 2

PostPosted: Tue Jun 04, 2002 9:28 pm (21 years, 10 months ago) Reply with QuoteBack to Top

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>";
OfflineView User's ProfileFind all posts by newtonggSend Personal Message
Darren
Team Member



Joined: 05 Feb 2002
Posts: 549
Location: London

PostPosted: Tue Jun 04, 2002 9:49 pm (21 years, 10 months ago) Reply with QuoteBack to Top

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.
OfflineView User's ProfileFind all posts by DarrenSend Personal MessageVisit Poster's Website
jayant
Team Member



Joined: 07 Jan 2002
Posts: 262
Location: New Delhi, India

PostPosted: Wed Jun 05, 2002 7:37 am (21 years, 10 months ago) Reply with QuoteBack to Top

CSS can also prove very useful apart from what Darren suggested

________________________________
Jayant Kumar
Member of the 4WebHelp Team
Nibble Guru - Computing Queries Demystified
GZip/ Page Compression Test
OfflineView User's ProfileFind all posts by jayantSend Personal MessageVisit Poster's WebsiteYahoo MessengerMSN Messenger
JointComms
WebHelper
WebHelper


Joined: 03 May 2002
Posts: 79
Location: Windsor, CANADA

PostPosted: Wed Jun 05, 2002 1:48 pm (21 years, 10 months ago) Reply with QuoteBack to Top

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
OfflineView User's ProfileFind all posts by JointCommsSend Personal MessageSend email
Darren
Team Member



Joined: 05 Feb 2002
Posts: 549
Location: London

PostPosted: Wed Jun 05, 2002 5:57 pm (21 years, 10 months ago) Reply with QuoteBack to Top

With CSS, just make sure you test in different browsers. I've seen Netscape doing ridiculus things if you're not careful.
OfflineView User's ProfileFind all posts by DarrenSend Personal MessageVisit Poster's Website
c3po
Junior WebHelper
Junior WebHelper


Joined: 08 Oct 2002
Posts: 3

PostPosted: Wed Nov 13, 2002 6:06 pm (21 years, 5 months ago) Reply with QuoteBack to Top

hi there,

why dont you use <div> to position the images on your webpage ??
sorry if i dont get your point......

cheers
OfflineView User's ProfileFind all posts by c3poSend Personal Message
Daniel
Team Member



Joined: 06 Jan 2002
Posts: 2564

PostPosted: Wed Nov 13, 2002 6:15 pm (21 years, 5 months ago) Reply with QuoteBack to Top

Well that's what was suggested. To use DIVs you have to use CSS Smile

________________________________
Image
OfflineView User's ProfileFind all posts by DanielSend Personal Message
Display posts from previous:      
Post New TopicReply to Topic
View Previous Topic Print this topic View Next Topic


 Jump to:   




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.120384 seconds :: 18 queries executed :: All Times are GMT
Powered by phpBB 2.0 © 2001, 2002 phpBB Group :: Based on an FI Theme