Jump to content
Lizard Wizard Coding Club

CSS on Drupal Table View


Recommended Posts

I am trying to alter some of the CSS on the table I have www.sanssouciwebdesign.com/holytrinity/trinity_rooms I am able to alter the headers individually but not the table cells.

I would like to be able to centre the text in all the columns except the left hand column, I want that to stay left aligned. I have tried al-sorts of things, but only seem to be able to apply it to all columns.

 

Thanks Rosalind

Link to post
Share on other sites

A quick google for the missing quote turned up trumps on the theme I am using

 

<td class=<?php print $fields[$field]; ?>">

to

<td class="<?php print $fields[$field]; ?>">

 

all patched and now all working.

 

Thanks Ben

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...