|
|
#21 | |
|
New Member
![]() Join Date: Oct 2011
Posts: 5
|
Quote:
me too, it's interesting and valuable info. thanks a lot and we are waiting for more
__________________
Our brand-new company operating from Egypt : web design company egypt - web solutions - web design |
|
|
|
|
|
|
#22 |
|
New Member
![]() Join Date: Feb 2012
Posts: 19
|
I am still learning webdesign and this tutorial is quite useful. Usually I create a container in which to float an element and then if I want to create another floating element I just have a rule in the CSS that will clear the first element.
__________________
Day 2 Day for all your business printing needs |
|
|
|
|
|
#23 |
|
Gold Member
![]() Join Date: Nov 2010
Posts: 324
|
That is a good tutorial on people that's still learning! Anyways, I don't see any problem of it on IE version is 6. What's your version anyways?
__________________
FTP hosting |
|
|
|
|
|
#24 |
|
New Member
![]() Join Date: Feb 2012
Posts: 2
|
Not sure why this happens, i am a complete noob however. i opened a new page in DW and pasted the code into the body?
|
|
|
|
|
|
#25 |
|
Gold Member
![]() Join Date: Mar 2010
Location: Auckland, New Zealand
Posts: 325
|
I very much dislike floats. They upset the order of things if you ask me!
I prefer to stick to display:inline where possible because it means I get the 'floating' effect on my divs but they still expand the container they are sitting in. With float you have to manually adjust the height and it makes things difficult for liquid layouts i.e. mobile-friendly layouts. |
|
|
|
|
|
#26 |
|
Gold Member
![]() Join Date: Mar 2010
Location: Auckland, New Zealand
Posts: 325
|
Actually on that note there's a number of things I do in my css for every page that makes my life a lot easier. Heres one that might help you out.
div {display:inline;*display:inline-block;zoom:1;position:relative;} Obviously it isn't always the way forward but a lot of beginners, at least, will find things easier after applying that style. |
|
|
|
|
|
#27 |
|
Diamond Member
![]() Join Date: Feb 2011
Location: Newcastle, Australia
Posts: 1,122
|
Well unlike leroy i love floats, and i think they actually simplify layouts.
Apply position:relative, display:inline, float:left/right. No setting heights, or any of those issues mentioned. No ie bugs either... |
|
|
|
|
|
#28 |
|
New Member
![]() Join Date: Mar 2012
Posts: 3
|
|
|
|
|
|
|
#29 |
|
New Member
![]() Join Date: Mar 2012
Posts: 1
|
Amazing! I am very pleased to read that, so I will share this post with my friends. It is very much real and useful information. Keep up the good work. We need more good statements. i will come back here to see more updates in future as well. My best wishes for you always so keep it up. Regards.
__________________
In-ceilling speakers, outdoor speakers |
|
|
|
|
|
#30 | |
|
New Member
![]() Join Date: Apr 2012
Posts: 2
|
Quote:
__________________
web developer philipines |
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|