i only know very basic things when comes to coding so i am wandering whats the correct way to get my header banner rotator thats already at the top, get it positioned on the left, and then i want to put another banner on the right of it you can look at my site in my signature to view it now. the banner rotator is centered right now here is the part i need help with <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr><br> <td align="center"><? echo $pagebanner648; ?><br><br><br> </tr> <tr> </td><td align="center"><img src='rld-test.png'></td> </tr> </table> i imagine i would change the "align" to left, then how do i get this code here to fit in on the right? <script language="javascript"> AD_SPOT_ID = 148; PUBLISHER_ID = 157; WIDTH = 468; HEIGHT = 60; </script> <script src="http://www.textadmarket.com/show_ads.js" type="text/javascript"> </script> thanks and rep added to anyone who could enlighten me LOL
<table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td><? echo $pagebanner648; ?></td> <td> <script language="javascript"> AD_SPOT_ID = 148; PUBLISHER_ID = 157; WIDTH = 468; HEIGHT = 60; </script> <script src="http://www.textadmarket.com/show_ads.js" type="text/javascript"> </script> </td> </tr> <tr> <td align="center" colspan="2"><img src='rld-test.png'></td> </tr> </table> No need to specify align=left, that's the default for a table cell. Also be careful that you close your tags <tr></tr> and <td></td>, you missed some
and using Old tables are Not the correct way of developing websites anymore.You can align you're content using Divs also
Actually CSS should be used to align content - whether it's a DIV, P, or other element. HTML is only used to mark up the structure of a Web page, not define its appearance.
ok one problem now, you got rid of the spaces i needed between the banners and my logo header and i cant find the right place to put the "<br>" to space them LOL thankz people
Use CSS to add some padding to the DIV. #header { margin: 0; padding: 10px 0; /* ten pixels of top and bottom padding, no left or right padding applied */ } Code (markup): This code can go inside your head section via the <style type="text/css"></style> tags, or linked to the Web page via an external stylesheet.
hmmm... i have no idea what this means LOL , but i have settled the spacing issue, now i notice that the 2 banners are not quite centered with the site as you will see theres a bit more space at the end of the right side banner,...so i need to equal that out with that code up there you mentioned did you mean go place that in the layout.css file?...