TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

May 14, 2024, 08:39:10 PM

Login with username, password and session length
Members
  • Total Members: 3,886
  • Latest: Grendor
Stats
  • Total Posts: 195,188
  • Total Topics: 21,220
  • Online today: 161
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 1
  • Guests: 92
  • Total: 93
  • IgorS

[Request] Bottom block - Random advertise + banner

Started by MTF95, May 31, 2008, 06:38:54 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Reality12


Reality12

#11
two more things...

i'd like the images centered.

adding an html 'center' code, doesn't work.

can someone advise?

second. the width of the images don't seem to change, no matter what i do.

any clue?

JPDeni

Quoteadding an html 'center' code, doesn't work.

It should. You didn't tell us what you tried and what "doesn't work" means, but I'll tell you one way that I know works:


echo '<center>';
echo $stuff[0];
echo '</center>';


Quotesecond. the width of the images don't seem to change, no matter what i do.

What have you done? It should work just fine if you add height and width attributes to the img tag.

Reality12

i was using '<center>' and '</center>'.

one at the very top, and the other at the very end.

regarding the height and width, i just realized my mistake...

i was using:

width"152" height="170"

but as you can see, there was an oversight.

it should have been:

width="152" height="170"

thanks again JPDeni. :)