Advice Articles

  • Beginners
    Just getting started? Loads of powerful advice here for beginners.
  • Intermediate
    Got a handle on the basics? Find more advanced topics covered here.
  • Advanced
    Warning! Advanced topics covered here.
  • Affiliate resources
    Affiliate marketing resources for affiliates and affiliate program managers tools, websites, books and articles.
  • Product reviews
    Candid reviews of the latest products to take you to the next level.


 

Affiliate Marketing Forum

FAQFAQ  SearchSearch  MemberlistMemberlist  UsergroupsUsergroups   RegisterRegister ProfileProfile  Log in to check your private messagesPrivate Messages Log inLog in  
Help Philip, code still not working!

Affiliate Marketing Forum Index -> Do-It-Your-Selfers
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Pattibeth



Joined: 26 May 2004
Posts: 32

PostPosted: Wed Jan 12, 2005 2:27 am    Post subject: Help Philip, code still not working! Reply with quote

Philip,

Thanks for your suggestion re: the float tag, however it still isn't working. In fact, the picture now sits on the left side of the page and nothing I do will make it display on the right. The text still does not wrap.
Can you see what I'm doing wrong?

Thanks again,
Patti


<p align="left"><b><h3>Wild West Party Crafts - </h3></b>

<font size="2" color="#000000" face="Arial">
<div><table width="20%" bgcolor="#ffffff" border="1" cellpadding="3" bordercolor="#3300cc" cellspacing="2">
<tr valign="top">
<td height="84" valign="bottom"><font size="2" color="#000000" face="Arial">
<div><a href="http://www.kidspartyparadise.makesparties.com/Catalog.aspx?intDisplayableCategoryID=1072&intDisplayableProductID=11857" target="_blank">
<img src="http://www.kids-party-paradise.com/images/westernvest.jpg" style="float: right;" width="115" height="87"><font size="1"><a href="http://www.kidspartyparadise.makesparties.com/Catalog.aspx?intDisplayableCategoryID=1072&intDisplayableProductID=11857" target="_blank" title="western vest"><br><center>Check out this cool Western vest!</a></font></div>
</font></center>
</td>
</tr>
</table>
</div>
</font></body></html>

<b>Paper Bag Cowboy Vest</b><br>

<p align="left">Prepare the vests prior to the party, then let guests decorate them as desired:<br>
Back to top View user's profile Send private message
Vancouver



Joined: 28 Dec 2004
Posts: 136
Location: Vancouver, B.C., Canada

PostPosted: Wed Jan 12, 2005 5:17 am    Post subject: Reply with quote

Patti,

Float the table:

<table width="20%" bgcolor="#ffffff" border="1" cellpadding="3" bordercolor="#3300cc" cellspacing="2" style="float: left;">

If it still doesn't work, send me a PM with the link and I'll take a look at it.

Cheers.
_________________
Search With Blingo Google and Win Prizes

Website Marketing blog

New York Personal Trainers
Back to top View user's profile Send private message Visit poster's website
Pattibeth



Joined: 26 May 2004
Posts: 32

PostPosted: Wed Jan 12, 2005 1:05 pm    Post subject: Thanks Philip - it worked! Reply with quote

Hi Philip,

I added the float tag to the table as you suggested, and it worked! I've only been coding a few months and hadn't even heard of the float tag.

I will need to make many more single cell image links like this one on my pages, so thanks for saving me headaches in the future.

Here's the page, if you'd like to see the final result!

http://www.kids-party-paradise.com/western-theme-party-ideas.html

By the way, is there any way to make the border thinner? I am just using a "1" value, but for some reason it is thicker than I usually get when building a table or bordering an image.

Many thanks for your help,
Patti
Back to top View user's profile Send private message
edburdo



Joined: 14 Jul 2003
Posts: 1761
Location: Bangor, Maine

PostPosted: Wed Jan 12, 2005 2:02 pm    Post subject: Reply with quote

Float really isn't a tag of the Table (or anything else). It is a CSS tag.

In Philips example, he is using inline CSS. You can use an external CSS file as well (recommended for ease of updating). But I would get things working the way you want now, and then worry about moving your CSS around later on.
_________________
Eric D. Burdo
They Made $6,513 a day With Clickbank Doing This...
Back to top View user's profile Send private message Visit poster's website
Vancouver



Joined: 28 Dec 2004
Posts: 136
Location: Vancouver, B.C., Canada

PostPosted: Wed Jan 12, 2005 5:16 pm    Post subject: Reply with quote

Patti,

Your source code is going to start to look like a mess if you keep making individual changes but here is the CSS style for controlling the border of the table: style="border-width: 1px solid;"

You can add it to the float style so that it looks like this: style="float: left; border-width: 1px solid;"

Then, delete the border="1" attribute.

When you have time, you should try to learn about cascading style sheets--there are couple of books I recommend on my blog under the "Tableless Designs" entry you can check out. CSS will make your coding faster, easier and cleaner, and updating will be a simple task.

I'm not sure if SBI allows you to upload your own external CSS (it should), otherwise you can use inline CSS (like what I've been suggesting to you above and in my previous post).

Good luck, nice site!
_________________
Search With Blingo Google and Win Prizes

Website Marketing blog

New York Personal Trainers
Back to top View user's profile Send private message Visit poster's website
Charlie



Joined: 22 Aug 2003
Posts: 3305
Location: UK

PostPosted: Thu Jan 13, 2005 11:31 am    Post subject: Reply with quote

Vancouver wrote:
I'm not sure if SBI allows you to upload your own external CSS

You can if you upload you own HTML pages, but not if you use the builder (which doesn't allow access to the <head> where you need to specify the source of the external CSS file).

The only (messy) hack I can think up, would be to try and simulate external CSS using inline CSS within a set of of external JS files (which could be accessed from within the <body> using the builder).

This might help with site-wide changes, but the problem is, if you were happy to do this, you'd probably be happy to upload your own HTML in the first place. Rolling Eyes

All in all, if you are using the builder, the only little bits of CSS you need worry about will fit happily inline. Don't get too hung up on the "pretty" factor...

As long as it looks decent, your writing will matter much more.

Hope this helps,
Charlie.
_________________
"Before I speak, I have something important to say."
- Groucho Marx
Back to top View user's profile Send private message
Pattibeth



Joined: 26 May 2004
Posts: 32

PostPosted: Thu Jan 13, 2005 6:37 pm    Post subject: Thanks again for the CSS code Reply with quote

Hi Philip,

Thanks for the CSS code to amend the table border. I read a bit from one of the books you recommended on your blog - Wow, CSS seems a bit above me at this point in time!

For now, I'll just limp along with the html and hope I don't mess anything up too badly for the long term. Rolling Eyes

Thanks again for your advice,
Patti
Back to top View user's profile Send private message
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Affiliate Marketing Forum Index -> Do-It-Your-Selfers All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot 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





Your host: Allan Gardyne.
Earning a good living from affiliate programs since 1998.