Solved

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

Posted on 2014-11-25
1
186 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
1 Comment
 
LVL 51

Accepted Solution

by:
HainKurt earned 500 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

This article discusses four methods for overlaying images in a container on a web page
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this Micro Tutorial users will learn how to embed custom fonts into websites using @font-face in CSS Select a font: Ensure the EULA allows you to use @font-face: Download the font: Get the browser-compatible files you need: Edit your CSS       - Name …
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…

786 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