Webmaster Forum

Go Back   Webmaster Forum > Web Development > Coding Forum

Coding Forum Problems with your code? Discuss coding issues, including JavaScript, PHP & MySQL, HTML & CSS, Flash & ActionScript, and more.


Reply
 
LinkBack Thread Tools Display Modes
Old 07-24-2008, 03:37 AM   #1 (permalink)
Contributing Member
 
Join Date: 07-19-08
Posts: 87
iTrader: 0 / 0%
Latest Blog:
None

Supercops is liked by many
CSS problem . help needed Urgently.

I am using css in my site and my site is aligned towards left and i want it in centre. please see www.cash81.com and i am also attaching the css code so that we can get the solution for this problem. I also want to make this some what colorfull like the light blue one in the background
Also please review / suggest a few changes in the css code and in the site

thanks

CSS code.

/* Online Business, free web template*/

body {
margin: 0;
padding: 0;
font-size: 100%;
text-align: left;
background: #e0e0e0;
color: #333;


}


/* Global styles */
* {margin: 0; padding: 0; border: 0;}
span {color: #00A2FF}
p, ul, p a, h2 {font-family: Arial, Helvetica, sans-serif}


/* Heading styles */
h1 {margin-left: 5px; font-family: Georgia, serif; color: #333; float: left; font-weight: normal; margin-left: 5px; font-size: 1.25em}
h1 a:link, h1 a:visited, h1 a:active {text-decoration: none; color: #333; font-weight: normal}
h1 a:link span, h1 a:visited span, h1 a:active span {text-decoration: none; font-weight: normal}
h1 a:hover {color: #00A2FF; text-decoration: none; font-weight: normal}
h1 a:hover span {color: #333; text-decoration: none; font-weight: normal}

h3 a, h3 a:link, h3 a:hover {font-weight: normal} /* styling for h3 heading links */
h4 a, h4 a:link, h4 a:hover, h5 a:link, h5 a:hover {font-weight: bold} /* styling for other heading links */

h2 {margin: 0; padding-left: 10px; font-size: 0.75em; background-color: #333; color: #fff; line-height: 2.0em} /* headings on black backgrounds */

h3, h4, h5 {font-family: Georgia, serif; margin: 20px 0 0 10px}
h3 {font-size: 1.25em; line-height: 1.25em; font-weight: normal}
h4 {font-size: 0.90em; line-height: 0.90em; font-weight: bold}
h5 {font-size: 0.70em; line-height: 0.70em; font-family: Arial, Helvetica, sans-serif; font-weight: bold} /* appears like bold paragraph text */



/* Text styles */
p {margin: 10px; font-size: 0.70em; line-height: 1.75em}

p.updated {margin-left: 10px; font-size: 0.60em; line-height: 0.60em; letter-spacing: 0.05em; color: #888}

#siteimg p { /* This is the large text in the site img div */
margin: 0 0 0 10px; /* removed usual top and bottom margin from paragraph to avoid layout breaking */
padding-left: 1px;
padding-top: 40px;
font-family: Georgia, serif;
font-size: 1.25em;
line-height: 1.50em;
font-weight: normal;
letter-spacing: -0.05em;
}

acronym {border-bottom: 1px dashed #333; cursor: help}

ul {margin-left: 10px; font-size: 0.70em; line-height: 1.75em; list-style: inside square}



/* Paragraph Links */
a {color: #00A2FF; font-weight: bold; text-decoration: none} /* The blue colour */
a:link {color: #00A2FF; font-weight: bold; text-decoration: none}
a:hover {color: #333; font-weight: bold; text-decoration: none}


/* Divs */

#container {
width: 770px; /* Suits an 800x600 page, allowing for scrollbar */
background: #fff;
overflow: hidden
}

#topbar { /* Top bar, can be used for extra links etc */
width: 770px;
height: 25px;
background: #333
}


#hdr { /* Header/Banner area */
width: 770px; /* Suits an 800x600 page, allowing for scrollbar */
height: 2.5em; /* Same as h1 line-height */
line-height: 2.5em;
background: #fff
}

#navbar { /* Main Navigation area */
width: 770px; /* Suits an 800x600 page, allowing for scrollbar */
height: 1.75em;
background: #f0f0f0; /* Light Grey */
}

#siteimg { /* Large Site Image */
width: 770px; /* Suits an 800x600 page, allowing for scrollbar */
height: 200px;
background: url('images/siteimage.jpg') #fff; /* Light Grey */
}



#lftcol {
float: left;
width: 600px;
background: transparent;
overflow: hidden
}


#rgtcol {
float: left;
width: 170px;
background: transparent;
overflow: hidden
}


#bttmbar { /* bottom bar, containing top button and copyright info etc */
float: right;
width: 770px;
height: 3em;
line-height: 3em;
background: #fff;
overflow: hidden
}


/* Main Navigation */
#nav ul {display: inline}

#nav li {display: inline}

#nav a {
line-height: 30px; /* same as height of nav bar */
margin-left: 10px;
display: inline;
font-weight: bold
}

#nav a span {color: #333}




/* Images */
img.rightimg {float: right; margin-left: 10px}
img.leftimg {float: left; margin-right: 10px}

img.languageimg {float: right; margin: 4px 2px 0 0} /* used for the language flags */
Supercops is offline  
Add Post to del.icio.us
Reply With Quote
Old 07-24-2008, 05:28 AM   #2 (permalink)
v7n Mentor
 
Tomassi's Avatar
 
Join Date: 01-26-06
Location: Amsterdam
Posts: 2,495
iTrader: 0 / 0%
Latest Blog:
None

Tomassi is a web professional of the highest orderTomassi is a web professional of the highest orderTomassi is a web professional of the highest orderTomassi is a web professional of the highest orderTomassi is a web professional of the highest orderTomassi is a web professional of the highest orderTomassi is a web professional of the highest orderTomassi is a web professional of the highest orderTomassi is a web professional of the highest orderTomassi is a web professional of the highest orderTomassi is a web professional of the highest order
Send a message via ICQ to Tomassi
put the whole site in a div and do margin:0 auto;
and in your body style do text-align:center;
__________________
I still got me a signature to fill
Tomassi is online now  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Coding Forum

Reply


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

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
using os-commerce 2.2 need help changing something URGENTLY!!!! CircleOfLinks Coding Forum 1 01-11-2008 06:45 PM
StyleSheet Expert Needed for blockquote problem.... sixty6 Blogging Forum 2 05-07-2006 08:36 AM
need help - urgently. busy_brain Web Hosting Forum 5 06-28-2004 11:14 PM


Sponsor Links
Get exposure! Contextual Links V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 08:36 AM.
© Copyright 2008 V7 Inc
Powered by vBulletin
Copyright © 2000-2009 Jelsoft Enterprises Limited.


Search Engine Optimization by vBSEO 3.3.0 ©2009, Crawlability, Inc.