Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,472
There are 1673 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     HTML/XHTML/DHTML/CSS :

Crap Coder = Me

Thread title: Crap Coder = Me
Closed Thread    
    Thread tools Search this thread Display Modes  
04-04-2007, 07:15 PM
#1
Dave.H is offline Dave.H
Status: Member
Join date: Apr 2006
Location: Canada
Expertise:
Software:
 
Posts: 117
iTrader: 0 / 0%
 

Dave.H is on a distinguished road

Send a message via MSN to Dave.H

  Old  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
Vizon is offline Vizon - Click for my Image
Status: R'tard
Join date: Jan 2007
Location: USA
Expertise:
Software:
 
Posts: 2,959
iTrader: 21 / 100%
 

Vizon is an unknown quantity at this point

  Old

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
hjalmar is offline hjalmar
Status: Senior Member
Join date: Nov 2004
Location: Sweden
Expertise:
Software:
 
Posts: 857
iTrader: 11 / 100%
 

hjalmar is an unknown quantity at this point

  Old

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
localhost is offline localhost
localhost's Avatar
Status: Dediport Hosting
Join date: Jul 2006
Location: Berkshire
Expertise: programming, business
Software: Dreamweaver
 
Posts: 1,316
iTrader: 17 / 100%
 

localhost is on a distinguished road

  Old

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
Dave.H is offline Dave.H
Status: Member
Join date: Apr 2006
Location: Canada
Expertise:
Software:
 
Posts: 117
iTrader: 0 / 0%
 

Dave.H is on a distinguished road

Send a message via MSN to Dave.H

  Old

Turns out the margin was pushing it below the content. Anyways problem solved thanks for everyones help.

04-05-2007, 02:32 AM
#6
Andrew R is offline Andrew R
Status: Request a custom title
Join date: Dec 2005
Location: Arizona
Expertise:
Software:
 
Posts: 5,200
iTrader: 17 / 95%
 

Andrew R is on a distinguished road

  Old

Originally Posted by localhost View Post
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
localhost is offline localhost
localhost's Avatar
Status: Dediport Hosting
Join date: Jul 2006
Location: Berkshire
Expertise: programming, business
Software: Dreamweaver
 
Posts: 1,316
iTrader: 17 / 100%
 

localhost is on a distinguished road

  Old

lol.. xi0s helped me make it to, so don't blame me hehe.. Why wouldnt it run?

04-05-2007, 10:55 AM
#8
Sam Granger is offline Sam Granger
Status: Request a custom title
Join date: Feb 2005
Location: The Netherlands
Expertise:
Software:
 
Posts: 2,616
iTrader: 19 / 88%
 

Sam Granger is on a distinguished road

Send a message via MSN to Sam Granger

  Old

$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
PixelDawn is offline PixelDawn
PixelDawn's Avatar
Status: Request a custom title
Join date: Jun 2005
Location: .in
Expertise:
Software:
 
Posts: 1,164
iTrader: 32 / 100%
 

PixelDawn is on a distinguished road

Send a message via MSN to PixelDawn

  Old

Yep, the if condition is false, so it wouldnt display anything.

Closed Thread    


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed