Jump to content


Photo
- - - - -

Add border messed up the responsive layout

CSS responsive

  • Please log in to reply
3 replies to this topic

#1 netmorerealtor

netmorerealtor

    Newbie

  • Members
  • Pip
  • 7 posts
  • Country: Country Flag

Posted 06 March 2013 - 01:03 PM

I have a simply responsive layout like

Please Login or Register to see this Hidden Content

.

 

The problem is if I try to add a 2px border all around class "block_bkgd", it messes up the grid layout.

 

What is the best CSS tips for fixing this problem?

 

Thanks!



#2 Danny

Danny

    Is Awesome!

  • Moderators
  • 16526 posts
  • LocationManchester, UK
  • Country: Country Flag

Posted 06 March 2013 - 01:51 PM

Hi,

 

Try this  structure instead.

 

Please Login or Register to see this Hidden Content



#3 netmorerealtor

netmorerealtor

    Newbie

  • Members
  • Pip
  • 7 posts
  • Country: Country Flag

Posted 06 March 2013 - 02:37 PM

Thank you, I will give it a try.



#4 James B

James B

    Advocate

  • Members

  • 5126 posts
  • LocationSurrey - UK
  • Country: Country Flag

Posted 06 March 2013 - 10:18 PM

Let us know if that worked for you :-)







Also tagged with one or more of these keywords: CSS, responsive