Avatar of thanasikala
thanasikala

asked on 

Align text over image

Hi there,

I've inherited this site and the web designer is not reachable. As you can see on the home page, the "GO" button on "About Learning Wonderland" and "Our Programs" are not aligned into their respective circles. You can see that "Photos" and "Enrol Now" have the GO buttons in the circles, which is how it should be.

Please help!! :D

Site is http://learningwonderland.com.au

Thanks.
Web Development

Avatar of undefined
Last Comment
Edwin Hoffer
Avatar of Ahmed Merghani
Ahmed Merghani
Flag of Sudan image

Search for this part:

<div class="homeMidleFont" style="margin:8px 80px 0 0">
<a href="about_us.htm">GO</a>
</div>
<div class="homeMidleFont" style="margin:8px 0 0 322px">
<a href="our_programs.htm">GO</a>
</div>

Open in new window

and replace it with this:
<div class="homeMidleFont" style="margin:8px 80px 0 335px">
<a href="about_us.htm">GO</a>
</div>
<div class="homeMidleFont" style="margin:-20px 0 0 295px">
<a href="our_programs.htm">GO</a>
</div>

Open in new window

It is all about "margin properties". You need to play with and make some changes to adjust the right value.  For more information you can see this link:
http://www.w3schools.com/css/css_margin.asp
Avatar of Edwin Hoffer
Edwin Hoffer
Flag of United States of America image

Hello thanasikala,

Find the below code:

<div class="categoryDivision">
<a href="about_us.htm"><div class="homeMidleFont" style="margin:48px 0 140px 87px">About Learning Wonderland</div></a>
<a href="about_us.htm"><div class="homeMidleFont" style="margin:35px 128px 140px 118px">Our Programs</div></a>
<div class="homeMidleFont" style="margin:8px 80px 0 0"><a href="about_us.htm">GO</a></div>
<div class="homeMidleFont" style="margin:8px 0 0 322px"><a href="our_programs.htm">GO</a></div>
</div>

Open in new window



And replace it the below one:

<div class="categoryDivision">
<a href="about_us.htm"><div class="homeMidleFont" style="margin:48px 0 140px 87px">About Learning Wonderland</div></a>		
<div class="homeMidleFont" style="margin:202px 0 0 -20px"><a href="about_us.htm">GO</a></div>
<a href="about_us.htm"><div class="homeMidleFont" style="margin:35px 128px 140px 118px">Our Programs</div></a>		
<div class="homeMidleFont" style="margin:8px 0 0 322px"><a href="our_programs.htm">GO</a></div>
</div>

Open in new window


Thanks
Edwin
Avatar of thanasikala
thanasikala

ASKER

Yes, I think it is the margins, finding it so hard to get them right though :/

I tried both your suggestions but it's way out. Check out the page now, I have Edwin's changes.
ASKER CERTIFIED SOLUTION
Avatar of Edwin Hoffer
Edwin Hoffer
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of thanasikala
thanasikala

ASKER

Excellent, they re lining up now!!! However the side menu on the right which has Useful Links, Employment etc has disappeared. It can be seen on all other pages except Home/Index.
Avatar of Edwin Hoffer
Edwin Hoffer
Flag of United States of America image

Open "wonderland.css" and find "col-main",  update width 782px to 720px and add margin-left:21px;
Avatar of Edwin Hoffer
Edwin Hoffer
Flag of United States of America image

any update?
Web Development
Web Development

Web development includes all aspects of presenting content on intranets and the Internet, including delivery development, protocols, languages and standards, server software, browser clients, databases and multimedia generation.

78K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo