Jump to content


  • Posts

  • Joined

  • Last visited

Community Answers

  1. PineSmokes's post in Method for removing statement at end of new url on logout was marked as the answer   
    Does it seem like a good idea at all to place a variable on every page with the link to itself that way in the header I can use the variable I set on the page that loaded the header, I could make it a session variable even $_SESSION['url'] then call it like:
    header('Location: '.$_SESSION['url'].'?activationsent=1'); Seems to be working fine, guess I solved this one by myself today
  2. PineSmokes's post in Scaling images inside div when page is shrunk was marked as the answer   
    I ended up finding the answer over here http://stackoverflow.com/questions/21103622/auto-resize-image-in-css-flexbox-layout-and-keeping-aspect-ratio it was answer by Omega and they provided an example using http://jsfiddle.net/93TPS/.
    My code now works perfect and I'm done working on this.
    Contact Test Page CSS:
    div#bannerImage { display: -webkit-box; display: -moz-box; display: -ms-flexbox; display: -webkit-flex; display: flex; -webkit-box-orient: horizontal; -moz-box-orient: horizontal; box-orient: horizontal; flex-direction: row; -webkit-box-pack: center; -moz-box-pack: center; box-pack: center; justify-content: center; -webkit-box-align: center; -moz-box-align: center; box-align: center; align-items: center; } .cell{ -webkit-box-flex: 1; -moz-box-flex: 1; box-flex: 1; -webkit-flex: 1 1 auto; flex: 1 1 auto; padding: 10px; margin: 10px; text-align: center; max-height:200px; } img { max-width:100%; max-height:200px; } Contact Test Page HTML:
    <div id="bannerImage"> <div class="cell"> <img src="../Assets/Pictures/Golden Wand/CutOut/Tools.png" alt="Tools"> </div> <div class="cell"> <img src="../Assets/Pictures/Golden Wand/CutOut/Angled Truck.png" alt="Truck"> </div> </div>
  3. PineSmokes's post in My div seems to be overflowing and the page seems to be a set size? was marked as the answer   
    Well, I guess another 45 minutes of work got it figured out.  Guess it's back to the php half of this page, it's pretty much done but now I need to go debug both the login and signup code.  Thanks for all the help, really appreciate it    I think my issue was with one of the classes not having margin-left:0; margin-right:0 then setting the actual div itself that was containing that div to center.  I was skipping the whole centering the div itself, I thought I could work 100% out of the CSS but I guess I was mistaken.  I also ended up throwing the bottom bar on the outside the next div and removed almost all the styling from inside that class, seemed to help after removing some styling.
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.