Not signed in (Sign In)

SkillShare - A place to discuss Web Standards and Web Design topics

Categories

Vanilla 1.1.9 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorcalvinc
    • CommentTimeJul 5th 2006
     permalink
    Hello everybody, I'm currently making my own blog website. I got my basic layout set and currently struggling with making an css layout for my articles. My basic layout looks like this: on the top a big header where i will a little flashcontent, below the top i got a 2 column layout. The left side will be the maincontent where i will post my articles and on the left side the sidebar. This layout should be familar by most of you :).

    The problem is that I am now trying to make the layout for an article post. And i wanted it something like this :

    ----------begin----------------
    (Large) Title . . . . . . . . . . (small )category: category
    (small) date and time, posted by: blar

    Article starts here . . . .
    ----------end----------------

    These article "object" will reside in the #maincontent div i made ( the left colum ) I want to ask if someone can tell me how to style this the best, do i need extra divs for the articles? or can i just style the headers, P etc of the #maincontent div ??

    I want to pull the articles from ym database, will I have difficulities if I use divs for the articles inside the #maincontent div?

    thnx in advance
    • CommentAuthormista3
    • CommentTimeJul 5th 2006 edited
     permalink
    Try looking at the source code of http://alistapart.com/ for some inspiration, it's very nicely styled and is guaranteed to be semantic!

    They have each article in it's own <div class="item">, and the just use h4, h5 and p, which might work well for you as well, if you've used h1/h2/h3 already that is...
    • CommentAuthorcalvinc
    • CommentTimeJul 5th 2006
     permalink
    thnx for the tip, I will go check it right away ! I was planning to use divs for each article. But just have to figure out when pulling data with php how to automaicly loop the proces for each article.
  1.  permalink
    Drop me a line if you need help with the php part. I'm currently revising some code myself, and would be happy to help, since it seems that I have nothing else to do at the moment.
    • CommentAuthorcalvinc
    • CommentTimeJul 6th 2006
     permalink
    Thnx, will let ya know if i have troubles pulling the data from the database, I think it's the best that i finish all my css stuff with dummy text before pulling the real data from database.
    • CommentAuthormiminom
    • CommentTimeJul 12th 2010 edited
     permalink
    Thank you ... from your conversation here and that I obviously come in handy on my site http://pharmacyaffiliate.biz ... just a problem with the mapping code ... but I feel fixed now
Add your comments
    Username Password
  • Format comments as (Help)