Jump to content


Photo
- - - - -

CSS problem?


  • Please log in to reply
4 replies to this topic

#1 strmiba

strmiba

    Member

  • Members
  • 29 posts
  • LocationLondon,UK/Gothenburg,SE
  • Framework Version:Always the latest
  • Country: Country Flag

Posted 30 January 2012 - 06:01 PM

I have a page where I read data from a table (MySQL) and list the result on a page. The problem I have is that all data are center-align and I can't figure out where I can change this to text-align: left. Sample page:

Please Login or Register to see this Hidden Content

(psw: loftaan) or

Please Login or Register to see this Hidden Content

Regards, Mikael

#2 kastelic

kastelic

    Advocate

  • Members

  • 3081 posts
  • Country: Country Flag

Posted 31 January 2012 - 12:24 AM

Just getting a login screen at that link.

But you can try to target the table and to this:

Please Login or Register to see this Hidden Content



#3 strmiba

strmiba

    Member

  • Members
  • 29 posts
  • LocationLondon,UK/Gothenburg,SE
  • Framework Version:Always the latest
  • Country: Country Flag

Posted 31 January 2012 - 06:27 AM

You have the password in the first post. I can change most option for my db-result in a CSS but Pagelines Framework controls the text alignment. If I use some other theme all text are align to left. In my CSS for table views color control works fine but not the text alignment: .wct-td1 { background-color: #CCCCCC; text-align: left; } .wct-td2 { background-color: #EEEEEE; text-align: left; } I'm using a plugin called WordPress Custom Tables.

#4 Jackey

Jackey

    Advocate

  • Members


  • 685 posts
  • LocationHelmond
  • Country: Country Flag

Posted 31 January 2012 - 08:41 AM

@Mikael

Indeed this is leaking through:

Please Login or Register to see this Hidden Content


Try this:

Please Login or Register to see this Hidden Content



#5 strmiba

strmiba

    Member

  • Members
  • 29 posts
  • LocationLondon,UK/Gothenburg,SE
  • Framework Version:Always the latest
  • Country: Country Flag

Posted 31 January 2012 - 09:11 AM

Thank you! I love the support on this forum.