Jump to content


Photo

CSS question


  • Please log in to reply
6 replies to this topic

#1 formmailer

formmailer

    Sr. Member

  • Members
  • PipPipPipPip
  • 263 posts
  • 46

  • LocationHudiksvall, Sweden (but originally from The Netherlands)

Posted 17 November 2011 - 03:11 AM

Hi!

I am not sure if this is the right forum for my question that is actually quite PW unrelates (except for the fact that the site runs on PW). If not, I apologize and a moderator can hopefully move it.

My problem CSS related, but I can't seem to fix it (although I am sure it's just minor thing I am missing).

I added AddThis buttons after my body (content) and before the Comments section, but suddenly the Comments section moved to the botton, below under the sidebar containers. The cause is probably that the DIV doesn't fit where it's supposed to be. I assume it has something to do with the floating of the DIVs. I tried to solve it with an empty "clear: both;" DIV, but that didn't work (or I placed it at the wrong position).

You can see the problem on the following page: http://www.stockholm...ten/gamla-stan/

If someone can give me a clue on how to fix this I would be very grateful.

Thanks in advance,
Jasper


#2 apeisa

apeisa

    Hero Member

  • Moderators
  • 3,161 posts
  • 1712

  • LocationVihti, Finland

Posted 17 November 2011 - 03:56 AM

.social_buttons {
  margin: 20px 0 20px 10px;
  width: 450px;
  float: left; /* This is new */
}

I moved this to Pub. We don't have general webdev forum yet, but I am thinking Pub mostly like that.

#3 formmailer

formmailer

    Sr. Member

  • Members
  • PipPipPipPip
  • 263 posts
  • 46

  • LocationHudiksvall, Sweden (but originally from The Netherlands)

Posted 17 November 2011 - 04:02 AM

Thanks Antti for your reply.
I thought about posting in the Pub forum first, but thought it might be boring... talking about CSS in a Pub.  ;)

/Jasper

#4 apeisa

apeisa

    Hero Member

  • Moderators
  • 3,161 posts
  • 1712

  • LocationVihti, Finland

Posted 17 November 2011 - 04:54 AM

Thanks Antti for your reply.
I thought about posting in the Pub forum first, but thought it might be boring... talking about CSS in a Pub.  ;)


What? You mean there is more in live than web design?

#5 formmailer

formmailer

    Sr. Member

  • Members
  • PipPipPipPip
  • 263 posts
  • 46

  • LocationHudiksvall, Sweden (but originally from The Netherlands)

Posted 17 November 2011 - 08:20 AM

What? You mean there is more in live than web design?

I'm not sure... but some family members say so...  ;D

#6 ryan

ryan

    Reiska

  • Administrators
  • 7,810 posts
  • 6604

  • LocationAtlanta, GA

Posted 17 November 2011 - 09:20 AM

formmailer, try this:

#CommentForm_text {
    width: 75%; 
}


#7 formmailer

formmailer

    Sr. Member

  • Members
  • PipPipPipPip
  • 263 posts
  • 46

  • LocationHudiksvall, Sweden (but originally from The Netherlands)

Posted 17 November 2011 - 09:26 AM

Thanks everyone! Everything seems fine now.

//Jasper




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users