Forum Moderators: open
See < sorry, no urls >
This is the code at the transition point:
</blockquote>
<div class="clearer"></div><!--useless attempt at fix-->
</div><!--ends middle column-->
<div id="right-sidebar">
<h2 class=sidebar-title>Contact Information </h2>
All clues will be greatly appreciated!
Georganna
[edited by: tedster at 2:01 am (utc) on July 26, 2008]
Trouble layout -
wrapper 900 pixels wide, margin and padding 0
each column 300 pixels wide, margin and padding 0
- this will probably result with the problem you are describing.
Workable layout
wrapper 900 pixels wide, margin and padding 0
each column 296 pixels wide, margin and padding 0
- this should resolve the problem.
Remember, the padding affects the <div> actual width, so if you have a div 300px wide with 5px padding, it is actually 310px wide (same with margins and borders).
Marshall
I do admit I have padding and margins set to make the text look right. Oh, please don't tell me I need to start from scratch! I'll keep your advice in mind, though. Thanks so much!
[edited by: tedster at 4:15 pm (utc) on July 26, 2008]
h1, h2, h3, h4, h5, h6, p {
margin: 0;
padding: 0;
}
h1, h2, h3, h4, h5, h6, p {
margin: 0 auto 10px auto;
padding: 5px;
}
for example.
And if you have images, it is always good to add
img {
border: none;
}
That can otherwise cause a problem too.
Marshall