...

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



quepao
10-31-2006, 08:33 AM
Hi!

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

http://212.18.63.77/sccc2/test.html

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!!

VIPStephan
10-31-2006, 10: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 )

quepao
10-31-2006, 02: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).



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum