i did put that .. the same placve you put it in your code
Well it's because you have entered the URL completely wrong. The code you was given was 100% correct. You do not need to put in http://www.etc. You just need to use it like a simple A href link:
HTML Code:<link rel="stylesheet" href="http://www.nick.habbo-gossip.com/main.css" type="text/css" /> Should be <link rel="stylesheet" href="main.css" type="text/css" />
the reason i put in what i did is because it didnt work with the code you gave me
there i put the one you gave me, go check ,,, it doesnt work
Last edited by iNicks; 23-02-2006 at 10:06 PM.
Well then there is only one more question I can really think of. Is main.css and index file both in the same directory. Such as public_html otherwise I can't think of anything else and if it comes to the crunch you could use this code.
Edit: I have marked out how your header tag should look and also how main.css should look.HTML Code:<style type="text/css"> body{ margin-top: 0px; } </style>
And then your main.css.HTML Code:<head> <title>Your Title</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <link rel="main.css" type="text/css" href="main.css" /> </head>
HTML Code:body{ margin-top: 0px; }
Last edited by Raremandan; 23-02-2006 at 10:12 PM.
Ok.. Read this very carefully. Do NOT change any part of this code it is all correct linking to your external stylesheet.
In your code it appears you have changed rel="stylesheet" to rel="main.css" which is not right.HTML Code:<link rel="stylesheet" href="main.css" type="text/css" />
It's not difficult, and doesn't really need more than one post.
Put this just before your </head> tag:
Code:<style type="text/css"> <!-- body { margin-top: 0; } --> </style>
I have told him to do this once but so far he is being ignorant with his reading skills and simply does not understand the basics of CSS.
Ok Guru, shut up, ok I was pasting your god damn code, it didnt help ok?
And Nets, I tryed your code, it just wont work on my layout, iunno why, it worked on my old layout :I
Want to hide these adverts? Register an account for free!