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
Problem CSS display banner
Old 11-17-2010, 03:49 AM Problem CSS display banner
Banned

Posts: 17
Name: new york
Trades: 0
Hello

I have a small problem in the tutorial of the CSS (see below).
Code:
body
{
   width: 760px;
   margin: Self; / * To center our page * /
   margin-top: 20px; / * To avoid sticking with the top of the browser window. Try to show off! * /
   margin-bottom: 20px;    / * Ditto for the bottom of the browser * /
   background-image: url ("images / fond.png); / * A little background image to avoid having an old white background: p * /
}
<code type="Css">
edson1314 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 11-17-2010, 06:18 AM Re: Problem CSS display banner
Gakoyu Ojima's Avatar
Skilled Talker

Posts: 59
Location: Netherlands.
Trades: 0
What is not displaying properly? You'd have to be specific.

Also, why is margin set to self? If you want to center it, set it to auto.

Code:
margin: 20px auto;
__________________
$gocore = new gakoyucore();
$con = mysql_connect($gocore->server, $gocore->username, $gocore->password) or die(mysql_error());
Gakoyu Ojima is offline
Reply With Quote
View Public Profile
 
Old 11-17-2010, 09:27 AM Re: Problem CSS display banner
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Exactly, there is no such thing as margin: self; !!
__________________
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 11-19-2010, 05:30 AM Re: Problem CSS display banner
Banned

Posts: 408
Name: mushget
Trades: 0
what's wrong with the css file., you can post your site link
mushget is offline
Reply With Quote
View Public Profile Visit mushget's homepage!
 
Old 11-22-2010, 10:38 AM Re: Problem CSS display banner
CSM
CSM's Avatar
Front-End Developer

Posts: 297
Name: Michael Pehl
Location: Palma de Mallorca
Trades: 0
What is
Code:
<code type="Css">
?

This line
Code:
background-image: url ("images / fond.png);
will never show the graphic...
__________________
Chief Web Officer / Front-End Developer / System Engineer

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
CSM is offline
Reply With Quote
View Public Profile Visit CSM's homepage!
 
Reply     « Reply to Problem CSS display banner
 

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