4WebHelp
 FAQ  •  Search  •  User Groups  •  Forum Admins  •  Smilies List  •  Statistics  •  Rules   •  Login   •  Register
Toggle Navigation Menu
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.

 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 (12 years, 1 month 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 (12 years, 1 month 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 (12 years, 1 month 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 (12 years, 1 month 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 (12 years, 1 month 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 (11 years, 8 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
Location: London, UK

PostPosted: Wed Nov 13, 2002 6:15 pm (11 years, 8 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 MessageVisit Poster's Website
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.

PoignantEase
Web design, coding, script installation, phpBB customisation - From a 4WebHelp team member



Page generation time: 0.050797 seconds :: 18 queries executed :: All Times are GMT
Powered by phpBB 2.0 © 2001, 2002 phpBB Group :: Based on an FI Theme