t_bergman Posted March 4, 2013 Report Share Posted March 4, 2013 I'm not sure what is up with my css but its acting weird and maybe someone might know whats going on. When I access most of my website everything acts normal like it should. When I access certain pages like the details of a flight (http://ams.hphvirtua...dules/details/1) the right content pane ends up at the bottom of the page, while when I access the homepage (http://ams.hphvirtual.com/index.php/) everything works as normal. I am not sure which css style sheet the schedule detail is feeding from, I have tried editing the table width in the .tpl file to no avail. Thanks, Quote Link to comment Share on other sites More sharing options...
Tom Posted March 4, 2013 Report Share Posted March 4, 2013 Your divs are closed incorrectly. On the example given rightcontent is inside leftcontent. Quote Link to comment Share on other sites More sharing options...
t_bergman Posted March 4, 2013 Author Report Share Posted March 4, 2013 Your divs are closed incorrectly. On the example given rightcontent is inside leftcontent. Right content and left content are side by side, then there are divs within them. Here's my code, Im not quite sure which div's are not closed properly. <div id="pageContent"> <div id="leftColumn"> <div id="navMenu"> <p style="text-align:center; font-family:Impact, Haettenschweiler, Arial Narrow Bold, sans-serif; color:#02335C; font-size:large; line-height: 0px;">Navigation</p> <?php Template::Show('core_navigation.tpl'); ?> <hr /> <?php MainController::Run('Pages', '__call', 'navigation', ''); ?> </div> </div> <div id="rightColumn"> <div id="leftContent"> <div id="mail"> <?php MainController::Run('Mail', 'checkmail'); ?> </div> <div id="contentFrame"> <?php echo $page_content; ?> </div> </div> <div id="rightContent"> <p style="text-align:center; font-family:Impact, Haettenschweiler, Arial Narrow Bold, sans-serif; color:#02335C; font-size:large; line-height:0px;">VATSIM Info</p> <div id="fllAreaATC"> <p style="text-align:left; font-family:Impact, Haettenschweiler, Arial Narrow Bold, sans-serif; color:#0078C0; font-size:medium; line-height:0px;">FLL Area ATC</p> <?php MainController::Run('Vatsim', 'create_vatsim_data', '!CLIENTS:', 'ATC', array('KFLL', 'MIA')); ?> </div> <div id="hphFlights"> <p style="text-align:left; font-family:Impact, Haettenschweiler, Arial Narrow Bold, sans-serif; color:#0078C0; font-size:medium; line-height:0px;">HPH Flights</p> <?php MainController::Run('Vatsim', 'create_vatsim_data', '!CLIENTS:', 'PILOT', 'HPH'); ?> </div> <p style="text-align:center; font-family:Impact, Haettenschweiler, Arial Narrow Bold, sans-serif; color:#02335C; font-size:large; line-height:0px;">PIREPS/Members</p> <div id="recentPIREPS"> <p style="text-align:left; font-family:Impact, Haettenschweiler, Arial Narrow Bold, sans-serif; color:#0078C0; font-size:medium; font-weight:100;">Recent PIREPS</p> <?php MainController::Run('PIREPS', 'RecentFrontPage', 5); ?> </div> <div id="newMembers"></div> <p style="text-align:left; font-family:Impact, Haettenschweiler, Arial Narrow Bold, sans-serif; color:#0078C0; font-size:medium; font-weight:100;">New Members</p> <?php MainController::Run('Pilots', 'RecentFrontPage', 5); ?> </div> <?php // <p style="text-align:left; font-family:Impact, Haettenschweiler, Arial Narrow Bold, sans-serif; color:#0078C0; font-size:medium; font-weight:100;">Users Online</p> // <?php count($usersonline = StatsData::UsersOnline()); ?> </div> </div> </div> Thanks for taking the time to look at this. Quote Link to comment Share on other sites More sharing options...
Tom Posted March 4, 2013 Report Share Posted March 4, 2013 Inside the content for that page you'll have a </div> missing which means the leftContent isn't closed. Quote Link to comment Share on other sites More sharing options...
t_bergman Posted March 5, 2013 Author Report Share Posted March 5, 2013 I found the extra div, now that I took that out and cleared my browsers cache it is still not populating properly. Any Ideas? Thanks Quote Link to comment Share on other sites More sharing options...
Tom Posted March 5, 2013 Report Share Posted March 5, 2013 Sure it was the right one? Quote Link to comment Share on other sites More sharing options...
t_bergman Posted March 9, 2013 Author Report Share Posted March 9, 2013 Im pretty sure it was the right one, I've got a free day and hopefully I can get this tracked down. Its really weird that is only happens on the schedule details page. I've been exploring my entire sight and it doesn't seem to do it anywhere else. Quote Link to comment Share on other sites More sharing options...
t_bergman Posted March 9, 2013 Author Report Share Posted March 9, 2013 I fixed it!, I removed line 2 of schedule_details.tpl <div class="indent"> 1 Quote Link to comment Share on other sites More sharing options...
RocketRod Posted March 26, 2014 Report Share Posted March 26, 2014 Thank You Tom! That was my fix also. Just one page not showing correctly. Drove me batty! I checked line-by-line of the original install files to mine to see if anything was amiss and it wasn't. but commenting out that line did the trick for me also. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.