Solved

Align text over image

Posted on 2014-11-18
7
151 Views
Last Modified: 2014-11-19
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.
0
Comment
Question by:thanasikala
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
7 Comments
 
LVL 8

Expert Comment

by:Ahmed Merghani
ID: 40449499
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
0
 
LVL 14

Expert Comment

by:Edwin Hoffer
ID: 40449504
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
0
 

Author Comment

by:thanasikala
ID: 40449538
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.
0
Report: Liquid Web beats Amazon, Rackspace & More

A study by performance analyst firm Cloud Spectator finds that Liquid Web beats rivals Amazon, Rackspace and DigitalOcean when it comes to website and cloud application performance.

 
LVL 14

Accepted Solution

by:
Edwin Hoffer earned 500 total points
ID: 40449578
Hello Thanasikala,

Find below code:

<div class="middleDiv">
<div class="col-main" style="padding-bottom:150px">
<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>
</div>
<div class="categoryDivision">
<div class="homeMidleFont" style="margin:53px 0 140px 115px"><a href="#">Photos</a></div>
<div class="homeMidleFont" style="margin:46px 60px 140px 283px"><a href="daycare_enrolement.htm">Enrol Now (Ages 0-6yrs)</a></div>
<div class="homeMidleFont" style="margin:22px 0 0 128px"><a href="#">GO</a></div>
<div class="homeMidleFont" style="margin:17px 0 0 299px"><a href="daycare_enrolement.htm">GO</a></div>
</div>
</div>

Open in new window


And replace it from the below one:

<div class="middleDiv">
<div class="col-main" style="padding-bottom:150px">
<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>
<div class="categoryDivision">
<div class="homeMidleFont" style="margin:53px 0 140px 115px"><a href="#">Photos</a></div>
<div class="homeMidleFont" style="margin:46px 60px 140px 283px"><a href="daycare_enrolement.htm">Enrol Now (Ages 0-6yrs)</a></div>
<div class="homeMidleFont" style="margin:22px 0 0 128px"><a href="#">GO</a></div>
<div class="homeMidleFont" style="margin:17px 0 0 299px"><a href="daycare_enrolement.htm">GO</a></div>
</div>
</div>		
</div>

Open in new window


Thanks
Edwin
0
 

Author Comment

by:thanasikala
ID: 40449609
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.
0
 
LVL 14

Expert Comment

by:Edwin Hoffer
ID: 40449633
Open "wonderland.css" and find "col-main",  update width 782px to 720px and add margin-left:21px;
0
 
LVL 14

Expert Comment

by:Edwin Hoffer
ID: 40451518
any update?
0

Featured Post

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
CTAs encourage people to do something specific to show interest in your company, product or service. Keep reading to learn why CTAs should always be thought of as extremely important, albeit small, sections of websites.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question