943,394 Members | Top Members by Rank

Ad:
Dec 9th, 2004
0

Problems with html code

Expand Post »
Hi all,

I'm offering a special to my clients & in order to do so, I have to send them the shopping cart link in notepad.

B/c it looked so lame, I started trying to jazz it up a bit, so I added a logo & made the heading a purple colour from my CSS from my web site. When I went to look at the final version, the logo & purple are missing yet the text has changed.

I tried uploading it onto my server, but I didn't think that was going to solve the problem & it didn't b/c the file is coming from the HD, not the server.

What have I done wrong?

Here is the code, thanks & have a great night !


Michelle

<table width="998" border="1" align="center" cellpadding="1">
<tr>
<td width="982"><p align="center">&nbsp;</p>
<p align="center"><img src="logo/logo%20(4.09).gif" width="194" height="91"></p>
<p>&nbsp;</p>
<p align="center" class="purplesectionheadings">Your Holiday Special from Exotic Publishing </p>
<hr>
</p>
<table width="986" border="0" align="center" cellpadding="6" cellspacing="6">
<tr>
<td width="900"><p class="style4">While everyone is spending tons of money on gifts for the holidays, here is your chance to save with Exotic Publishing.</p>
<p class="style4"> Just click on the link below to purchase your &quot;How to Become an Escort&quot; e-book and save your 15% for a Limited Time Offer.</p>
<p class="style4">&nbsp;</p>
<p align="center" class="style4"> <a href="http://www.ewebcart.com/cgi-bin/cart.pl?merchant=3107&add=1&item_id=20">Add to Cart</a></p>
<p class="style4">&nbsp; </p>
<p class="style4">From all of us at Exotic Publishing, we wish you a Happy & Healthy Holiday Season. </p>
<p class="style4">&nbsp;</p>
<p class="style4">Michelle<br>
Exotic Publishing</p>
<p align="center"><span class="style5"></span></p></td>
</tr>
</table>
<p></p></td>
</tr>
</table>
<table width="970" border="1" align="center" cellpadding="1">
<p class="style4">&nbsp;</p>
<p class="style4">&nbsp;</p>
<p>&nbsp; </p>
Similar Threads
Reputation Points: 46
Solved Threads: 0
Posting Pro in Training
ep2002 is offline Offline
462 posts
since May 2004
Dec 9th, 2004
0

Re: Problems with html code

is there a file called "logo 20(4.09).gif" in a logo subdirectory?
e.g.has the stuff in brackets been added as an extra and screwed up the link?

Also where do you link to your website style sheet?

Also would table-less design be easier? e.g.
<div style="text-align: center;">
<img src="logo/logo%20(4.09).gif" style="margin: 1em auto;" width="194" height="91">
<h1 style="color: purple; /*insert hex color */">Your Holiday Special from Exotic Publishing </h1>
<p>While everyone is spending tons of money on gifts for the holidays, here is your chance to save with Exotic Publishing.</p>
<p> Just click on the link below to purchase your &quot;How to Become an Escort&quot; e-book and save your 15% for a Limited Time Offer.</p>
<p style="margin: 1em 0;"> <a href="http://www.ewebcart.com/cgi-bin/cart.pl?merchant=3107&add=1&item_id=20">Add to Cart</a></p>
<p>From all of us at Exotic Publishing, we wish you a Happy & Healthy Holiday Season. </p>
<p style="margin: 1em 0;">Michelle<br>
Exotic Publishing</p>
</div>
Reputation Points: 54
Solved Threads: 20
Master Poster
DaveSW is offline Offline
765 posts
since Jul 2004
Dec 9th, 2004
0

Re: Problems with html code

actually this might look better
<div style="text-align: center;">
<div style="margin: 0 auto; width: 300px;">
<img src="logo/logo%20(4.09).gif" style="margin: 1em auto;" width="194" height="91">
<h1 style="color: purple; /*insert hex color */">Your Holiday Special from Exotic Publishing </h1>
<p>While everyone is spending tons of money on gifts for the holidays, here is your chance to save with Exotic Publishing.</p>
<p> Just click on the link below to purchase your &quot;How to Become an Escort&quot; e-book and save your 15% for a Limited Time Offer.</p>
<p style="margin: 1em 0;"> <a href="http://www.ewebcart.com/cgi-bin/cart.pl?merchant=3107&add=1&item_id=20">Add to Cart</a></p>
<p>From all of us at Exotic Publishing, we wish you a Happy & Healthy Holiday Season. </p>
<p style="margin: 1em 0;">Michelle<br>
Exotic Publishing</p>
</div>
</div>
Reputation Points: 54
Solved Threads: 20
Master Poster
DaveSW is offline Offline
765 posts
since Jul 2004
Dec 9th, 2004
0

Re: Problems with html code

Wow, I finally got in. Dani's was down for a while. What happened?

The logo name has been changed, b/c as someone pointed out, it had spaces in it.

This is NOT NOT NOT a web page. I stated that in my first post. It's a notepad that I'm going to be attaching to an e-mail to send to my customers.

I took away the CSS b/c/ there's no way for the file to find the CSS since it's not a live site & I'm still having problems getting the logo to show up.

I think I have to make it like this... http://www.mysite.com/logo/logoname.gif

but I don't know what code to put around it so it shows up.

Any advice?

Thanks


Michelle
Reputation Points: 46
Solved Threads: 0
Posting Pro in Training
ep2002 is offline Offline
462 posts
since May 2004
Dec 10th, 2004
0

Re: Problems with html code

I would use
<img src="http://www.mysite.com/logo/logoname.gif" style="margin: 1em auto;" width="194" height="91">
Reputation Points: 54
Solved Threads: 20
Master Poster
DaveSW is offline Offline
765 posts
since Jul 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in HTML and CSS Forum Timeline: Do #include files get cached?
Next Thread in HTML and CSS Forum Timeline: Starting a program





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC