DCSIMG
CSS challenge - YsA.Net

CSS challenge

Posted Friday, November 16, 2007 11:45 AM by ysa

This is a challenge for all you web designers and CSS experts/ hackers.

Check out this design :

image

Each panel has a margin between the parent of 10 pixels in each side. The red panels are also spaced by 10 pixels with each other.

And now for the challenge :

  • You need to create this design using CSS classes only.
  • Each panel can be a div or asp.net panel control.
  • The panel should adjust automatically when the window resizes - the white panel should always cover the browser content.
  • You can not use CSS expressions or JavaScript.
  • No scroll bars are shown.
  • The margins between the panels will always be 10 pixels.

I tried to implement this design, but didn't succeeded to to so by using CSS only.

Take your shoot!

תגים:,

Comments

# re: CSS challenge

Friday, November 16, 2007 12:45 PM by OhadAston

I did'nt understand what is the problem, it is pretty simple to implement

# re: CSS challenge

Friday, November 16, 2007 1:05 PM by OhadAston

# re: CSS challenge

Saturday, November 17, 2007 11:58 AM by alex.kom

# re: CSS challenge

Saturday, November 17, 2007 5:26 PM by OhadAston

There is a problem with IE6

# re: CSS challenge

Saturday, November 17, 2007 6:09 PM by alex.kom

What is the problem? I don't have an IE 6 near by to test it.

I guess its because I used the * that refers to all html tags.

You can change it to body instead.

Leave a Comment

(required) 
(required) 
(optional)
(required) 

Enter the numbers above: