This is a discussion on "<hr /> and clear:left" within the Web Page Design section. This forum, and the thread "<hr /> and clear:left are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
<hr /> and clear:left
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
<hr /> and clear:left
http://www.krakatoa.it/ot/dev.htm
This page is made of 3 blocks, left, right and middle. The middle box is again divided in 2 blocks, where the left part is the content one. The problem is that here, after the news titles and text, the <hr /> should go below the picture. So I gave it a clear:left, but this cancels all the floats to its left, so that the <hr /> goes down to the end of the left box, that is: http://www.krakatoa.it/ot/dev2.htm What can I do with this layout??? Please help me!!! |
|
|
|
|||
|
Re: <hr /> and clear:left
The second one works fine, i'm not realy sure what the problem is :S
|
|
|||
|
Re: <hr /> and clear:left
No it does not!
Can't you see that the second <hr /> goes down to the end of the left menu, leaving a blank space? |
|
|||
|
Re: <hr /> and clear:left
No, I cannot, there is no HR at the end of the left menu
|
|
|||
|
Re: <hr /> and clear:left
Look here:
http://www.krakatoa.it/ot/as_is.jpg There should not be all that red space! This is how it should be: http://www.krakatoa.it/ot/as_should_be.jpg Anyway I already found the solution. I nested a div with a float:left inside the content_left div and it works great! |
|
|||
|
Re: <hr /> and clear:left
You have to be very careful when styling the <hr /> tag, IE uses different properties to the other browsers, so to get the colour the same across different browsers you have to specify both background-color and color as the same value:
I hope that helps. EDIT: Arrrrgh only just noticed you already found a solution. Good work. |
![]() |
| Tags |
| lthr, clearleft |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| session in not clear after logout | uday | Other Programming Languages | 0 | Mar 3rd, 2008 05:45 |
| [SOLVED] Clear:both does not works in IE6 | attila001122 | Web Page Design | 10 | Dec 30th, 2007 14:43 |
| Clear Skin Guide | dbguide | Free Web Site Critique | 16 | Dec 14th, 2007 17:49 |
| all clear ltd | littlebilly | Free Web Site Critique | 9 | Aug 7th, 2007 21:50 |
| Just wanted to clear this up | Accurax | Webforumz Cafe | 7 | Dec 7th, 2006 20:46 |