...

View Full Version : div width and menu/content problem



Hoitjes
04-13-2009, 06:34 PM
hello,
I am busy to make a website. But I can figure some things out.

index:
http://teamrockracing.com/cmwdesigns/index2.php

stylesheet:
http://teamrockracing.com/cmwdesigns/style.css

The buttons places for the top menu don't act the way I want it. I have given them a width in the css but the don't apply that width...How can I fix this?

Another thing is that I want the place where the left menu has to come to be always the same heigth as the main content. Or the content to be as long as the menu. I made 2 images for both, and 2 bg images. But it's not working yet.

I hope someone can help.
Hoitjes

abduraooft
04-14-2009, 02:04 PM
Don't you know why tables for layout is very bad (http://www.hotdesign.com/seybold/)?

Hoitjes
04-14-2009, 02:59 PM
Wel yeah it's better not to use it but I thought this was a good in between, so I should code everything with div?

abduraooft
04-14-2009, 03:25 PM
Wel yeah it's better not to use it but I thought this was a good in between, so I should code everything with div?
Not really. You need to make a valid (http://validator.w3.org/docs/help.html#validation_basics) semantic markup (http://www.boagworld.com/technology/semantic_code_what_why_how/), without any divitis (http://csscreator.com/?q=divitis). :)

Hoitjes
04-14-2009, 06:43 PM
Hmm I don't know if I am up to that, I gave it a try and came up with this.

http://teamrockracing.com/cmwdesigns/index3.php
http://teamrockracing.com/cmwdesigns/style2.css

Now the thing is I can't get my footer right at the bottom:confused:
Anyone sees the problem?

@abduraooft
Is this better?



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum