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
Help w/CSS on New site. Header Issue
Old 07-08-2009, 04:06 PM Help w/CSS on New site. Header Issue
Novice Talker

Posts: 12
Name: Brad
Trades: 0
Can someone tell me how I get my header/logo at the top to not repeat? I want to use a fixed size image at the top that has the company name and services as a .gif or .jpeg image. It's easy when working with tables but being new to CSS has me completely stumped. Any help would be great. http://www.dfwcreativegroup.com/


Thanks so much,
Sara
dfw2009 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 07-08-2009, 04:09 PM Re: Help w/CSS on New site. Header Issue
Super Moderator

Posts: 1,584
Location: Kokkola, Finland
Trades: 1
change this
body {background: #050811 url(images/back_all.gif) repeat-x;
font: 13px Tahoma, Verdana, Arial, Helvetica, sans-serif;
color: #333333;
}

to this
body {background: #050811 url(images/back_all.gif) no-repeat;
font: 13px Tahoma, Verdana, Arial, Helvetica, sans-serif;
color: #333333;
}
davemies is offline
Reply With Quote
View Public Profile Visit davemies's homepage!
 
Old 07-08-2009, 04:28 PM Re: Help w/CSS on New site. Header Issue
Novice Talker

Posts: 12
Name: Brad
Trades: 0
I did and this is what I get?

http://www.dfwcreativegroup.com/

Thanks for trying though. any other suggestions?
dfw2009 is offline
Reply With Quote
View Public Profile
 
Old 07-08-2009, 04:30 PM Re: Help w/CSS on New site. Header Issue
Super Moderator

Posts: 1,584
Location: Kokkola, Finland
Trades: 1
you have 2 sets of closing braces }}

body {



body {background: #050811 url(images/back_all.gif) no-repeat;

font: 13px Tahoma, Verdana, Arial, Helvetica, sans-serif;

color: #333333;

}

}
davemies is offline
Reply With Quote
View Public Profile Visit davemies's homepage!
 
Old 07-08-2009, 04:38 PM Re: Help w/CSS on New site. Header Issue
Novice Talker

Posts: 12
Name: Brad
Trades: 0
Still the same. This is my source css file. Am I just a idiot and missing something obvious? Thanks for the help again though.


*
{
margin: 0px;
padding: 0px;
}
a:link {
color: #ffffff;
}
a:hover {
text-decoration: none;
color: #ffffff;
}
a:visited {
color: #ffffff;
}
body {
body {background: #050811 url(images/back_all.gif) no-repeat;
font: 13px Tahoma, Verdana, Arial, Helvetica, sans-serif;
color: #333333;
}
#content
{
margin: 0 auto;
width: 942px;
}

#header {
height: 285px;
width: 682px;
}
#menu1
{
width: 682px;
height: 70px;
}
#menu
{
width: 682px;
height: 50px;
}
#menu ul {
list-style: none;
}
#menu li {

display: inline;

}
#main #menu a {
float: left;
width: 125px;
height: 30px;
display: block;
text-align: center;
text-decoration: none;
color: #ffffff;
font-weight: bold;
font-size: 14px;
text-transform: uppercase;
padding-top: 10px;
}
#main #menu a:hover {
width: 100px;
height: 45px;
color: #ff0000;
text-decoration: underline;
}

.more
{
text-align: right;
}

#logo {
width: 662px;
height: 118px;
text-align: right;
padding-right: 20px;
padding-top: 120px;
}

#logo H1 a {
text-decoration: none;
text-transform: lowercase;
font-style: italic;
font-size: 16px;
color: #ffffff;
}
#logo H2 a
{
font-size: 10px;
color: #ffffff;
}
#main
{
width: 942px;
background-repeat: no-repeat;
background-position: left;
}
#left
{
width: 260px;
padding-top: 355px;
background: url(images/feather_image.jpg) no-repeat;
color: #ffffff
}

#left H3
{
width: 300px;
height: 27px;
font-size: 14px;
font-weight: bold;
padding-left: 19px;
padding-top: 10px;
text-transform: uppercase;
color: #ffffff;
background: url(images/title.gif) no-repeat
}

#left ul {
list-style: none;
}
#left li ul {
border: 0px;
margin-left: 20px;
margin-bottom: 10px;
}
#left li li {
padding: 4px 15px;
background: url(images/small.gif) no-repeat left;
}
#left .title_back
{
padding: 10px;
}

#left a {
color: #ffffff;
}
#left a:visited {
color: #ffffff;
}
#left p
{
padding: 10px;
padding-left: 40px;
}

#calendar1 {
padding: 0 10px 20px 10px;
}
#calendar table {
width: 100%;
text-align: center;
}
#calendar thead {
}
#calendar tbody td {
border: 1px solid #F1F1F1;
}
#calendar #prev {
text-align: left;
}
#calendar #next {
text-align: right;
}
#calendar tfoot a {
text-decoration: none;
font-weight: bold;
}
#calendar #now {
background: #696969;
border: 1px solid #ff0000;
font-weight: bold;
color: #ffffff
}
#right
{
float: right;
width: 682px;
}
#right .box
{
border: 1px solid #C9C9C9;
background: #ffffff url(images/box_top.gif) repeat-x;
padding: 10px;
margin: 5px;
}
#right ol, #right ul
{
margin-left: 30px;
}
#right H4
{
margin: 0;
padding: 0px;
font-size: 12px;
color: #23609C;
}
#right a
{
color: #4889D7;
text-decoration: none;
}
#right p {
margin: 0;
padding: 0;
padding-bottom: 10px;
}
#right .date2 {
margin: 10px;
padding: 0;
padding-top: 5px;
}
#right h2 {
margin: 0;
padding: 0;
padding-top: 10px;
color: #4889D7;
}
.date {
text-align: right;
color: #4889D7;
font-size: 11px;
}
.date a {
color: #23609C;
}

#footer {
height: 60px;
clear: both;
padding-top: 30px;
background: url(images/footer.gif) repeat-x;
}
#footer p {
margin: 0;
font-size: 10px;
text-align: center;
color: #ffffff;
}
#footer a {
color: #ffffff;
}
dfw2009 is offline
Reply With Quote
View Public Profile
 
Old 07-08-2009, 04:42 PM Re: Help w/CSS on New site. Header Issue
Super Moderator

Posts: 1,584
Location: Kokkola, Finland
Trades: 1
this bit is wrong - take away the first bit
body {


body {
body {background: #050811 url(images/back_all.gif) no-repeat;
font: 13px Tahoma, Verdana, Arial, Helvetica, sans-serif;
color: #333333;
}

check your css here
http://jigsaw.w3.org/css-validator/

it's nearly midnight so i'm off to bed now
davemies is offline
Reply With Quote
View Public Profile Visit davemies's homepage!
 
Reply     « Reply to Help w/CSS on New site. Header Issue
 

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 1.02959 seconds with 12 queries