Jump to content

Slicing and coding a re-sizable box


biggieuk

Recommended Posts

That isn't really something that can be explained in one thread.

 

You basically just asked how to make a website from a .psd. There are many books that can tell you how to do this. Threads are more for clarifications of problems you are having, not learning from scratch.

Im not looking for this to be done for me, i am basically looking for advice on how to do this.

 

here is my current attempt:

 

box2.jpg

 

the Red & blue slices are CSS fills with either a border-top or border-bottom.

 

My HTML is:

 

<div id="box1">
<div id="box1-topleft"></div><div id="box1-topmiddle"></div><div id="box1-topright"></div>
<div id="box1-left"></div><div id="box1-middle"></div><div id="box1-right"></div>						
</div>

 

I have floated topleft,topmiddle,topright to the left and thats looks fine. I cannot seem to get the bottom half to line up though.

 

 

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.