Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
CSS problem . help needed Urgently.
Old 07-24-2008, 06:37 AM CSS problem . help needed Urgently.
Average Talker

Posts: 19
Name: Amit
Trades: 0
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 */
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
Supercops is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 07-24-2008, 09:06 AM Re: CSS problem . help needed Urgently.
Novice Talker

Posts: 14
Name: Rik Weber
Trades: 0
You'll find your answer in the sticky threads. In this very forum. At the top of the page. In bold letters.
__________________

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
bobming is offline
Reply With Quote
View Public Profile
 
Old 07-24-2008, 11:09 AM Re: CSS problem . help needed Urgently.
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
http://www.webmaster-talk.com/css-fo...r-website.html
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 07-25-2008, 12:12 PM Re: CSS problem . help needed Urgently.
Average Talker

Posts: 19
Name: Amit
Trades: 0
yes i got my answer. Sorry for the long post but was not aware that the answer is already writtened there . What a web site this is to help pplz like me.

thanks
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
Supercops is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to CSS problem . help needed Urgently.
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.14176 seconds with 12 queries