Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Nov 2005
    Location
    Eurpoe/Slovenia
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    first time with divs - am i doing it right? / negative values?

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

  • #2
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,781
    Thanks
    6
    Thanked 1,022 Times in 995 Posts
    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 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. )

  • #3
    New to the CF scene
    Join Date
    Nov 2005
    Location
    Eurpoe/Slovenia
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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).


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •