News:

Unnecessarily argumentative

Main Menu

HAF CSS Help

Started by Whitney, April 14, 2009, 06:00:22 PM

Previous topic - Next topic

Whitney

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;
}

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

Whitney

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.

joeactor

Ah... that makes sense - I see the difference.

If I find something else about the code I'll post it...

Whitney

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?

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...

Whitney

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

This program also lists out the line number to the left of each line

Whitney

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