Log in

View Full Version : CSS Woes



Beau
31-10-2007, 05:17 AM
Hi everyone,

First up, I should admit that I'm not really a layout kinda guy. I'm ok at CSS, however, getting things to align properly really:

Page: http://www.zocorp.com/argh/design.html

CSS: http://www.zocorp.com/argh/main.css

That looks and loads fine, but only for smaller resolutions. If someone with a reaaally big resolution loads it, the gap between the navigation and content gets huge! I don't know what I'm doing wrong... I've looked at it for ages, but still no ideas. If anyone could have a look, and give me any advice, I'd be most appreciative.

Thanks! :)

DeejayMachoo$
31-10-2007, 08:45 AM
try having a
LEFT id which flotes left
and a right one which flotes right then put the boxes in them?

RichardKnox
31-10-2007, 09:35 AM
You'll need a container DIV with a set width, eg in pixels or percent. Then have the left DIV and right DIV contained inside that eg



<div id="container">
<div id="left"></div>
<div id="right"></div>
</div>

Jamie.
31-10-2007, 02:08 PM
You'll need a container DIV with a set width, eg in pixels or percent. Then have the left DIV and right DIV contained inside that eg



<div id="container">
<div id="left"></div>
<div id="right"></div>
</div>

#left {
float:left;
width:;
}
#right {
float:right;
width:;
}
#container {
width:;
margin: 0 auto;
}


Margin: 0 auto; means center it ;)

Beau
01-11-2007, 09:42 AM
Thanks everyone! I had a play during Graphic Design at school today (well, it was KIND of design >_>), and got it working!

Muchos gracious!

DeejayMachoo$
01-11-2007, 09:55 AM
Thanks everyone! I had a play during Graphic Design at school today (well, it was KIND of design >_>), and got it working!

Muchos gracious!

Your welcome if i helped

Want to hide these adverts? Register an account for free!