1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

left column all the way

Discussion in 'CSS' started by Liminal, Mar 28, 2005.

  1. #1
    hello all,

    i am hoping there is a quick fix for this so that i don't need to revisit the whole CSS.

    here is the page: http://devbistro.com/test.jsp

    i'd like to make the box in the upper-left to extend all the way to the footer.

    any advice?

    thanks,
    james
     
    Liminal, Mar 28, 2005 IP
  2. sponk

    sponk Peon

    Messages:
    85
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Just add another layer that holds all your main content (which will be to the right of the "Stuff" box) and define the following CSS:

    
    	#main-content {
    		float: right;
    		display: block;
    	}
    
    Code (markup):
    so it would be like this ...

    
    	<div id="stuff">
    	stuff here<br/>
    	stuff here<br/>
    	stuff here<br/>
    
    	stuff here<br/>
    	stuff here<br/>
    	stuff here<br/>
    	stuff here<br/>
    	stuff here<br/>
    	stuff here<br/>
    
    	stuff here<br/>
    	stuff here<br/>
    </div>
    
    [B]<div id="main-content"><!-- Begin Main Content -->[/B]
    
    	<div class="nav padded link-nav">
    .....
    .....
    .....
    <i><a href="mailto:links@devbistro.com">Suggest a link &gt;&gt;</a></i>
    </p>
    </div>
    
    [B]</div><!-- End Main Content -->[/B]
    
    Code (markup):
     
    sponk, Mar 28, 2005 IP
  3. Liminal

    Liminal Peon

    Messages:
    1,279
    Likes Received:
    63
    Best Answers:
    0
    Trophy Points:
    0
    #3
    sponk,

    thanks a lot but it did not work :-/ (see the resulting page)
     
    Liminal, Mar 28, 2005 IP
  4. sponk

    sponk Peon

    Messages:
    85
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Hmm.. am I correct to assume that by "the box in the upper-left" you are referring to the "stuff" layer (i.e.<div id="stuff">...</div>)?

    If so, I tried the aformentioned code and it worked.

    I just attempted to look at your source to post a full working html file, but it seems you removed the file already.
     
    sponk, Mar 28, 2005 IP
    Liminal likes this.
  5. Liminal

    Liminal Peon

    Messages:
    1,279
    Likes Received:
    63
    Best Answers:
    0
    Trophy Points:
    0
    #5
    hey sponk. you are right. it works!

    thanks a lot
    james
     
    Liminal, Mar 28, 2005 IP
  6. sponk

    sponk Peon

    Messages:
    85
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    nice that it works :)
     
    sponk, Mar 28, 2005 IP