www.webdeveloper.com
Results 1 to 2 of 2

Thread: faux columns without image

  1. #1
    Join Date
    Oct 2006
    Posts
    4

    faux columns without image

    hi, i am trying to fix the faux columns problem without using images that i found somewhere on the internet (can't remember where) while ago. however, the columns are stretching way pass my footer ,look here. hope someone can help me fix this as i don't know how to use the faux columns image on THIS type of design...i have my two columns on the right.if you know what i mean. really need help here.
    many thanks.

  2. #2
    Join Date
    Feb 2005
    Posts
    1,018
    But if you knew how to use faux columns with an image on this design you would? Its not that hard. Just make the background image and put in the container as a background.
    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <title>UPFRONTEC</title>
    <style type="text/css">
    html,body {
    margin:0;
    padding:0;
    }
    body{
    font: 76% arial,sans-serif;
    text-align:center;
    background: url(backg-image.jpg) fixed repeat-x;
    }
    p {
    margin:0 10px 10px;
    padding:0;
    }
    #container {
    width:700px;
    margin:10px auto;
    border:5px solid #FFF;
    text-align:justify;
    background:#F0F2EF url(contbg.gif) top right repeat-y;
    }
    #header h1 {
    height:80px;
    line-height:80px;
    margin:0;
    padding-left:10px;
    background: url(headerimage.jpg);
    }
    #content {
    width:400px;
    float:left;
    }
    #content p {
    line-height:1.4;
    }
    #navigation {
    width:150px;
    float:left;
    }
    #extra {
    width:150px;
    float:left;
    }
    #footer {
    text-align:right;
    clear:both;
    background:#333;
    color:#FFF;
    }
    #footer p {
    margin:0;
    padding:5px 10px;
    }
    </style>
    </head>
    <body>
    <div id="container">
    	<div id="header">
    		<h1>UPFRONTEC</h1>
    	</div>
    	<div id="content">
    		<p><strong>1) Content here.</strong> column long long column very long fill fill fill long text text column text silly very make long very fill silly make make long make text fill very long text column silly silly very column long very column filler fill long make filler long silly very long silly silly silly long filler make column filler make silly long long fill very.</p>
    		<p>very make make fill silly long long filler column long make silly silly column filler fill fill very filler text fill filler column make fill make text very make make very fill fill long make very filler column very long very filler silly very make filler silly make make column column </p>
    		<p>fill long make long text very make long fill column make text very silly column filler silly text fill text filler filler filler make make make make text filler fill column filler make silly make text text fill make very filler column very </p>
    		<p>column text long column make silly long text filler silly very very very long filler fill very fill silly very make make filler text filler text make silly text text long fill fill make text fill long text very silly long long filler filler fill silly long make column make silly long column long make very </p>
    	</div>
    	<div id="navigation">
    		<p><strong>2) Navigation here.</strong> long long fill filler very fill column column silly filler very filler fill fill filler text fill very silly fill text filler silly silly filler fill very make fill column text column very very column fill fill very silly column silly silly fill fill long filler </p>
    	</div>
    	<div id="extra">
    		<p><strong>3) More stuff here.</strong> column long make silly silly filler silly very very very long column filler fill make column make silly column fill silly column long make silly filler column filler silly long long column fill silly column very </p>
    	</div>
    	<div id="footer">
    		<p>Copyright &copy; Upfrontec 2006 </p>
    	</div>
    </div>
    </body>
    </html>
    Attached Images Attached Images
    Last edited by _Aerospace_Eng_; 11-01-2006 at 06:02 PM.
    If you can't handle the job then don't take the job or ask for help on it if you are getting paid for it.
    Web Developer's Handbook.::.Why Tables for Layout is Stupid?.::.Why I won't help you

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles