help....please.....

rkalhans

New Member
Messages
33
Reaction score
1
Points
0
Interesting site,

this is my site
http://bluehedgehog.pcriot.com/index.html

now as you can see i have a side bar on the left with all my links in it, how exactly do i move the sidebar more to the left cause its almost in the middle and its pushing the stuff off the site.

pleaes helppp:hsughr:

Ne waz its easy
I guess you want all the content to be in the center.

use the following css class to wrap around the two columns

Code:
.centralwrapper
{
width:1000px; /*should be fixed take the width  equal to the sum of the two columns + padding +margins etc*/
height:auto;/* height to vary according to the content height*/
position:relative;
left:50%;
margin-left:-500px;  /*  should be half of the width */
}
Your html code becomes



HTML:
<html>
<head>
<!-- head here-->
</head>
<body>
<!-- markup for header goes here -->

<div class ="centralwrapper">
<!-- first column goes here -->

<!-- second column goes here -->


</div>

<!-- markup for footer goes here -->
</body>
</html>


Important :
This is a sample code layout, change according to your needs
 

remnightfal

New Member
Messages
25
Reaction score
0
Points
0
Interesting site,



Ne waz its easy
I guess you want all the content to be in the center.

use the following css class to wrap around the two columns

Code:
.centralwrapper
{
width:1000px; /*should be fixed take the width  equal to the sum of the two columns + padding +margins etc*/
height:auto;/* height to vary according to the content height*/
position:relative;
left:50%;
margin-left:-500px;  /*  should be half of the width */
}
Your html code becomes



HTML:
<html>
<head>
<!-- head here-->
</head>
<body>
<!-- markup for header goes here -->

<div class ="centralwrapper">
<!-- first column goes here -->

<!-- second column goes here -->


</div>

<!-- markup for footer goes here -->
</body>
</html>


Important :
This is a sample code layout, change according to your needs




You my dear friend are a genius :biggrin:



thank you so much :D
 

marshian

New Member
Messages
526
Reaction score
9
Points
0
Good point misson, I'd have to double that. The code looks nothing even near to valid. In fact it even renders wrong, the copyright statement is halfway the content...

The occasional "hack" using "<p>&nbsp;</p>", isn't of any importance to anyone, but this is just BAD.
You don't even need ANY of them, it's 'easy' to create the exact same lay-out (without the bugs) in decent HTML & CSS.

If you look at the errors generated by the w3c validator you'll also notice they're not innocent. (Although any warning/error of the validator should be resolved.)
eg:
line 92 column 9 - Error: ID "mainBody" already defined
line 100 column 25 - Error: document type does not allow element "font" here; assuming missing "li" start-tag
line 107 column 23 - Error: end tag for "li" omitted, but OMITTAG NO was specified

You should really fix that thing, it's not even far from close to the supposed standards.
 
Last edited:

garikr

New Member
Messages
46
Reaction score
0
Points
0
A couple of days ago the guy was asking of how to link to a different page. He's apparently a beginner. Give him a break, I don't think he even knows what validating is. We all had to start somewhere.
 

marshian

New Member
Messages
526
Reaction score
9
Points
0
A couple of days ago the guy was asking of how to link to a different page. He's apparently a beginner. Give him a break, I don't think he even knows what validating is. We all had to start somewhere.

Learning to use the validator is going to save him a lot of troubles later on.
 

remnightfal

New Member
Messages
25
Reaction score
0
Points
0
Learning to use the validator is going to save him a lot of troubles later on.

haha sory im still learning

There are alot of bugs on the site but im still working on it, like i havent advertised it yet or gave the link to any friends.

Once im finished with the theme and posting all the stuff on it there shouldnt be any errors.
 
Top