I need help with Adsense and HTML on my site, Can anyone help?

2 replies
  • WEB DESIGN
  • |
Hi all, I'm creating a niche website now for the first time using Dreamweaver and HTML. I'm almost done except I need to place my articles and adsense in but I'm facing this problem.

Please look at the attached image for a clear idea.



How do I achieve such a layout for my webpage?

I've tried using a layer embedded inside another layer then floating the layer containing the adsense unit to the right but it doesn't work.

I've tried using 2 layer to float left and right respectively but it doesn't work either.

Also, I had tried using tables using 2 x 2 columns and rows but I cannot merge 3 cells together this way.

Anyone know? Please assist, Thanks alot!
#adsense #html #site
  • Profile picture of the author koboe
    I think you should create a table with 100% pixels and set vertical alignment to right.
    then create another table below that one for your content.

    I hope this will help.
    {{ DiscussionBoard.errors[1856502].message }}
    • Profile picture of the author naffets77
      Please don't propagate table based formatting in web pages. It sounds like you were on the right track with floating things, you'll need to float.

      Something like this should work


      CSS:

      Code:
      img.floatLeft { 
          float: left; 
          margin: 4px; 
      }
      img.floatRight { 
          float: right; 
          margin: 4px; 
      }
      HTML:
      Code:
      <body>
      <img src="sunset.gif" class="floatLeft">
      <p>The images are contained with...</p>
      
      <img src="sunset.gif" class="floatRight">
      <p>This second paragraph has an...</p>
      </body>
      You'll want to do some moving around using margins and or padding to make the content fit nicely with the text.

      For more examples google using "css displaying image with text"
      {{ DiscussionBoard.errors[1858244].message }}

Trending Topics