Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: path


Message #1 by "Pappas Nikos" <pappas@c...> on Thu, 14 Dec 2000 06:22:21 -0800
Hi all

I want to give a path for a picture using it as background in a table.

It looks like I can't use src="..." and got to use the "file:/// etc.

The Front Page Express sets the HTML code using my PC's path like:

------------------

<table border="0" width="573" height="7"

background="file:///C:/Inetpub/wwwroot/MyPage/Pictures/back.gif"

cellspacing="0" cellpadding="0">

------------------

Any suggestions on how can I use the Server.Mappath method with this one?

or should I use something else?



Thank you for your time and the help you provide



Best Regards

Nikos Pappas





---

MaximumASP offers enhanced hosting solutions on the Windows 2000 platform. Dedicated processor, RAM, and server resources provide
dedicated server performance at virtual server prices. Commercial components provided; custom components allowed.

---

You are currently subscribed to asp_web_howto as: $subst('Recip.EmailAddr')

To unsubscribe send a blank email to leave-asp_web_howto-$subst('Recip.MemberIDChar')@p2p.wrox.com

Message #2 by "Wit B." <B.Wit@g...> on Thu, 14 Dec 2000 11:57:03 +0100
Try using another editor... Frontpage is not the right tool for developing

webpages...



Bas



-----Oorspronkelijk bericht-----

Van: Pappas Nikos [mailto:pappas@c...]

Verzonden: donderdag 14 december 2000 20:06

Aan: ASP Web HowTo

Onderwerp: [asp_web_howto] path





Hi all

I want to give a path for a picture using it as background in a table.

It looks like I can't use src="..." and got to use the "file:/// etc.

The Front Page Express sets the HTML code using my PC's path like:

------------------

<table border="0" width="573" height="7"

background="file:///C:/Inetpub/wwwroot/MyPage/Pictures/back.gif"

cellspacing="0" cellpadding="0">

------------------

Any suggestions on how can I use the Server.Mappath method with this one?

or should I use something else?



Thank you for your time and the help you provide



Best Regards

Nikos Pappas





---

MaximumASP offers enhanced hosting solutions on the Windows 2000 platform. Dedicated processor, RAM, and server resources provide
dedicated server performance at virtual server prices. Commercial components provided; custom components allowed.

---

You are currently subscribed to asp_web_howto as: $subst('Recip.EmailAddr')

To unsubscribe send a blank email to leave-asp_web_howto-$subst('Recip.MemberIDChar')@p2p.wrox.com

Message #3 by Gregory_Griffiths@c... on Thu, 14 Dec 2000 11:05:06 +0000
why not use a local path such as 



<table background="..\graphics\backgrounds\back.gif">



assuming that all your backgrounds are in the same place, you can 

replicate this, just substitute the filename each time.



> -----Original Message-----

> From: pappas@c... [mailto:pappas@c...]

> Sent: 14 December 2000 19:06

> To: asp_web_howto@p...

> Cc: pappas@c...

> Subject: [asp_web_howto] path

> 

> 

> Hi all

> I want to give a path for a picture using it as background in a table.

> It looks like I can't use src="..." and got to use the "file:/// etc.

> The Front Page Express sets the HTML code using my PC's path like:

> ------------------

> <table border="0" width="573" height="7"

> background="file:///C:/Inetpub/wwwroot/MyPage/Pictures/back.gif"

> cellspacing="0" cellpadding="0">

> ------------------

> Any suggestions on how can I use the Server.Mappath method 

> with this one?

> or should I use something else?

> 

> Thank you for your time and the help you provide

> 

> Best Regards

> Nikos Pappas

> 

> 







---

MaximumASP offers enhanced hosting solutions on the Windows 2000 platform. Dedicated processor, RAM, and server resources provide
dedicated server performance at virtual server prices. Commercial components provided; custom components allowed.

---

You are currently subscribed to asp_web_howto as: $subst('Recip.EmailAddr')

To unsubscribe send a blank email to leave-asp_web_howto-$subst('Recip.MemberIDChar')@p2p.wrox.com

Message #4 by "Pappas Nikos" <pappas@c...> on Thu, 14 Dec 2000 15:29:51 -0800
Hi there

I don't know why it didn't work in the first place but it's ok

simple as that

background="backgrounds\back.gif"

Thanks for the help anyway

What is important is that people here really care about people they don't 

really now.

Thanks again

Cheers

Nikos



---

MaximumASP offers enhanced hosting solutions on the Windows 2000 platform. Dedicated processor, RAM, and server resources provide
dedicated server performance at virtual server prices. Commercial components provided; custom components allowed.

---

You are currently subscribed to asp_web_howto as: $subst('Recip.EmailAddr')

To unsubscribe send a blank email to leave-asp_web_howto-$subst('Recip.MemberIDChar')@p2p.wrox.com

Message #5 by Roger Balliger <Roger@i...> on Thu, 14 Dec 2000 08:17:04 -0800
I would recommend first trying to just display the graphic on the page as an

image, such as <img src="...">.  Then if that works, just copy the exact

path to your table tag: <table background="...">



Roger



-----Original Message-----

From: Pappas Nikos [mailto:pappas@c...]

Sent: Thursday, December 14, 2000 11:06 AM

To: ASP Web HowTo

Subject: [asp_web_howto] path





Hi all

I want to give a path for a picture using it as background in a table.

It looks like I can't use src="..." and got to use the "file:/// etc.

The Front Page Express sets the HTML code using my PC's path like:

------------------

<table border="0" width="573" height="7"

background="file:///C:/Inetpub/wwwroot/MyPage/Pictures/back.gif"

cellspacing="0" cellpadding="0">

------------------

Any suggestions on how can I use the Server.Mappath method with this one?

or should I use something else?



Thank you for your time and the help you provide



Best Regards

Nikos Pappas







---

MaximumASP offers enhanced hosting solutions on the Windows 2000 platform. Dedicated processor, RAM, and server resources provide
dedicated server performance at virtual server prices. Commercial components provided; custom components allowed.

---

You are currently subscribed to asp_web_howto as: $subst('Recip.EmailAddr')

To unsubscribe send a blank email to leave-asp_web_howto-$subst('Recip.MemberIDChar')@p2p.wrox.com


  Return to Index