|
|
|
|
Thread title: Crap Coder = Me |
|
|
|
|
|
Thread tools
Search this thread
Display Modes
|
|
04-04-2007, 07:15 PM
|
#1
|
Status: Member
Join date: Apr 2006
Location: Canada
Expertise:
Software:
Posts: 117
|
Crap Coder = Me
Ok so for the most part I did the css and xhtml coding but of course it never works out just how you planned it. I'm still fairly new to css and xhtml so if you see any errors and such when looking at my site please tell me.
So my problem is my content div seems to like to go overtop of my header div. I dont know why but it is really annoying if anyone can help me that would be awsome.
Heres the site:
http://www.casino-spot.com/
Heres the stylesheet:
http://www.casino-spot.com/style.css
Thankyou in advance.
|
|
04-04-2007, 07:21 PM
|
#2
|
Status: R'tard
Join date: Jan 2007
Location: USA
Expertise:
Software:
Posts: 2,959
|
I suggest lessons from the member "daz" at $15 an hour. I had them, and I have been coding for less and a week, but doing quite well. Andrew_R a great coder told me I was better than most, and I have been doing it for a week! So, Take some lessons from daz. He is great.
|
|
04-04-2007, 07:21 PM
|
#3
|
Status: Senior Member
Join date: Nov 2004
Location: Sweden
Expertise:
Software:
Posts: 857
|
try clearing your container.. or what div that hoolds the content.
clear: both;
didn't look to carefully but you are floating your header so i assume that would fix it
|
|
04-04-2007, 08:19 PM
|
#4
|
Status: Dediport Hosting
Join date: Jul 2006
Location: Berkshire
Expertise: programming, business
Software: Dreamweaver
Posts: 1,316
|
THIS POST IS A JOKE:
PHP Code:
<?php
$i = 0;
if ($i > 1) {
$array = array('dave' => 'noob', 'steve' => 'clever');
foreach($array as $key => $value){
echo 'The user '.$key.' is a '.$value.'! <br />';
} }
?>
/ End of joke
|
|
04-05-2007, 02:20 AM
|
#5
|
Status: Member
Join date: Apr 2006
Location: Canada
Expertise:
Software:
Posts: 117
|
Turns out the margin was pushing it below the content. Anyways problem solved thanks for everyones help.
|
|
04-05-2007, 02:32 AM
|
#6
|
Status: Request a custom title
Join date: Dec 2005
Location: Arizona
Expertise:
Software:
Posts: 5,200
|
Originally Posted by localhost
THIS POST IS A JOKE:
PHP Code:
<?php
$i = 0;
if ($i > 1) {
$array = array('dave' => 'noob', 'steve' => 'clever');
foreach($array as $key => $value){
echo 'The user '.$key.' is a '.$value.'! <br />';
} }
?>
/ End of joke
|
For one, that would never run. Second, "The user steve is a clever" doesn't make sense.
|
|
04-05-2007, 08:04 AM
|
#7
|
Status: Dediport Hosting
Join date: Jul 2006
Location: Berkshire
Expertise: programming, business
Software: Dreamweaver
Posts: 1,316
|
lol.. xi0s helped me make it to, so don't blame me hehe.. Why wouldnt it run?
|
|
04-05-2007, 10:55 AM
|
#8
|
Status: Request a custom title
Join date: Feb 2005
Location: The Netherlands
Expertise:
Software:
Posts: 2,616
|
$i = 0;
if ($i > 1) {
Well, $i isn't 1 or more, its zero. So that if statement wouldnt run if I'm correct. Haven't looked over the rest of the code :P
|
|
04-05-2007, 11:27 AM
|
#9
|
Status: Request a custom title
Join date: Jun 2005
Location: .in
Expertise:
Software:
Posts: 1,164
|
Yep, the if condition is false, so it wouldnt display anything.
|
|
|
|
|
|
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
|