iEntry 10th Anniversary Webforumz RegistrationAnnouncements Contact Webforumz StaffContact
Home Resources Blogs Meet the Team Contact Register
 

Go Back   WebForumz.com > The Code > HTML, XHTML and CSS

Reply
 
LinkBack Thread Tools
Old May 17th, 2007, 11:54 PM   #1
pdk
New Member
 

Join Date: Jan 2007
Location: ontairo
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 pdk is on a distinguished road
I still don't get faux columns.

hi, I've posted about this before, and I've been given some links, but I still can't for the life of me figure it out.

http://pdk.lolmaha.com/design/

I want to make the middle two columns (sidebar and main content) the same length down. Apparently this is really easy, but I'm retarded or something, I guess.

if someone could explain what I need to add, I'd really appreciate it.
pdk is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old May 18th, 2007, 03:05 AM   #2
New Member
 

Join Date: May 2007
Location: Sendai, Japan
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 BonRouge is on a distinguished road
Re: I still don't get faux columns.

For that design/layout, faux columns might not be the answer. You could possibly try something like this: http://bonrouge.com/~equalheightcss or maybe even some javascript: http://bonrouge.com/~fixH
BonRouge is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old May 18th, 2007, 09:09 AM   #3
Elite Veteran
 

Join Date: Sep 2006
Location: Pink House
Posts: 3,941
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 Lchad is a name known to all Lchad is a name known to all Lchad is a name known to all Lchad is a name known to all Lchad is a name known to all Lchad is a name known to all
Re: I still don't get faux columns.

PDK you are so funny!

:laughbounce3:Your alt tags are hysterical.

Let me see if I can explain this to you. Since you are right, you don't quite understand it yet.

With faux columns you must have a wrap div. The wrap div will have an image applied to it as the background. (see attachment on left)

That's where you would nest your side div and main div within the wrap div. Using margins, padding you can put the two nested div's right over the top.

Or you could use this second attachment the sliced up image as the wrap div's background and repeat-y.

So your side div and menu div do not get and colors or background images applied. You just enter text into those areas.

Is that better or more confusing?

Last edited by Lchad; June 17th, 2007 at 08:22 AM..
Lchad is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old May 18th, 2007, 07:46 PM   #4
Elite Veteran
 
Ryan Fait's Avatar
 

Join Date: May 2006
Location: Las Vegas
Posts: 3,784
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 Ryan Fait is a jewel in the rough Ryan Fait is a jewel in the rough Ryan Fait is a jewel in the rough Ryan Fait is a jewel in the rough
Re: I still don't get faux columns.

Code:
<div class="wrap">
  <div class="content">
    <p>Content. Content. Content.</p>
  </div>
  <div class="side">
    <p>Side content.</p>
  </div>
</div>
Code:
.wrapper {
  width: 700px;
  background: #000; /* The background color of the side bar assuming the sidebar will always be shorter than the content div. */ 
}
.content {
  width: 500px;
  background: #666;
  float: right;
}
.side {
  width: 200px;
  float: left;
}
Ryan Fait is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old May 18th, 2007, 10:03 PM   #5
pdk
New Member
 

Join Date: Jan 2007
Location: ontairo
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 pdk is on a distinguished road
Re: I still don't get faux columns.

I'm still really lost. I do have a wrap div, unless I'm doing it wrong.

here's my style.css

Code:
<style type='text/css'>
                body {
                   margin: 0;
                   padding: 5px;  
		   text-align: center; 
	         }
		body {
		 background: #660000 url('background.png'); repeat-y 50% 0; 

		}
		
                div {
                    font: 18px sans-serif;
                    color: white;
                    border: 1px solid black;
                    background: #660000;
                    height: 200px;
                    padding: 5px;
                
    		}

		div#wrap {
		margin: 20px auto;
		height: auto;
		width: 780px;
		text-align: left;
		background: transparent;	

		}		

		div#header {
		    height: auto;
		    width: 767px;
                    margin: 0 5px 5px 0;
                
		}
		div#column1 {
		    float: left;   
                    height: auto;
		    width: 150px;
                    margin: 0 5px 5px 0;
		
                }
                div#column2 {
                    
		    width: 600px;
		    margin: 5px 5px 5px 167px;
		 
                }
                div#footer {
                    height: 35px;
                    width: 767px;
		    margin: 0 0 0 0;
                    clear: both;
		
                }
</style>
pdk is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old May 19th, 2007, 06:11 PM   #6
Elite Veteran
 

Join Date: Sep 2006
Location: Pink House
Posts: 3,941
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 Lchad is a name known to all Lchad is a name known to all Lchad is a name known to all Lchad is a name known to all Lchad is a name known to all Lchad is a name known to all
Re: I still don't get faux columns.

Give me a little time and I'll try to make sense of this for you.. sorry to leave you hanging some how I missed this post.
Lchad is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old May 20th, 2007, 03:17 PM   #7
Elite Veteran
 

Join Date: Sep 2006
Location: Pink House
Posts: 3,941
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 Lchad is a name known to all Lchad is a name known to all Lchad is a name known to all Lchad is a name known to all Lchad is a name known to all Lchad is a name known to all
Re: I still don't get faux columns.

Here is a working faux columns example for you. If you copy and paste this into your program, it will work in Firefox. Did not text on other browsers.

Here is the css
Code:
body{
        margin: 0;
        text-align: center;
        background: #660000;
             }
        
  p {
        color: #FFFFFF;
        font: 14px Verdana, Arial, Helvetica, sans-serif;
        }    
  div#wraptop {
    margin: 0 auto;
    width: 780px;
    background: url(top.jpg) no-repeat;
    height: 19px;        

        }
  div#wrapmiddle {
    width: 780px;
    margin: 0 auto;
    background: url(middle.jpg) repeat-y;
    overflow:hidden;
        }    
  div#wrapbottom {
    width: 780px;
    margin:0 auto;
    background: url(bottom.jpg) no-repeat;
    height: 19px;
        }    

  div#header {
        height: auto;
        width: 780px;
        margin: 0 auto;
                
        }
   div#column1 {
        float: left;   
         height: auto;
         width: 146px;
         margin: 5px 10px 5px 20px;
         padding: 2px;
        
          }
  div#column2 {
            float:left;       
            width: 568px;
            margin: 5px 5px 5px 5px;
            padding: 2px;
         
             }
    div#footer {
                    height: 35px;
                    width: 780px;
                    margin: 0 auto;
                    clear: both;
        
                }
Here is the html obviously missing your header and footer graphics

Code:
<body>
<div id="header"><p>Here is your Header</p> </div>
<div id="wraptop"></div><!--end wrap top div -->
<div id="wrapmiddle">
    <div id="column1"><p>Here is your<br /> 
    column1 div </p></div>
    <div id="column2">
      <p>&nbsp;</p>
      <p>Here is your column2 div </p>
      <p>&nbsp;</p>
    </div><!--end column2 div -->
</div><!--end wrap middle div -->
    <div id="wrapbottom"></div>
</div><!--end wrap div -->
<div id="footer"><p>Here is your footer</p></div>
</body>

</html>
The graphics I created are attached as well.

See if this helps you understand how faux columns are done ok!


Last edited by Lchad; June 17th, 2007 at 08:22 AM..
Lchad is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old May 21st, 2007, 01:54 AM   #8
pdk
New Member
 

Join Date: Jan 2007
Location: ontairo
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 pdk is on a distinguished road
Re: I still don't get faux columns.

Oh god, I seriously feel stupid. I got yours to work (http://pdk.lolmaha.com/ughimsodumb), but when I tried applying this to my own, but without using a top wrap or bottom wrap, it looks really really bad.
pdk is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old May 21st, 2007, 07:52 AM   #9
Elite Veteran
 

Join Date: Sep 2006
Location: Pink House
Posts: 3,941
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 Lchad is a name known to all Lchad is a name known to all Lchad is a name known to all Lchad is a name known to all Lchad is a name known to all Lchad is a name known to all
Re: I still don't get faux columns.

Yeah.. that looks good!! Are you all set now?
Lchad is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Bookmarks

Tags
idiocy


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
2 columns alexgeek HTML, XHTML and CSS 2 August 14th, 2007 08:57 PM
3 Columns with CSS Pádraig Your Design and Layout 8 May 31st, 2007 06:32 AM
Three columns R8515198 HTML, XHTML and CSS 5 May 24th, 2007 04:16 PM
Faux Columns Problem - scolling up / down causes part of background image 2 disappear brianwilson71 HTML, XHTML and CSS 17 April 24th, 2007 09:34 PM
Faux column problems pdk HTML, XHTML and CSS 1 February 11th, 2007 10:24 AM


Search Engine Optimization by vBSEO 3.2.0 RC8