Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Problem with html code
Old 12-19-2007, 07:49 PM Problem with html code
Fenwolf's Avatar
Skilled Talker

Posts: 54
Name: James
Trades: 0
I am creating info pages for my website and we are putting google adsence on them. I am having trouble lineing the adds up. Could someone help with the coding. Here is the page as it stands.

http://www.medievalmagic.ca/splash-pages/dragons.html

we want the adds aligned on the right side and the text to flow down the left and under the adds. I did it once before and lost the page i was working on so i need help.

Thanks.
Fenwolf is offline
Reply With Quote
View Public Profile Visit Fenwolf's homepage!
 
 
Register now for full access!
Old 12-19-2007, 11:23 PM Re: Problem with html code
cbeaudin's Avatar
Extreme Talker

Posts: 158
Name: cbeaudin
Location: Proud to be Canadian
Trades: 1
CSS
HTML Code:
#rightcol {
float: right;
width: Ad width here;
margin: 10px;
}
HTML
HTML Code:
<div id="rightcol">
Adsense Code
</div>
__________________
- cbeaudin
cbeaudin is offline
Reply With Quote
View Public Profile
 
Old 12-20-2007, 09:31 AM Re: Problem with html code
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
That code will trigger the doubled-float margin bug in IE6 and below, so you should modify that margin rule to remove any RIGHT margin. Use padding instead.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 12-20-2007, 03:20 PM Re: Problem with html code
Fenwolf's Avatar
Skilled Talker

Posts: 54
Name: James
Trades: 0
I tryed the html code and it did not work. here is the formate code for that section of the page:

<FONT COLOR="#FFFFF">
<h1><u><img align="middle"src="Torch-03-june.gif">Dragons<img align="middle"src="Torch-03-june.gif"></u></h1>
<h5><a href="http://www.medievalmagic.ca/index.php">
<FONT COLOR="#FFFFF">Home</Font></a>
&nbsp;&nbsp;
<a href="http://www.medievalmagic.ca/catalog/index.html">
<FONT COLOR="#FFFFF">Product</Font></a>
&nbsp;&nbsp;
<a href="http://www.medievalmagic.ca/about-us.php">
<FONT COLOR="#FFFFF">About Us</Font></a>
&nbsp;&nbsp;
<a href="http://www.medievalmagic.ca/contact-us.php">
<FONT COLOR="#FFFFF">Contact Us</Font></a>
&nbsp;&nbsp;
<a href="http://www.medievalmagic.ca/news-and-events.php">
<FONT COLOR="#FFFFF">News & Events</Font></a>
&nbsp;&nbsp;
<a href="http://www.medievalmagic.ca/links/">
<FONT COLOR="#FFFFF">Links</Font></a>
&nbsp;&nbsp;
<a href="http://www.medievalmagic.ca/contests.php">
<FONT COLOR="#FFFFF">Contests</Font></a>
&nbsp;&nbsp;
<a href="http://www.medievalmagic.ca/blog.php">
<FONT COLOR="#FFFFF">What's New</Font></a>
&nbsp;&nbsp;
<a href="http://www.medievalmagic.ca/cart.php...&mode=register">
<FONT COLOR="#FFFFF">Affiliate</Font></a>
&nbsp;&nbsp;
<a href="http://www.medievalmagic.ca/subscribe.php">
<FONT COLOR="#FFFFF">Newsletter</Font></a>
&nbsp;&nbsp;
<a href="http://www.medievalmagic.ca/guestbook.php">
<FONT COLOR="#FFFFF">Guestbook</Font></a>
&nbsp;&nbsp;
</h5>
<script type="text/javascript"><!--
google_ad_client = "pub-7655301807176633";
//Splashpage, 125x125, created 12/14/07
google_ad_slot = "3769841975";
google_ad_width = 125;
google_ad_height = 125;
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>&nbsp;&nbsp;
<script type="text/javascript"><!--
google_ad_client = "pub-7655301807176633";
//Splashpage, 125x125, created 12/14/07
google_ad_slot = "3769841975";
google_ad_width = 125;
google_ad_height = 125;
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>&nbsp;&nbsp;
<script type="text/javascript"><!--
google_ad_client = "pub-7655301807176633";
//Splashpage, 125x125, created 12/14/07
google_ad_slot = "3769841975";
google_ad_width = 125;
google_ad_height = 125;
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<h1><u>Dragon:</u></h1>
The Dragon is often seen as a symbol of fertility, longevity (long life) and wisdom as well as the protector. Dragon energy is sexual and rules virility and desire.
<br><br>
The Dragon is also often viewed as the mother principle. A red dragon can represent fierceness of the negative side of motherhood. Dragon can be called upon to provide protection from negative entities.
<br><br>
The dragon is a mythical creature typically depicted as a gigantic and powerful serpent or other reptile with magical or spiritual qualities.
<br><br>

