News: PHP Video Tutorials Coming Soon! 18.12.08 Around 9PM GMT
Pages: 1 [2]
  Print  
Author Topic: CSS Game Interface  (Read 176 times)
votter
Donkey Kong Jr.
**

Karma: +0/-0
Posts: 67


View Profile
« Reply #15 on: November 02, 2008, 05:01:52 PM »

Ok, but what would you recommend using, as in tags?
Logged

Forum Spy
de.monkeyz
Administrator
Code Baboon
*****

Karma: +6/-1
Posts: 113



View Profile WWW
« Reply #16 on: November 02, 2008, 05:06:04 PM »

I don't recommend anything. Every tag has a use, a div is a divider, to group a large chunk of content together under one element. Lists are useful for lists, and navigation. You'll have to learn what to use in the situation. My site uses too many divs as well, which is why I want to recode it soon.
Logged

If you don't know who I am, then I'm wondering how you got onto my forums Cheesy
votter
Donkey Kong Jr.
**

Karma: +0/-0
Posts: 67


View Profile
« Reply #17 on: November 02, 2008, 05:07:14 PM »

Ah ok.  Thanks m8. Smiley.  btw, I have a div, but it won't touch the top of the screen, would you know why?  I can post a pic of it.
Logged

Forum Spy
de.monkeyz
Administrator
Code Baboon
*****

Karma: +6/-1
Posts: 113



View Profile WWW
« Reply #18 on: November 02, 2008, 05:15:25 PM »

Because the body tag has padding by default. Most people remove padding from ALL elements so they can start from scratch.
Code:
* {
   padding:0;
   margin:0;
}

Or you can remove the body padding only
Code:
body {
    padding:0;
    margin:0;
}
Logged

If you don't know who I am, then I'm wondering how you got onto my forums Cheesy
votter
Donkey Kong Jr.
**

Karma: +0/-0
Posts: 67


View Profile
« Reply #19 on: November 02, 2008, 05:16:50 PM »

Ah ok, thank you very much. Cheesy.
Logged

Forum Spy
votter
Donkey Kong Jr.
**

Karma: +0/-0
Posts: 67


View Profile
« Reply #20 on: November 02, 2008, 05:25:25 PM »

Also, I seem to have a little gap between the Map and Location, I have tried setting the margin and padding to 0 for the area, but it seems to not go away?

EDIT: Never Mind, I got it.

Man these things just don't work to good, xD.
« Last Edit: November 03, 2008, 05:04:03 PM by votter » Logged

Forum Spy
Pages: 1 [2]
  Print  
 
Jump to: