RSS Forums RSS

Problems with html code

Please support our HTML and CSS advertiser: Programming Forums
Reply
Posts: 393
Reputation: ep2002 is an unknown quantity at this point 
Solved Threads: 0
ep2002's Avatar
ep2002 ep2002 is offline Offline
Posting Whiz

Problems with html code

  #1  
Dec 9th, 2004
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>
AddThis Social Bookmark Button
Reply With Quote  
Posts: 735
Reputation: DaveSW is on a distinguished road 
Solved Threads: 17
DaveSW's Avatar
DaveSW DaveSW is offline Offline
Master Poster

Re: Problems with html code

  #2  
Dec 9th, 2004
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>
Reply With Quote  
Posts: 735
Reputation: DaveSW is on a distinguished road 
Solved Threads: 17
DaveSW's Avatar
DaveSW DaveSW is offline Offline
Master Poster

Re: Problems with html code

  #3  
Dec 9th, 2004
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>
Reply With Quote  
Posts: 393
Reputation: ep2002 is an unknown quantity at this point 
Solved Threads: 0
ep2002's Avatar
ep2002 ep2002 is offline Offline
Posting Whiz

Re: Problems with html code

  #4  
Dec 9th, 2004
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
Reply With Quote  
Posts: 735
Reputation: DaveSW is on a distinguished road 
Solved Threads: 17
DaveSW's Avatar
DaveSW DaveSW is offline Offline
Master Poster

Re: Problems with html code

  #5  
Dec 10th, 2004
I would use
<img src="http://www.mysite.com/logo/logoname.gif" style="margin: 1em auto;" width="194" height="91">
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.



Similar Threads
Other Threads in the HTML and CSS Forum
Views: 3509 | Replies: 4 | Currently Viewing: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 2:09 pm.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC