Aligning Text

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
LindaO
Advanced
Advanced
Posts: 11
Joined: Fri Jan 27, 2006 5:57 pm

Aligning Text

Post by LindaO »

The text in my menus are centered, how do I align the text to the left?
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

That depends on why it is aligning to the center. Do you have it coded to align="center";? Do you have a style sheet with that coding in it, do you have it in a table with the table with coding for align="center";

We need to see the page with the menu on it to see what's going on.

Ruth
LindaO
Advanced
Advanced
Posts: 11
Joined: Fri Jan 27, 2006 5:57 pm

Post by LindaO »

Ruth wrote:That depends on why it is aligning to the center. Do you have it coded to align="center";? Do you have a style sheet with that coding in it, do you have it in a table with the table with coding for align="center";

We need to see the page with the menu on it to see what's going on.

Ruth
It's running on our Intranet so I can't post a link but I have copied the following code.
When I change the center to left it aligns the text to the left but also moves the menu to the left. I want the menu to stay centered.


<!-- Page Content Goes Here -->
<div id="documents">
<h1>DOCUMENTS</h1>
<div id="nav_documents" align="center">
<?php require('../includes/nav_documents.htm'); ?>
</div>
<div id="img_documents" align="center">
<img src="images/documents.jpg" alt="Documents">
</div>
</div>
<!-- Page Content Ends Here -->
LindaO
Advanced
Advanced
Posts: 11
Joined: Fri Jan 27, 2006 5:57 pm

Post by LindaO »

I fixed it Ruth...thanks
Post Reply