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
A simple noob problem (position and background)
Old 02-21-2010, 11:31 AM A simple noob problem (position and background)
Moritz's Avatar
Average Talker

Posts: 24
Name: Daniel Moritz
Location: Sweden
Trades: 0
Hey, im really new to css/html. I've got this little problem with the site im making, that problem is that the banner doesnt line un in center with the other stuff. And the background is white in the corners. Simple to solve for someone who knows css/html.






The codes:

CSS

Code:
#container{
    background-image:url(images/bg.gif);
    background-repeat:repeat;
}

#logo{
    background-image:url(images/logo.gif);
    background-repeat: no-repeat;
    width:800px;
    height: 204px;
    right: 100px;
}


#menu{
    background-image:url(images/menubar.gif);
    background-repeat: no-repeat;
    width:688px;
    height:84px;
}

#textbox{
    background-image:url(images/textbox.gif);
    background-repeat:no-repeat;
    height:562px;
    width:692px;

}


#footer{
    background-image:url(images/footer.gif);
    background-repeat:no-repeat;
    width:685px;
    height: 40px;                v
}
HTML


HTML Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<link href="style.css" rel="stylesheet" type="text/css">
  <title>Exotic Gaming - Index</title>
</head>

<body>
<center>
    <div id="container">
        <div id="logo">
            </div>
        <br />


             <div id="menu">
                 Home              Fourm                            Media                          Radio
             </div>
             <br />

             <div id="textbox">
                  lol. Jag äger er alla  lol haha lol. Jag äger er alla  lol haha lol. Jag äger er alla  lol haha lol. Jag äger er alla  lol haha lol. Jag äger er alla  lol haha
             </div>
    <br />
             <div id="footer">
                 Copyright Daniel Katomi
             </div>

    </div>

 </center>

</body>

</html>
Moritz is offline
Reply With Quote
View Public Profile Visit Moritz's homepage!
 
 
Register now for full access!
Old 02-21-2010, 11:46 AM Re: A simple noob problem (position and background)
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,371
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
We cannot debug a picture. URI needed
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 02-21-2010, 11:55 AM Re: A simple noob problem (position and background)
Moritz's Avatar
Average Talker

Posts: 24
Name: Daniel Moritz
Location: Sweden
Trades: 0
http://exoticgaming.net/logo.gif

I hope thats what you ment. I feel like suck a noob >.<
Moritz is offline
Reply With Quote
View Public Profile Visit Moritz's homepage!
 
Old 02-21-2010, 01:22 PM Re: A simple noob problem (position and background)
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,371
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
URI of the SITE where we can see the problem.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 02-21-2010, 01:31 PM Re: A simple noob problem (position and background)
Moritz's Avatar
Average Talker

Posts: 24
Name: Daniel Moritz
Location: Sweden
Trades: 0
Lol, sorry.

Anyhow:

http://exoticgaming.net/zom/index.html
Moritz is offline
Reply With Quote
View Public Profile Visit Moritz's homepage!
 
Old 02-21-2010, 04:18 PM Re: A simple noob problem (position and background)
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,371
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
http://www.webmaster-talk.com/css-fo...r-website.html

get rid of the deprecated <center> tags for a start.

the "white in the corners" are pixels (anti-aliasing) left over from "rounding the corners" with transparency
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 02-21-2010, 05:47 PM Re: A simple noob problem (position and background)
Moritz's Avatar
Average Talker

Posts: 24
Name: Daniel Moritz
Location: Sweden
Trades: 0
Thank you for helping me center it all. Can you please tell me or refer me to a tutorial about what i did wrong when i got those "white in the corners"?
Moritz is offline
Reply With Quote
View Public Profile Visit Moritz's homepage!
 
Old 02-21-2010, 06:00 PM Re: A simple noob problem (position and background)
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,371
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
turn off anti-alising in whatever graphics tool you use (or zoom in closer when using an erase tool).
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 02-21-2010, 07:35 PM Re: A simple noob problem (position and background)
Moritz's Avatar
Average Talker

Posts: 24
Name: Daniel Moritz
Location: Sweden
Trades: 0
I cant find out how to disable anti-alising in my photoshop CS3.
Moritz is offline
Reply With Quote
View Public Profile Visit Moritz's homepage!
 
Reply     « Reply to A simple noob problem (position and background)
 

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