Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Help with a CSS file to be used for multiple pages.

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #178450
    Anonymous
    Inactive

    I am trying to combine the CSS for a site into one common CSS file that can be used for all pages. I am having trouble with one that appears to be an issue with either the the <div id="text"> and the <div class="slider"> and is causing the page to be 2 pixels longer than all the others.

    Is there a way to adjust the margin of the <div class="slider"> that won’t effect its position or that of the text while shortening the page length by 2 pixels.

    This must stay the same:

    #text { 
        padding:3px 5px 0 5px;

    Here’s a Codepen that I hope is helpful.

    Thanks!

    #178496
    Anonymous
    Inactive

    I guess I should have mentioned I had already tried to adjust the margins and other settings pertaining to the “slider”, but nothing helped. I have the same settings for every other page planned for the site and they all work fine. It’s only this page that has the issue, so in my mind it has to be the “slider” but no matter what I’ve tried, nothing helps.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.