we want the adds to be below the site links and to the right of the text under the dragon heading. I am new to page design so if anyone can recomend some books to help me with future projects that would be helpfull.
Fenwolf is offline
Reply With Quote
View Public Profile Visit Fenwolf's homepage!
 
Old 12-20-2007, 04:48 PM Re: Problem with html code
Average Talker

Posts: 15
Trades: 0
try this , i did it with tables... hope it works
Attached Files
File Type: txt tryThis.txt (27.3 KB, 3 views)
__________________
Marcus Maraldo

Please login or register to view this content. Registration is FREE

Mmm Computers...
iammarcus is offline
Reply With Quote
View Public Profile Visit iammarcus's homepage!
 
Old 12-20-2007, 05:11 PM Re: Problem with html code
Fenwolf's Avatar
Skilled Talker

Posts: 54
Name: James
Trades: 0
thanks for all the help. My wife says she likes it the way it is with the adds at the top. go figure.
Fenwolf is offline
Reply With Quote
View Public Profile Visit Fenwolf's homepage!
 
Old 12-20-2007, 05:34 PM Re: Problem with html code
steveedge's Avatar
Skilled Talker

Posts: 54
Location: Atlanta
Trades: 0
It looks like this has been figured out but I generally use tables to position these as well.
__________________
Steve Edge

Please login or register to view this content. Registration is FREE

Web Hosting, Design, Cheap Domain Names
steveedge is offline
Reply With Quote
View Public Profile Visit steveedge's homepage!
 
Old 12-20-2007, 10:51 PM Re: Problem with html code
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
And... tables are NOT NECESSARY - and they're just sooooo 1997. You shouldn't be using tables for layout. You also shouldn't be using moldy old <font> tags.. yech ! Such code bloat - you'd simplify your code and speed up your page with a table-less layout styled with CSS.

You need more than the html code snippet, you need the CSS to go with it !
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 01-02-2008, 02:56 AM Re: Problem with html code
©®azy-¢øÐ3R's Avatar
Average Talker

Posts: 19
Name: kokokoko
Trades: 0
for a newbie coder (who has dreamweaver) a simple way is it add a huge table and inster the code in each table where every they want it located on the site and change the tables with to 0 so you cant actually see the table, it just looks like its all lined up a simple trick...
©®azy-¢øÐ3R is offline
Reply With Quote
View Public Profile
 
Old 01-02-2008, 03:52 AM Re: Problem with html code
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,380
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
a simple way is it add a huge table and inster the code in each table where every they want it located on the site and change the tables with to 0 so you cant actually see the table,
NO NO NO NO It ISN'T
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 01-06-2008, 03:16 PM Re: Problem with html code
Valiant's Avatar
Super Talker

Posts: 112
Location: England
Trades: 0
Quote:
Originally Posted by chrishirst View Post
NO NO NO NO It ISN'T
He meant for newbs
Valiant is offline
Reply With Quote
View Public Profile
 
Old 01-07-2008, 09:58 AM Re: Problem with html code
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
He meant for ANYONE. Tables should never be used for layout.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 01-10-2008, 01:26 PM Re: Problem with html code
Novice Talker

Posts: 12
Name: Nothing Special
Trades: 0
But since you are new in HTML.

you can try to refer this code:
Code:
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>HTML Frames</title>
</head>
<body>

<table style="margin-left:1px" width="790px" border="0" cellpadding="0" cellspacing="2">
<tr>
<td width="137" class="content" valign="top"><br />
<a class="left" href="/default.asp" target="_top">
<a class="left" href="/default.asp" target="_top">
<b>YOUR ADHERE</b></a>
<br /> <br />
<script type="text/javascript"><!--
google_ad_client = "pub-4255851001495495";
//Splashpage, 125x125, created 12/14/07
google_ad_slot = "3769841975";
google_ad_width = 125;
google_ad_height = 125;
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</td>
<td valign="top">
<table style="border: 1px solid gray" width="100%" bgcolor="#FFFFFF" border="0" cellpadding="5" cellspacing="0">
<tr>
<td>

<h1>Your Content</h1>
<a href="html_links.asp"><img border="0" src="/images/btn_previous.gif" width="100" height="20" alt="Previous" /></a>
<a href="html_tables.asp"><img border="0" src="/images/btn_next.gif" width="100" height="20" alt="Next" /></a>
</tr>
</table>
</td>
</tr>
</table>
</td>

</body>
</html>
helpful site:
http://www.w3schools.com
PTPMaster is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Problem with html code
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 1.85698 seconds with 13 queries