Jump to content

CSS with certain pages SOLVED


t_bergman

Recommended Posts

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,

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • 1 year later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...