1
mrphilong
Place text under div image
  • 2008/9/13 1:33

  • mrphilong

  • Quite a regular

  • Posts: 351

  • Since: 2006/7/14


I am trying to convert my theme <table> into <div> but having trouble;

css file:

le="color: #000000"><?php #logo-banner-container { background-color: #ffffcc; border: 0px solid #999999; padding: 0px; height: 100px; background-image: url(bg_banner.gif) } .floatleft { float: left; margin: 10px 10px 10px 10px; } .floatright { float: right; margin: 10px 10px 10px 10px; border: 1px solid #666; padding: 2px;}


html file:
le="color: #000000"><?php <div id="logo-banner-container"><img class="floatleft" src="logo.png" alt="" width="275" height="80"><img class="floatright" src="banner.gif" alt="" width="468" height="60"></div>


I have been trying to place this code:

le="color: #000000"><?php <{php}> echo(formatTimestamp(time(),"m"));<{/php}>, GMT+10: Brisbane, QLD - Australia.

for it to get the time + date, display under the banner (vertical align = middle) of the banner.jpg

thanks for reading,

2
mrphilong
Re: Place text under div image
  • 2008/9/15 3:31

  • mrphilong

  • Quite a regular

  • Posts: 351

  • Since: 2006/7/14


Got it fixed!

Login

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Aug 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!