?
Solved

HTML5 Page Layour

Posted on 2014-12-08
5
Medium Priority
?
87 Views
Last Modified: 2014-12-26
Hi Experts,

Appologies if this is a simple question but a newbiew here:-

I have a webpage (attached) from a template. I am trying to format the contact Page so i can have:

Contact Information:-

Telephone:
UK - 01234 567890,
UAE - 01234 567890
USA - 01234 567890

Email:  
Information - info@test.com
sales - info@test.com
 
UK Head Office:
Street 1, Road 1, A Town, Manchester, Englerland, AB12 3CD

UAE Head Office:
Street 1, Road 1, A Town, Manchester, Englerland, AB12 3CD

USA Head Office:
Street 1, Road 1, A Town, Manchester, Englerland, AB12 3CD

But i just cant figureout how to format it right, it goes all over the place.

Anybody able to Help?

Cheers
TME
Test.zip
0
Comment
Question by:TrustGroup-UAE
[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
  • 3
  • 2
5 Comments
 
LVL 58

Expert Comment

by:Gary
ID: 40487202
Seperate each row and use rowspan for section heading e.g.
<tr>
<td rowspan="3">Telephone:</td>
<td>UK: 01234 567890</td>
</tr>
<tr>
<td>UAE: 01234 567890</td>
</tr>
<tr>
<td>USA: 01234 567890</td>
</tr>

Open in new window


Follow the same logic for the rest, but you shouldn't be using tables for this.
0
 
LVL 1

Author Comment

by:TrustGroup-UAE
ID: 40488368
Hi Gary,

Thanks for you response:)

I have now modified as per your suggestion but it now shows like:-

Telephone: UK: 01234
                            567890
                    UAE: 01234
                            567890
                    USA: 01234
                            567890

I would like the Number to be on the same line (As apposed to spanning 2 Lines) and display like:

Telephone:   UK: 01234 567890
                     UAE: 01234 567890
                     USA: 01234  567890
 
Many Thanks for any Help in Advance.

Cheers
TME
0
 
LVL 58

Expert Comment

by:Gary
ID: 40489962
					<table border='0' style="width:100%">
						<tr>
							<td rowspan="3">Telephone:</td>
							<td>UK: 01234 567890</td></tr>
                            <tr><td>UAE: 01234 567890</td></tr>
                            <tr><td>USA: 01234 567890</td></tr>
						<tr>
							<td>Email: </td>
							<td>info@gbs-europe.com</td>
						</tr>
						<tr>
							<td>UK Head Office:</td>
							<td>Street 1, Road 1, A Town, Manchester, Englerland, AB12 3CD</td>
							</tr>
                            <tr><td>UAE Head Office:</td>
							<td>Street 1, Road 1, A Town, Manchester, Englerland, AB12 3CD</td>
							</tr>
                            <tr><td>USA Head Office:</td>
							<td>Street 1, Road 1, A Town, Manchester, Englerland, AB12 3CD</td>
						</tr>
					</table>

Open in new window

0
 
LVL 1

Author Comment

by:TrustGroup-UAE
ID: 40490588
Hi Gary,

Many Thanks for your continued support.

Its looking much better now! Only problem now is, there is a space between all the phone numbers:-

Telephone:              UK: 01234 567890
                       
                               UAE: 01234 567890

                               USA: 01234 567890

How can i get it to align like:-

Telephone:              UK: 01234 567890
                               UAE: 01234 567890
                               USA: 01234 567890

Cheers Again
TME
0
 
LVL 58

Accepted Solution

by:
Gary earned 2000 total points
ID: 40492681
Because you have this
.contact-sidebar td {
    height: 45px; // << this
    width: 110px;
}

Open in new window


If you remove the height and want space between each section then add an empty row between them
   <tr><td>&nbsp;</td></tr>
0

Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
Find out what you should include to make the best professional email signature for your organization.
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
In this tutorial viewers will learn how to style a decorative dropcap for the first letter in a paragraph using CSS. In CSS, create a new paragraph class by typing "p.fancy": Then, to style only the first letter of the first sentence, include the ps…
Suggested Courses

777 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