Submit Your Article 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 July 2nd, 2009, 03:17 PM   #1
New Member
 

Join Date: May 2009
Location: uk
Age: 37
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 speed is on a distinguished road
Adding columns to page

www.elitetradesmen.com

I've now got almost everything how i want on my site but i'm considering putting some sort of background image where the white is or should i just leave it the way it is.

Also thinking of putting a column either side to fill up the white space, in these columns i can then add adverts for various companies. Is this going to be easy to do and if it is how do i go about it. If anyone knows of any site laid out similar to what i've suggested a link would be appreciated.
speed 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 July 3rd, 2009, 05:29 AM   #2
New Member
 

Join Date: Jul 2009
Location: Leeds
Age: 26
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 junior is on a distinguished road
Re: Adding columns to page

I don't know of any sites that are like what you are suggesting but the obvious answer is to use CSS to create the three columns, left and right for the adverts and the centre one for the main content. You would possibly have issues when the browser is reduced to a smaller window but it is something that would take work.....

Example...

CSS

body {
background-color: #ffffff;
color: #000000;
font-family: arial;
padding-left: 45px;
width: 900px;
}
#boxl {
width: 100px;
height: 500px;
background-color: #FFFFCC;
padding-top: 25px;
margin: 2px;
border-top: 2px outset #CCCCCC;
border-left: 2px outset #CCCCCC;
border-right: 2px outset #999999;
border-bottom: 2px outset #999999;
float: left;
}
#box2 {
width: 600px;
height: 500px;
background-color: #FFFFCC;
padding-top: 25px;
margin: 2px;
border-top: 2px outset #CCCCCC;
border-left: 2px outset #CCCCCC;
border-right: 2px outset #999999;
border-bottom: 2px outset #999999;
float: left;
}
#boxr {
width: 100px;
height: 500px;
background-color: #FFFFCC;
padding-top: 25px;
margin: 2px;
border-top: 2px outset #CCCCCC;
border-left: 2px outset #CCCCCC;
border-right: 2px outset #999999;
border-bottom: 2px outset #999999;
float: left;
}

HTML

<html>
<head>
<title> </title>
<link href="example.css" type="text/css" rel="stylesheet">
</head>
<body>
<div id="boxl">
</div>
<div id="box2">
</div>
<div id="boxr">
</div>
</body>
</html>

Change the sizes colours etc, put your main content in the Box2 div and there you have it.

Last edited by junior; July 3rd, 2009 at 05:38 AM.. Reason: created example
junior 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


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
Adding navigation bar to page? akhlaq768 HTML, XHTML and CSS 7 August 15th, 2008 11:44 AM
Adding a new page crackafaza PHP 7 February 8th, 2008 06:08 PM
Adding a new page...quick way to add to navigation bar? jotto Your Design and Layout 11 September 23rd, 2007 01:05 PM
2 columns alexgeek HTML, XHTML and CSS 2 August 14th, 2007 07:57 PM
3 Columns with CSS Pádraig Your Design and Layout 8 May 31st, 2007 05:32 AM


Search Engine Optimization by vBSEO 3.2.0 RC8