Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Same-width div is different widths on separate pages

Posted on 2014-11-17
2
Medium Priority
?
263 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
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Although a lot of people devote their energy toward marketing for specific industries, there are some basic principles that can be applied to any sector imaginable. We’ll look at four steps to take and examine how those steps were put into action fo…
Without even knowing it, most of us are using web applications on a daily basis.  In fact, Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We generally confuse these web applications to…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…

916 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