Previous Message
Next Message

text align problem

Sent by J.M. Knowles on 4 July 2009 05:05


Actually ... all of the text is centered - it is just that the Qs are 
shorter and hence the centering is more obvious.  If they were longer 
questions they would appear like the answers (and vice-versa).

Removing the declaration in sidebar.css seemed to work (not sure if that 
messes up anything else on your site.)

#mainbody {
    width:96%;
    margin:10px auto 0 auto;
    text-align:center; /* remove or change to left */
    height:auto;
}

It also looks like your subnav has a problem - in Firefox 3.5 on my Mac 
the last two menu items are not in alignment with the rest. (Looks fine 
on Safari)


Linda Quinn wrote:
> I am working on a rather involved site — it started as a simple job  
> that grew exponentially, and I guess I ended up repeating some of the  
> css rules in subsequent files. The problem I am having is that I  
> cannot get paragraph text that does not take up a full line to align  
> left.
>
> If you look at this page:
>
> http://www.melvillekidsdentistry.com/beta2/pages/kids/prevent.html
>
> you can see that the Q's are centered and the A's are left justified.  
> Both a <p> tags in the same <div>, and set to text-align:left. I have  
> looked through all the code, and cannot find the conflict, although  
> there must be one. Any suggestions on where I can look?
>
> Thanks, LindaQ
>
>
>
>
> Linda Quinn
> www.digitalquinn.com
>
> "Photography takes an instant out of time, altering life by holding it  
> still." Dorothea Lange
>
> ______________________________________________________________________
> css-discuss [EMAIL-REMOVED]]
> http://www.css-discuss.org/mailman/listinfo/css-d
> List wiki/FAQ -- http://css-discuss.incutio.com/
> List policies -- http://css-discuss.org/policies.html
> Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
>
>   

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: