Web Design Forum  
 
Go Back   Web Design Forum > Web and Graphic Design > Web Design

Like Tree2Likes

Reply
 
LinkBack Thread Tools Display Modes
Old 10-04-2011, 05:32 PM   #21
New Member
 
Join Date: Oct 2011
Posts: 5
Default

Quote:
Originally Posted by nedo View Post
I am still learning about web design, and this will most certainly be very handy. Thanks.

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
Roka is offline   Reply With Quote


Old 02-13-2012, 09:27 PM   #22
New Member
 
Walter Warner's Avatar
 
Join Date: Feb 2012
Posts: 19
Default

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
Walter Warner is offline   Reply With Quote
Old 02-16-2012, 09:03 PM   #23
Gold Member
 
Join Date: Nov 2010
Posts: 324
Default

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
che09 is offline   Reply With Quote
Old 02-22-2012, 12:09 PM   #24
New Member
 
Join Date: Feb 2012
Posts: 2
Default i get this in IE

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?
Attached Images
 
kurt0375 is offline   Reply With Quote
Old 02-24-2012, 03:59 AM   #25
Gold Member
 
leroy30's Avatar
 
Join Date: Mar 2010
Location: Auckland, New Zealand
Posts: 325
Default

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.
__________________
DVI web design | Portable Time Clock
leroy30 is offline   Reply With Quote


Old 02-24-2012, 04:01 AM   #26
Gold Member
 
leroy30's Avatar
 
Join Date: Mar 2010
Location: Auckland, New Zealand
Posts: 325
Default

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.
__________________
DVI web design | Portable Time Clock
leroy30 is offline   Reply With Quote
Old 02-24-2012, 06:09 AM   #27
Diamond Member
 
Phreaddee's Avatar
 
Join Date: Feb 2011
Location: Newcastle, Australia
Posts: 1,122
Default

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...
Phreaddee is offline   Reply With Quote
Old 03-20-2012, 09:50 PM   #28
New Member
 
Join Date: Mar 2012
Posts: 3
Default

Quote:
Originally Posted by leroy30 View Post
div {display:inline;*display:inline-block;zoom:1;position:relative;}
Thanks, that did the trick for me. I have always been struggling with floating layouts and had to work it out by trial and error. Your code seems to clear many bugs away.
lexy is offline   Reply With Quote
Old 03-27-2012, 10:42 PM   #29
New Member
 
Join Date: Mar 2012
Posts: 1
Default

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
maryusdemetry is offline   Reply With Quote
Old 04-01-2012, 01:52 PM   #30
New Member
 
Join Date: Apr 2012
Posts: 2
Default

Quote:
Originally Posted by leroy30 View Post
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.
Floats are great if you use in properly and not over do it. There are lots of objects you can float like, login form, social media share, subscription forms, etc.
__________________
web developer philipines
deyb is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 07:44 PM.


Camera Forum - Computer Forum - Web Design Forum

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO 3.6.0 ©2011, Crawlability, Inc.