View Full Version : first time with divs - am i doing it right? / negative values?

10-31-2006, 09:33 AM

Im in the learning phase of designing with CSS, that's why i need some feedback from you experts here..

I tryed to achieve a look which you can see here

It all is as i wanted it to be, but i want to know did i think in right direction or did i complicate 2 much..? Is it ok to work with negative values also?

If there is any other way to achieve what i tried, please let me know in case someone would be so kind, thanks in advance!

Greetings from Winnipeg and thanks again!!

10-31-2006, 11:26 AM
Hi there,

Well, yes, it's perfectly fine to work with negative values. You can also have a negative margin and "drag" an element into a certain direction.
However, your HTML isn't quite correct yet.
At first you need a valid doctype (http://www.w3.org/QA/Tips/Doctype) in the beginning of your document. Secondly you should avoid using tables for layout. That's what CSS was invented for: to separate the markup from the style. And a layout certainly is part of the styling.
Look at http://csszengarden.com to see how one single page (without tables) can be styled multiple times. And for layout tips refer to http://bonrouge.com where you can find tutorials on severaly kinds of layouts.

Greetings to Winnipeg. :) (I've been there a while ago... pretty average city. :p )

10-31-2006, 03:05 PM
tnx!! :) ye i know about the tables and stuff, was just that i wanted to do this exact part to "know" if im doing it the right way. i guess wheni was deleting al the other stuff out of code, i deleted also the proper start of code. ;) you were in winnipeg? thats "wow" , cuz you are from germany as i see? (and i from slovenia).. so what were YOU doing here? :) (i went to visit a gf) :)))

tnx again!! also for the links! will digg into. (atm in reading stylin' with CSS book).