Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 02 Jun 2017, 09:20
mp3president mp3president is offline
 
Join Date: Sep 2009
Real name: Ron
Question Center problem

Hi there,

I have a problem centering pictures on my website. The buttons for mediaplayer etc have to be centered for all resolutions
When i ajust it for myself it is fine, however people with a resolution 1920x1080 it is not right centered.

This picture is how it is on my PC



And this is de Code in ACP

<td width="100%" style="padding-left: 490px">
<h3><img src="$stylevar[imgdir_misc]/winamp.png" alt="$vbphrase[scast_wa_listen]" border="0" hspace="4" /><a href="http://server.hotrodradio.nl:80/listen.pls">$vbphrase[scast_wa]</a>
<img src="$stylevar[imgdir_misc]/realplayer.png" alt="$vbphrase[scast_rp_listen]" border="0" hspace="4" /><a href="http://www.hotrodradio.nl/playlist/RealMediaPlayer.ram" onclick="window.open('$vboptions[forumhome].php?do=rp','rp','statusbar=no,menubar=no,toolbar=no,scrollbars=no,resizable=no, width=420,height=160'); return false;">$vbphrase[scast_rp]</a>
<img src="$stylevar[imgdir_misc]/mediaplayer.png" alt="$vbphrase[scast_mp_listen]" border="0" hspace="4" /><a href="http://www.hotrodradio.nl/playlist/Livestream.html" onclick="window.open('$vboptions[forumhome].php?do=mp','mp','statusbar=no,menubar=no,toolbar=no,scrollbars=no,resizable=no, width=360,height=75'); return false;">$vbphrase[scast_mp]</a>
<img src="$stylevar[imgdir_misc]/itunes.png" alt="$vbphrase[scast_qt_listen]" border="0" hspace="4" /><a href="http://www.hotrodradio.nl/playlist/itunes.pls" onclick="window.open('http://www.hotrodradio.nl/playlist/iTunes.pls','qt','statusbar=no,menubar=no,toolbar=no,scrollbars=no,resizable=no, width=330,height=70'); return false;">$vbphrase[scast_qt]</a></h3>
</div>
</td>
And this is the picture on a 1920x1080



Can anyone tell me what am i doing wrong?????
Been working on this for weeks now

Thank you verry much!!!
Sorry for my english
Reply With Quote
  #2  
Old 02 Jun 2017, 14:16
Dave Dave is offline
 
Join Date: Jun 2010
Real name: Dave
It's because you are defining a static value, padding-left: 490px.
Remove that and try text-align: center;
__________________
https://technidev.com - security, development, exploits, vBulletin
dave[at]technidev[dot]com

Contact me for custom vBulletin 3/4 work & server/website management.
Reply With Quote
  #3  
Old 02 Jun 2017, 16:05
mp3president mp3president is offline
 
Join Date: Sep 2009
Real name: Ron
Yes, that did the trick. I was so focused on image....

thanks for your help
Reply With Quote
  #4  
Old 02 Jun 2017, 16:08
Dave Dave is offline
 
Join Date: Jun 2010
Real name: Dave
No problem, succes met je forum.
__________________
https://technidev.com - security, development, exploits, vBulletin
dave[at]technidev[dot]com

Contact me for custom vBulletin 3/4 work & server/website management.
Reply With Quote
  #5  
Old 02 Jun 2017, 17:05
mp3president mp3president is offline
 
Join Date: Sep 2009
Real name: Ron
Dank je wel Dave
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
[RELEASE vB 2.0] MSN Message Center like available on http://www.msn.com Christian vBulletin 2.x Full Releases 104 22 May 2002 04:20



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 11:20.

Layout Options | Width: Wide Color: