| Page 1 of 1 |
|
|
|
| Back to top |
|
 |
|
|
Posted: Tue, 7th Aug 2012 07:59 Post subject: |
|
 |
Well try making them fixed (absolute or static position), not relative...
"Quantum mechanics is actually, contrary to it's reputation, unbeliveably simple, once you take the physics out."
Scott Aaronson | chiv wrote: | | thats true you know. newton didnt discover gravity. the apple told him about it, and then he killed it. the core was never found. |
|
|
| Back to top |
|
 |
|
|
Posted: Tue, 7th Aug 2012 08:32 Post subject: |
|
 |
How about using a table 
|
|
| Back to top |
|
 |
garus
VIP Member
Posts: 34197
|
Posted: Tue, 7th Aug 2012 11:42 Post subject: |
|
 |
snip
Last edited by garus on Tue, 27th Aug 2024 21:45; edited 1 time in total
|
|
| Back to top |
|
 |
|
|
Posted: Tue, 7th Aug 2012 12:27 Post subject: |
|
 |
What you should do is pretty easy! The main div that contains the two divs must have a FIXED width because otherwise it's width is considered 'automatic' and then when you squeeze the window horizontally it reduces the main div width, thus the 2 divs cannot float in the same line. You don't need to mess with position properties. Many people mistake that as a solution but it really isn't in most cases.
|
|
| Back to top |
|
 |
|
|
Posted: Tue, 7th Aug 2012 16:12 Post subject: |
|
 |
Hehe, thanks guys, I just put a width:900px; property to my big div and now they stay where they should.
Do you guys use pixels or other units ? I'm worried about different browsers,system settings, resolutions etc.
|
|
| Back to top |
|
 |
garus
VIP Member
Posts: 34197
|
Posted: Tue, 7th Aug 2012 17:00 Post subject: |
|
 |
snip
Last edited by garus on Tue, 27th Aug 2024 21:45; edited 1 time in total
|
|
| Back to top |
|
 |
|
|
Posted: Wed, 8th Aug 2012 01:48 Post subject: |
|
 |
It's not from scratch, it's a few separate modules/addons for a big CMS. But I will keep that twitter bootstrap in mind.
But what measurement units are you guys using ?
|
|
| Back to top |
|
 |
|
|
Posted: Wed, 8th Aug 2012 08:02 Post subject: |
|
 |
pixels usaly... Because of the screen resolutions...
"Quantum mechanics is actually, contrary to it's reputation, unbeliveably simple, once you take the physics out."
Scott Aaronson | chiv wrote: | | thats true you know. newton didnt discover gravity. the apple told him about it, and then he killed it. the core was never found. |
|
|
| Back to top |
|
 |
garus
VIP Member
Posts: 34197
|
Posted: Wed, 8th Aug 2012 10:42 Post subject: |
|
 |
snip
Last edited by garus on Tue, 27th Aug 2024 21:45; edited 1 time in total
|
|
| Back to top |
|
 |
Werelds
Special Little Man
Posts: 15098
Location: 0100111001001100
|
|
| Back to top |
|
 |
| Page 1 of 1 |
All times are GMT + 1 Hour |