george Posted December 17, 2010 Share Posted December 17, 2010 I am trying to get text align left in a td cell, and my approaches are not working here. Any suggestions? Link to comment Share on other sites More sharing options...
Scyha Posted December 17, 2010 Share Posted December 17, 2010 is that not left align? O.o that looks fine. Link to comment Share on other sites More sharing options...
Synook Posted December 17, 2010 Share Posted December 17, 2010 Well, currently you have: p { text-align:center; } So you might want to change that to be text-align:left. You're not supposed to have paragraphs in table cells anyway, so why not just take them out? Link to comment Share on other sites More sharing options...
george Posted December 17, 2010 Author Share Posted December 17, 2010 is that not left align? O.o that looks fine.What browser are you using? Link to comment Share on other sites More sharing options...
george Posted December 17, 2010 Author Share Posted December 17, 2010 Well, currently you have:p { text-align:center; } So you might want to change that to be text-align:left. You're not supposed to have paragraphs in table cells anyway, so why not just take them out? About to Synook. Thanks. BTW: the p { text-align:center; } is used to center the entire table, and that is working properly. But my often poor understanding of CSS logic, I had hoped that the subsequent P.classes would align the table cells. So I will try removing the classes from the P element, and apply them to the TD element instead. Thanks you guys, for helping this slow old buzzard keep learning and improving my sites. Link to comment Share on other sites More sharing options...
ShadowMage Posted December 17, 2010 Share Posted December 17, 2010 About to Synook. Thanks. BTW: the p { text-align:center; } is used to center the entire table, and that is working properly. You should actually remove that p tag and put margin: 0px auto; in the table styles. That is the correct way to center block elements (like divs, ps, and tables) Link to comment Share on other sites More sharing options...
george Posted December 18, 2010 Author Share Posted December 18, 2010 New prob on same site. Now a footer is trying to be born with a call out balloon. Got that. Now can not position text over callout balloon. Please advise. All comments and suggestions are tried out and richly appreciated. Thanks Link to comment Share on other sites More sharing options...
dsonesuk Posted December 18, 2010 Share Posted December 18, 2010 you have to use position relative for 'product' container, then position absolute for text, then use left right properties to position the text where required. div.product {position:relative;}span.plcement {border:thick solid #993366;left:129px;position:absolute;top:54px;} Link to comment Share on other sites More sharing options...
george Posted December 18, 2010 Author Share Posted December 18, 2010 Thank you dsonesuk, that was spot on! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.