?
Solved

How to align text in a devision panel horizontally and vertically?

Posted on 2014-11-25
1
Medium Priority
?
224 Views
Last Modified: 2014-11-25
Hi,

I have a devision called "breakfast" on my site. And I would like some text in it. How can I align the text not only horizontally but also vertically in the devision.

greetings, Peter Kiers
0
Comment
Question by:peterkiers
[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
1 Comment
 
LVL 58

Accepted Solution

by:
HainKurt earned 1000 total points
ID: 40464670
Here:

<div id=breakfast style="vertical-align:xxxxx; text-align:xxxxxx">
some content here...
</div>

Horizantal align
http://www.w3schools.com/css/css_align.asp

Vertical align
http://www.w3schools.com/cssref/pr_pos_vertical-align.asp
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Suggested Courses
Course of the Month8 days, 14 hours left to enroll

764 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