LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 01-23-2006, 07:41 PM   #1
Hockeyfan
Member
 
Registered: May 2004
Distribution: SuSe 10.0
Posts: 154

Rep: Reputation: 30
CSS Positioning


I am building a website where I use CSS instead of tables. I have most of the page the way I want it layed out. The only problem I have right now is I have a CSS Rule to create a left column. I have placed four nav flash buttons wilthin the rule. It seems that when I vew the page the left column is almost right aligned. I don't know how to fix this problem. If you want to quickly replicate my page, the way I have the DIV tags are as follows:
banner - location-leftcol-content


Any help would be appreciated.

Thanks,

Hockeyfan

Below is my CSS file

Code:
/* CSS Document */

html, body, ul, ol, li, p, h1, h2, h3, h4, h5, h6, form, fieldset {
margin: 0px;
padding: 0px;
border: 0px;
}
body {
font:"Times New Roman", Times, serif;
margin: 0px;
padding: 0px;
background-color:#94602d;
}
#banner {
	height:420px;
	background:url(images/logo.jpg) no-repeat;
	background-position: center;
}
#location {
height: 60px;
/*margin-left:245px;*/
background-position:center;
}
#location ul {
list-style:none;
margin-left:0px;
padding:0px;
}
#location li {
display:inline;
float:left;
margin-left:5px;
width:170px;
}
#leftcol {
float:left;
/*width:156px;*/
margin-top:60px;
/*margin-left:0px;*/
}
#content
{
margin-left:200px;
}
 
Old 01-24-2006, 11:52 AM   #2
Boby
Member
 
Registered: Feb 2004
Posts: 781

Rep: Reputation: Disabled
You can try out a tutorial on how to build a two column template with header and footer.
http://www.456bereastreet.com/lab/de...slayout/2-col/

Boby
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
torsmo positioning kurrupt Linux - Software 2 10-27-2004 04:50 AM
Need Help with positioning ICON on KDE3 misurauf Mandriva 4 10-07-2003 03:57 PM
Xvnc Positioning neophile Linux - Software 0 10-07-2003 10:55 AM
Xvnc Positioning neophile Linux - Games 0 10-07-2003 09:12 AM
Positioning with CSS in HTML PhilD Programming 7 08-26-2003 10:49 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration