Jump to content

Help with layouts


duddy

Recommended Posts

hey dudes, I have got my website all created. however when I attempt to add a banner (skyscraper 120x600 adsense) to the left (I would also like the right as well) it totally destroys the main layout.

 

Do you have any idea on what to do so I can add my code sucessfully.

 

cheers

 

 

Site is www [dot] anymorepics [dot] com

 

thanks again

 

It appears that I need to somehow add two CSS tables somewhere inside the code though I have no idea. Looking at the source code, what would you suggest?

Link to comment
https://forums.phpfreaks.com/topic/121806-help-with-layouts/
Share on other sites

<div class="container>
<div class="left">Ad Code</div>
<div class="right">Adsense Code</div>
<div class="content">main Content</div>
</div>

 

<style>
.container {margin:0 auto;width:80%]
.left {width:20%;float:left}
.right {float:right;}
.content {width:80%}
</style>

 

Something like that  is the xhtml way to make a layout like your describing i didnt view your source tho

Link to comment
https://forums.phpfreaks.com/topic/121806-help-with-layouts/#findComment-628484
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.