Hi, I need to align a narrow (about 100px) div against the left side of the page. But, the text within the div needs to be centered. I've tried everything I can think of, but the div always winds up being centered on the page. Any suggestions would be most welcome! Thanks so much. all best, Denise
centering text within left-aligned div .left{float:left; text-align:center } If the layout is 2 columns, use this to generate full css code. http://www.pagecolumn.com/2_column_div_generator_m.htm
Hi unigogo, Thanks for your advice! I just tried the code you provided. But unfortunately it didn't work for me. It did float the div left. However the text wasn't centered, but rather up against the left margin. Any other ideas? Thanks again for your help! all best, Denise