troubleshooting Question

Formatting text so it is vertically aligned

Avatar of bogorman
bogorman asked on
8 Comments1 Solution368 ViewsLast Modified:
I am using drupal 7.
I have created a content section for my frontpage using a mini-panel with three regions in a row.
The left hand region contains content defined by a content type (only 1 field: body)
The centre region contains an image, again content defined by a content type.
The right-hand region contains content defined by various views.
I need the text in the left hand region to be vertically aligned and left aligned.
I believe I can do it by using this coding:

<div id="floater">
<div id="content">
      Content here

#floater      {float:left; height:50%; margin-bottom:-120px;}
#content      {clear:both; height:240px; position:relative;}

(obtained from: Lost in the Woods Blog)

How can I make this "user-friendly" so that users with limited knowledge of html/css can simple enter the text and it will automatically be centered vertically?   Suppose it means creating a template file for the content type but how  can I insert the html coding into it (assuming this is the best way)?

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 8 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 8 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros