SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Evangelist cgacfox's Avatar
    Join Date
    Feb 2005
    Location
    Colorful Colorado
    Posts
    412
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Pondering how to set this up with CSS

    I have been working on a site for a client and the particular page I am working on now is an events page. The layout for the content was given to me by my client and I am trying to think of a clean way to sort it out. The page is at http://foxdenwebsolutions.com/wingsofhope/events.html. The attachment is what the client sent me. I will only being using up to the part where the person fills out ticket info. I am building a form for that, which I am also struggling with as what I have is NOT HTML 5 compliant so any help there would be nice. I have added a bunch of spaces to try to format but that is just ugly to me and don't like to clutter my code so much.

    Any suggestions would be greatly appreciated. Thanks.

    wohpcr - 4-25 program.doc

  2. #2
    SitePoint Evangelist cgacfox's Avatar
    Join Date
    Feb 2005
    Location
    Colorful Colorado
    Posts
    412
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Wow this is a first. Lots of views but no one can give me suggestions of how to style this? Right now and I have a bunch of ugly space code. I was thinking maybe set it up in a table? There has to be a better way. And never mind about the form. I wasn't thinking right. It is error free now. It had nothing to do with HTML 5. I was missing some controls.

  3. #3
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,175
    Mentioned
    454 Post(s)
    Tagged
    8 Thread(s)
    Quote Originally Posted by cgacfox View Post
    Lots of views but no one can give me suggestions of how to style this?
    Personally, I don't like to open Word docs from the web (security and all that). It's better to post a screen shot.

    That answer to whether or not to lay out a page with tables is always a flat No.

  4. #4
    SitePoint Evangelist cgacfox's Avatar
    Join Date
    Feb 2005
    Location
    Colorful Colorado
    Posts
    412
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Sorry.....I did work it out....I hope. I did different p classes for it to work. Check it out on the events page and let me know if this looks good. Thanks.

  5. #5
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,175
    Mentioned
    454 Post(s)
    Tagged
    8 Thread(s)
    It works OK, although it's a bit inefficient to add classes to each paragraph. I'd be inclined to wrap groups of paragraphs in divs with special classes. So, for example, if you have a div with a class of .benefit, you can put padding on that and then dump as many <p>s into that as you like, without having to add classes to each one.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •