Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Re: div-float here code

Reply
Thread Tools

Re: div-float here code

 
 
Bergamot
Guest
Posts: n/a
 
      04-23-2008

Neredbojias wrote:
> On 22 Apr 2008, artev <> wrote:
>
>> with IE not work, I see this
>> div1 div2 div3 div5 div6
>> div4

>
> Try putting "clear:right;" on div3.


That won't do anything if all the divs are floated left.
http://www.w3.org/TR/CSS21/visuren.html#flow-control

Besides, div3 is not the problem child, those following div4 are.

--
Berg
 
Reply With Quote
 
 
 
 
Bergamot
Guest
Posts: n/a
 
      04-24-2008

Neredbojias wrote:
> On 23 Apr 2008, Bergamot <> wrote:
>
>>>> with IE not work, I see this
>>>> div1 div2 div3 div5 div6
>>>> div4
>>>
>>> Try putting "clear:right;" on div3.

>>
>> That won't do anything if all the divs are floated left.
>> http://www.w3.org/TR/CSS21/visuren.html#flow-control

>
> Okay, then how about this:
>
> <div>
> <div>div1</div>
> <div>div2</div>
> <div style="float:none;">div3</div>
> <div>div4</div>
> <div>div5</div>
> <div>div6</div>
> </div>
>
> ...ie, just don't float the 3rd div.


Not sure why you put that extra div around all of it, but I suppose it
it depends on the particular content and styling whether that would give
the desired results. It could work, given the right conditions.

--
Berg
 
Reply With Quote
 
 
 
 
Bergamot
Guest
Posts: n/a
 
      04-24-2008

Neredbojias wrote:
>
> Yeah, as Gus Richter suggested, the OP indicated he didn't want to change
> the html, just the styling.


We heard you the first time.

--
Berg
 
Reply With Quote
 
 
 
Reply

Thread Tools

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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
FAQ Topic - I have a question that is not answered in here or in any of the resources mentioned here but I'm sure it has been answered in clj. Where are the clj archives located? FAQ server Javascript 0 12-04-2006 12:00 AM
FAQ Topic - I have a question that is not answered in here or in any of the resources mentioned here but I'm sure it has been answered in clj. Where are the clj archives located? FAQ server Javascript 0 10-06-2006 11:00 PM
FAQ Topic - I have a question that is not answered in here or in any of the resources mentioned here but I'm sure it has been answered in clj. Where are the clj archives located? FAQ server Javascript 0 08-09-2006 11:00 PM
Try over here likely more to the point here George Hester Javascript 0 09-30-2004 03:14 AM
HERE WE GO AGAIN, Visual Web Developer 2005 Express SCREWS UP YOUR CODE on PURPOSE...STOP TOUCHING MY CODE, MICROSOFT!!!! ik ASP .Net 8 07-09-2004 04:52 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57