Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

HTML Question

 
   Web Hosting and Web Master Forums (Home) -> Webmaster RSS
Next:  Best of Show - Internet World Conference  
Author Message
alan

External


Since: Jul 01, 2003
Posts: 56



(Msg. 1) Posted: Fri Feb 20, 2004 4:57 pm
Post subject: HTML Question
Archived from groups: alt>www>webmaster (more info?)

I want to distribute a set of example pages with Phorm. They have a
substantial amount of images - not a lot for a web site, but more than I
want to include in the distro - and also a number of sound files. My
intention is to have the graphics and sound files on my server, and just
distribute the pages. I know I can avoid having to put fully-qualified URLs
in the SRC and HREF attributes by using the BASE tag, but this also affects
the <A> tags for the inter-page links. Is there a way to specify that some
references should be relative and some absolute, without having to fully
qualify the absolute references?

--
Alan Little
Phorm PHP Form Processor
http://www.phorm.com/

 >> Stay informed about: HTML Question 
Back to top
Login to vote
sp_bhuisman

External


Since: Jun 27, 2003
Posts: 571



(Msg. 2) Posted: Fri Feb 20, 2004 6:14 pm
Post subject: Re: HTML Question [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Fri, 20 Feb 2004 13:57:11 -0600, Alan Little
<alan RemoveThis @n-o-s-p-a-m-phorm.com> wrote:

 > I want to distribute a set of example pages with Phorm. They have a
 > substantial amount of images - not a lot for a web site, but more than I
 > want to include in the distro - and also a number of sound files. My
 > intention is to have the graphics and sound files on my server, and just
 > distribute the pages. I know I can avoid having to put fully-qualified
 > URLs
 > in the SRC and HREF attributes by using the BASE tag, but this also
 > affects
 > the <A> tags for the inter-page links. Is there a way to specify that
 > some
 > references should be relative and some absolute, without having to fully
 > qualify the absolute references?

Not without hacks that'll make it work only under certain conditions.

As an alternative, you could pass it through a PHP script that adds
"http://www.yourdomain.com/" to the src attribute of all <img> tags before
sending the file on it's way.

Regular Expressions to do that sort of thing are easy.

Grey

--
The technical axiom that nothing is impossible sinisterly implies the
pitfall corollory that nothing is ridiculous.
- <a style='text-decoration: underline;' href="http://www.greywyvern.com" target="_blank">http://www.greywyvern.com</a> - Orca RingMaker: PHP web ring creation and
management<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: HTML Question 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
HTML question, stupid one :) - Hi, I have no experience with HTML, and I encountered a problem that I think is trivial for you all ;) Ho to display image (using <IMG...etc.>) at the very beginning of the screen, with no margin whatsoever ? Please give me a hint. Best Regards P...

CSS in html e-mail - Is there a good support for css in html e-mails, or is it better to use depreciated html tags? I plan to include a plain text version using the multipart feature: http://www.wilsonweb.com/wmt5/html-email-multi.htm I know some of you follow the..

dynamic html - hi, i have a website with several webpages. there are no frames at all in the website, but each webpage has the same code to create a menu at the side of the page. i was wondering how i could somehow have the menu code in a separate file and then get..

SSI and HTML or PHP and include? - My question is this, what do you think is better for a web page. SSI with an html page or include with a php page. ************************************* Webmaster Toolz Start - Enhance - Promote - Make Money http://webmastertoolz.fairmount.nu..

flash v HTML - hi y'all anyone read the recent 'discussion' about Flash v HTML in the .Net magazine. Flash won out (rightly, I think), but what do others think? --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com)...
   Web Hosting and Web Master Forums (Home) -> Webmaster All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can 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



[ Contact us | Terms of Service/Privacy Policy ]