okay i need some help form the css gurus
i am dynamically creating div tags to store locations. if you notice in my example the tags are going straight down and not left to right. I need them to go across the maparea div then drop to another line.
http://indie-resource.com/projectbattle/index.php
Any ideas?
here is code
Fixed!
CSS help, dynamic Divs
- hallsofvallhalla
- Site Admin
- Posts: 12026
- Joined: Wed Apr 22, 2009 11:29 pm
Re: CSS help, dynamic Divs
float: left;
Fighting for peace is declaring war on war. If you want peace be peaceful.
- hallsofvallhalla
- Site Admin
- Posts: 12026
- Joined: Wed Apr 22, 2009 11:29 pm
Re: CSS help, dynamic Divs
haha damn you!
I tried float left in the javascript side but not in the css section.
Thanks you!
I tried float left in the javascript side but not in the css section.
Thanks you!
- hallsofvallhalla
- Site Admin
- Posts: 12026
- Joined: Wed Apr 22, 2009 11:29 pm
- rockinliam
- Posts: 466
- Joined: Sun Jun 07, 2009 11:26 am
Re: CSS help, dynamic Divs
Or if you wanted to get really adventurous, you could try throwing in a few "float:right;" 's !
Skillset: C/C++, OpenGL, C#, Lua, PHP, MySql, Web Dev etc.
Website: https://liam-griffiths.co.uk/
Website: https://liam-griffiths.co.uk/
- hallsofvallhalla
- Site Admin
- Posts: 12026
- Joined: Wed Apr 22, 2009 11:29 pm
Re: CSS help, dynamic Divs
i know i can't believe I missed something so simple 
- rockinliam
- Posts: 466
- Joined: Sun Jun 07, 2009 11:26 am
Re: CSS help, dynamic Divs
It happens to all of us. I like to keep a few references nearby to make sure that what i am doing is correct.
Skillset: C/C++, OpenGL, C#, Lua, PHP, MySql, Web Dev etc.
Website: https://liam-griffiths.co.uk/
Website: https://liam-griffiths.co.uk/