• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

CSS issue in Grails app, but question is on CSS

 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I did something and now my CSS doesn't quite work. I know that is vague.

Here is my issue. The body section for my list, edit, view, etc methods have the forms at the bottom of the page, not to the right of my left side menu.

So the typical header and footer, with a left menu and details to the right of the left menu. But instead the details is showing at the bottom of the page.

Here is my main.gsp


And here is a page that supplies the layoutBody for a list of news.


I'll put the css in another post to this thread, so if you don't want to look at it, skip the next post.

Thanks

Mark
 
Mark Spritzler
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My CSS

main.css



template.css



Thanks

Mark
 
Mark Spritzler
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I moved this from the Groovy/Grails forum, to see if you CSS experts can see what might be wrong with my css. Just ignore that the file type is .gsp, it is just like a .jsp page and CSS all works exactly the same.

Thanks

Mark
 
Mark Spritzler
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Not that anyone cares.

After 6 months of trying to solve this, I finally solved it.

Basically my table had

table {
border: 1px solid #ccc;
width: 100%
}

I changed the width to 79% and now it works.

Mark
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic