News:

Tekforums.net - The improved home of Tekforums! :D

Main Menu

Site layout help

Started by Pete, August 18, 2008, 22:01:29 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Pete

<%@ Master Language="VB" AutoEventWireup="true" %>



    Two column, fixed width CSS layout template
   


   <%-- Use this placeholder to embed page-specific markup in the of the document. --%>





   
       
           
           
 <%-- Leave blank. --%>

           
           

           

           

               
 
                    <%-- Page content goes here.  --%>                  
                   
               

                 
           

           
 <%-- Leave blank. --%>

       

   


logos.gif is fixed relative to the top of the page. I want it fixed relative to the stuff that goes in mainContent so it sits neatly at the bottom of the page.

wtf pls?
I know sh*ts bad right now with all that starving bullsh*t and the dust storms and we are running out of french fries and burrito coverings.

neXus

Hey m8, while I am at work now  I will sort this for you.
Easily for me could you do a screenshot of what it looks like now and what you exactly want.

It will be some position:relative on container and position fixed on the inside jobby.

Pete

Cheers mate, see attached. I want the green gif to sit neatly at the bottom there. That code is a master page so each page of the site uses it. The total height varies depending how much content there is so fixing it relative to the top is no good.
I know sh*ts bad right now with all that starving bullsh*t and the dust storms and we are running out of french fries and burrito coverings.

neXus

Was in crash as in thread m8, I will do this at lunch in work from scratch as you need a better format then that.

Main container, top section div with two inside that. The top div as a relative those inside absolutes and then a left right divs for the menu and main content and then the footer. Templates at work to use to do that that will be SEO compliant as well. Will take me 5 mins.

neXus

This what your after m8?

Any questions, feel free to ask, I put in some things like iphone icon code, the if IE for styles if you want IE only fixes etc.

Pete

Have a thankee pirate!

 :ptu:

I know sh*ts bad right now with all that starving bullsh*t and the dust storms and we are running out of french fries and burrito coverings.