Happy Atheist Forum

Getting To Know You => Ask HAF => Topic started by: Whitney on April 14, 2009, 06:00:22 PM

Title: HAF CSS Help
Post by: Whitney on April 14, 2009, 06:00:22 PM
If you open the portal using firefox the right side column drops to the bottom...what did I do wrong?  It looks fine in IE.  There is also an issue with the HAF logo image linking to the forum instead of back to the portal, yet again works properly in IE...but I think I can change things so that part works on both.

<!-- INCLUDE overall_header.html -->

<h2>Welcome To Happy Atheist Forum</h2>

<div class="panel">
   <div class="inner"><span class="corners-top"><span></span></span>

<div class="content">
<!--edit main content below here-->
<div class="portalcontainer">
<div class="portalcontent">
<script src="http://feeds2.feedburner.com/HappyAtheistForum?format=sigpro" type="text/javascript" ></script><noscript><p>Subscribe to RSS headline updates from: <a href="http://feeds2.feedburner.com/HappyAtheistForum"></a><br/>Powered by FeedBurner</p> </noscript>
</div>
</div>
<div class="portalsidebar">
<!-- IF S_DISPLAY_ONLINE_LIST -->
<!-- IF U_VIEWONLINE --><h3><a href="{U_VIEWONLINE}">{L_WHO_IS_ONLINE}</a></h3><!-- ELSE --><h3>{L_WHO_IS_ONLINE}</h3><!-- ENDIF -->
{LOGGED_IN_USER_LIST}
<!-- IF not S_IS_BOT --><br /><br />
{USERS_24HOUR_TOTAL}: <!-- BEGIN lastvisit -->{lastvisit.USERNAME_FULL}<!-- IF not lastvisit.S_LAST_ROW -->, <!-- ENDIF --><!-- END lastvisit -->
<!-- ENDIF -->
<!-- IF LEGEND --><br /><em>{L_LEGEND}: {LEGEND}</em><!-- ENDIF -->
<!-- ENDIF -->
</div>
<!--edit main content above here-->
   </div>

   <span class="corners-bottom"><span></span></span></div>
</div>

<!-- INCLUDE jumpbox.html -->

<!-- INCLUDE overall_footer.html -->

/* Portal proSilver Markup Styles
---------------------------------------- */
}
div.portalcontainer
{
width:100%;
float:left;
margin-right: -160px;
}

}
div.portalcontent
{
margin-right: 160px;
font-size: 14px;
}

div.portalsidebar
{
width:150px;
float:right;
font-size: 12px;
}
Title: Re: HAF CSS Help
Post by: joeactor on April 14, 2009, 06:36:25 PM
... quick glance, I'm not seeing anything too strange in the code.
I don't have FireFox to check, tho.

BTW, by "Portal", do you mean the main page?
I'm not glomming onto this terminology yet...

What's the distinction between the Portal and the Forum?
(maybe I'm not me?)

JoeActor
Title: Re: HAF CSS Help
Post by: Whitney on April 14, 2009, 06:42:41 PM
Quote from: "joeactor"... quick glance, I'm not seeing anything too strange in the code.
I don't have FireFox to check, tho.

BTW, by "Portal", do you mean the main page?
I'm not glomming onto this terminology yet...

What's the distinction between the Portal and the Forum?
(maybe I'm not me?)

JoeActor

Portal is a term commonly used on PHPBB which refers to the main entry page that visitors land on prior to entering the forum.  The forum main page is the "index" file.   The forum is everything we had going prior to adding the portal.
Title: Re: HAF CSS Help
Post by: joeactor on April 14, 2009, 06:48:20 PM
Ah... that makes sense - I see the difference.

If I find something else about the code I'll post it...
Title: Re: HAF CSS Help
Post by: Whitney on April 14, 2009, 07:12:55 PM
Maybe I'll just install this portal mod I downloaded.  I don't like everything about how it looks.  But, it might be easier to adjust it to what  I want than build from scratch.

edit:

Stupid question.  When editing code how do I know what line number something is on in wordpad or notepad?
Title: Re: HAF CSS Help
Post by: joeactor on April 14, 2009, 07:43:26 PM
Quote from: "Whitney"Stupid question.  When editing code how do I know what line number something is on in wordpad or notepad?
Notepad has a "View Statusbar" menu item that shows the line at the bottom...
Title: Re: HAF CSS Help
Post by: Whitney on April 14, 2009, 08:19:00 PM
Quote from: "joeactor"
Quote from: "Whitney"Stupid question.  When editing code how do I know what line number something is on in wordpad or notepad?
Notepad has a "View Statusbar" menu item that shows the line at the bottom...

Thanks, I've never had to find a line of code before like that, ususally i use find.

Oh and let's just forget that i screwed up the board for 15 minutes...i coded something incorrectly and couldn't get to the admin control panel to refresh; so i had to find out how to do it. :blush:

edit:

When messsing up the froum for a second time today, i learned you have to have a special program to save php language files  http://notepad-plus.sourceforge.net/uk/site.htm (http://notepad-plus.sourceforge.net/uk/site.htm)

This program also lists out the line number to the left of each line
Title: Re: HAF CSS Help
Post by: Whitney on April 17, 2009, 01:40:55 AM
Quote from: "Whitney"/* Portal proSilver Markup Styles
---------------------------------------- */
}
div.portalcontainer
{
width:100%;
float:left;
margin-right: -160px;
}

}
div.portalcontent
{
margin-right: 160px;
font-size: 14px;
}

div.portalsidebar
{
width:150px;
float:right;
font-size: 12px;
}

I fixed it...the red highlighted portions were wrong