The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

How to centre three images on homepage?

View previous topic View next topic Go down

How to centre three images on homepage?

Post by Diana on December 8th 2010, 11:31 pm

I have three buttons on the homepage that I need to centre. I want them to be right next to each other.
I kind of did it with absolute positioning or something like it but they don't appear at the same place with different computers. So how do I get them to look nicely centred?

Diana
Active Poster

Female Posts : 1286
Reputation : 21
Language : English

Back to top Go down

Re: How to centre three images on homepage?

Post by Guest on December 9th 2010, 12:09 am

Try :
Code:
margin: 0 auto;

Guest
Guest


Back to top Go down

Re: How to centre three images on homepage?

Post by Diana on December 9th 2010, 1:02 am

Um, where exactly do I need to put it?

Diana
Active Poster

Female Posts : 1286
Reputation : 21
Language : English

Back to top Go down

Re: How to centre three images on homepage?

Post by Guest on December 9th 2010, 1:04 am

in the code you are using. where you added the absolute positioning

Guest
Guest


Back to top Go down

Re: How to centre three images on homepage?

Post by ankillien on December 9th 2010, 11:10 am

Hello,

To center align something, using absolute positioning is a bad practice and it will not show same result in all screens. Can you link me to the page so that I can give tips to fix it?

ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

http://www.webartzforum.com/

Back to top Go down

Re: How to centre three images on homepage?

Post by poppins on December 28th 2010, 7:11 pm

I need the same thing for my banner. On my PC it's fine on my partners it's off to the left. Any help would be greatly appreciated.

poppins
New Member

Posts : 8
Reputation : 0
Language : Manchester

http://deadonarrival.forumotion.co.uk/forum

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum