Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Jan 2010
    Posts
    132
    Thanks
    52
    Thanked 0 Times in 0 Posts

    about width and pixel. fluid cause miss alignment

    guys I set my content width to 100% because I dont want to have a horizontal scroll over, but the problem was the element inside the content miss alignment if I minimize the browser, Is there any trick to have a 100% fixed width? so my element inside the %width in my content wont be miss align.

    Im working for a 100%width and margin 0 fadding 0 both left and right side. Its hard to calculate what width pixel I put to have a 100%width.

  • #2
    Senior Coder
    Join Date
    Jan 2011
    Location
    Missouri
    Posts
    4,105
    Thanks
    23
    Thanked 594 Times in 593 Posts
    Without code all I can do is guess. My guess is your using px on the elements inside of your 'content '. For responsive design to work all dimensions must be in percents.
    Evolution - The non-random survival of random variants.

    "If you leave hydrogen alone, for long enough, it begins to think about itself."


  •  

    Posting Permissions

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