The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

How to centre three images on homepage?

3 posters

Go down

How to centre three images on homepage? Empty How to centre three images on homepage?

Post by Diana 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
Diana
Active Poster

Female Posts : 1286
Reputation : 21
Language : English

Back to top Go down

How to centre three images on homepage? Empty Re: How to centre three images on homepage?

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

Try :
Code:
margin: 0 auto;
avatar
Guest
Guest


Back to top Go down

How to centre three images on homepage? Empty Re: How to centre three images on homepage?

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

Um, where exactly do I need to put it?
Diana
Diana
Active Poster

Female Posts : 1286
Reputation : 21
Language : English

Back to top Go down

How to centre three images on homepage? Empty Re: How to centre three images on homepage?

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

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


Back to top Go down

How to centre three images on homepage? Empty Re: How to centre three images on homepage?

Post by ankillien 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
ankillien
Energetic

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

Back to top Go down

How to centre three images on homepage? Empty Re: How to centre three images on homepage?

Post by poppins 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
poppins
New Member

Posts : 8
Reputation : 0
Language : Manchester

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

Back to top Go down

Back to top

- Similar topics

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