Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Same-width div is different widths on separate pages

Posted on 2014-11-17
2
Medium Priority
?
236 Views
Last Modified: 2014-11-17
Hi,

On this page: mkmeals.com/responsive/index.html, the white section containing the text is the correct width.

However, on subsequent pages, such as mkmeals.com/responsive/low-sodium.html, the white section is a bit wide.

I've added a couple of screenshots to show what I mean.
The way it should look
Too wide.
From what I can ascertain, it is controlled by this CSS:

.col-md-10 {
    min-height: 840px;
    width: 83.3333%;
}

I guess I could change that to width: 82.5%, and on the one page use inline CSS to make it 83.3333%. But I am sure you more experienced experts will come up with a cleaner solution. Thanks.
Capture1.JPG
0
Comment
Question by:mel200
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 58

Accepted Solution

by:
Gary earned 2000 total points
ID: 40448419
On the first page you have margin-left:-10px inline
The second page doesn't have it.
0
 

Author Closing Comment

by:mel200
ID: 40448625
Thank you!
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

FAQ pages provide a simple way for you to supply and for customers to find answers to the most common questions about your company. Here are six reasons why your company website should have a FAQ page
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question