Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I need help with my current website... I have all the dimensions set properly so it fits horrizontally aligned with the banner. But it has issues... the right image doesn't align... it just ends up below the middle image and idk what im doing wrong, can some1 help? my website is http://www.rscx.com/RSCXTESTING/ro . Please help!! I wanna do the best I can with this site.. THANKS!

You have a few problems.
To answer your question, you need to change the style for the "ads" DIV so it's using "float:left;" instead of "float:right;". That will fix it so it lines up correctly.
You might want to look at preventing the DIVs from wrapping when the browser window is resized so the entire page isn't shown (the browser is less than 1,008 pixels wide). To do this the best way (I believe) is to wrap all three columns (links, main, ads) inside another DIV with the style of "width:1020px;". This will give it a specific width so the browser doesn't wrap the columns.
You seem to have an extra </DIV> tag located right after the text "TeamEvolution</div>".
It might be good to change the top banner from being centered to staying in the top-left of the page. Do this by changing "no-repeat center" to "no-repeat top left" in that DIV's style.
I was surprised to see the CENTER tag in there with all the CSS. Don't use this tag.
You have a few other problems though. Instead of using the #ID referencing with CSS you should explicitly define tags and classes. For example, instead of saying #main to reference a DIV with the ID of "main" it would be better to change "#main" to "div.main" and then give the main DIV a class attribute of "main". By doing it this way it's a lot easier to define multiple elements with the same CSS styles (ID attributes are supposed to be unique). It's also easier to use inheritence.
Finally, use the W3 Validator to check for other problems. The results of your site are here. Note that they also show an extra DIV tag on line 62.

![]() |
Picture as a tooltip
|
Possible DNS Confusion
|

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |