Is there a way to align the column names in a WebGrid to, say, #left? columnNames are just an OrderedCollection, not a WebElement that you can style as far as I can tell. Would this be done by creating a new style and setting cssClass for that grid? At which point I see nothing in DefaultWebStyle>>css24WebGrid that looks like font alignment!
Also, any CSS tips to put a nice, visible line between columns--making it an actual grid? I am using Aida5.6-np.53, with default WebGrid styles having the light yellow row hover color... Thanks, Rob _______________________________________________ Aida mailing list [hidden email] http://lists.aidaweb.si/mailman/listinfo/aida |
Le lundi 09 juin 2008 à 23:02 -0400, Rob Rothwell a écrit : > Is there a way to align the column names in a WebGrid to, say, #left? > columnNames are just an OrderedCollection, not a WebElement that you > can style as far as I can tell. Would this be done by creating a new > style and setting cssClass for that grid? At which point I see > nothing in DefaultWebStyle>>css24WebGrid that looks like font > alignment! Add this: table.webGrid { .... text-align: right; .... } > > Also, any CSS tips to put a nice, visible line between columns--making > it an actual grid? Hi Rob, try this: table.webGrid td {border: 1px solid #E4E4E4;} > > I am using Aida5.6-np.53, with default WebGrid styles having the light > yellow row hover color... About that, do you like the new WebGrid style? Did you prefer the old one? Cheers! Nico -- Nicolas Petton http://nico.bioskop.fr ___ ooooooo OOOOOOOOO |Smalltalk| OOOOOOOOO ooooooo \ / [|] -------------------------------- Ma clé PGP est disponible ici : http://nico.bioskop.fr/pgp-key.html _______________________________________________ Aida mailing list [hidden email] http://lists.aidaweb.si/mailman/listinfo/aida signature.asc (204 bytes) Download Attachment |
On Tue, Jun 10, 2008 at 10:48 AM, Nicolas Petton <[hidden email]> wrote:
Add this: I assume you can add left, center, right? try this: so, a 1 pixel solid border of the specified color, I bet... > I am using Aida5.6-np.53, with default WebGrid styles having the light I can see that CSS will need to be in my future plans! Thank you; I'll give this a try... Rob _______________________________________________ Aida mailing list [hidden email] http://lists.aidaweb.si/mailman/listinfo/aida |
On Tue, Jun 10, 2008 at 10:23 AM, Rob Rothwell <[hidden email]> wrote:
I tried getting rid of the border-collapse: collapse; in the table.webGrid portion, but then everything else looks all wrong! Rob _______________________________________________ Aida mailing list [hidden email] http://lists.aidaweb.si/mailman/listinfo/aida |
Free forum by Nabble | Edit this page |