Problems with html code
Please support our HTML and CSS advertiser: Programming Forums
![]() |
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"> </p>
<p align="center"><img src="logo/logo%20(4.09).gif" width="194" height="91"></p>
<p> </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 "How to Become an Escort" e-book and save your 15% for a Limited Time Offer.</p>
<p class="style4"> </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"> </p>
<p class="style4">From all of us at Exotic Publishing, we wish you a Happy & Healthy Holiday Season. </p>
<p class="style4"> </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"> </p>
<p class="style4"> </p>
<p> </p>
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"> </p>
<p align="center"><img src="logo/logo%20(4.09).gif" width="194" height="91"></p>
<p> </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 "How to Become an Escort" e-book and save your 15% for a Limited Time Offer.</p>
<p class="style4"> </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"> </p>
<p class="style4">From all of us at Exotic Publishing, we wish you a Happy & Healthy Holiday Season. </p>
<p class="style4"> </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"> </p>
<p class="style4"> </p>
<p> </p>
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 "How to Become an Escort" 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>
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 "How to Become an Escort" 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>
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 "How to Become an Escort" 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>
<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 "How to Become an Escort" 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>
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
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
I would use
<img src="http://www.mysite.com/logo/logoname.gif" style="margin: 1em auto;" width="194" height="91">
<img src="http://www.mysite.com/logo/logoname.gif" style="margin: 1em auto;" width="194" height="91">
![]() |
Similar Threads
Other Threads in the HTML and CSS Forum
- hide html code on my website (HTML and CSS)
- Returning HTML code through SQL query? (PHP)
- Code line numbers - causing paste problems (DaniWeb Community Feedback)
- Encrypting HTML Code and SEO Pickup... (HTML and CSS)
- HTML/CSS DIV help needed (HTML and CSS)
- Urgent...Having problem with the following HTML code in IE7 (HTML and CSS)
- schedule html code (HTML and CSS)
- my html code isnt working please help (HTML and CSS)
Other Threads in the HTML and CSS Forum
- Previous Thread: Do #include files get cached?
- Next Thread: Starting a program
•
•
•
•
Views: 3509 | Replies: 4 | Currently Viewing: 1 (0 members and 1 guests)





Linear Mode