Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
pulling my hair off.
I just cannot see where the problem is…
the url in question: www.neme.org
I have a div class called topbar where there are 3 divs which float:left
. I then use the dirty, clear div hack.
This is exactly the same as neme-imca.org
In the second case all is working as expected but on neme.org I had to use a height attribute in the css whithout which the background image (the gradient) does not cover the whole of the div’s content.
Can anybody figure out what I’m missing here?
Last edited by colak (2008-12-21 09:33:31)
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: pulling my hair off.
Using firebug I don’t see the <div class=“clear”> actually invoke a clear… seems that it is in your CSS though…strange
ah upon reload it seems to be working, so I figure you just found out yourself :)
Edit. Or eh no… that’s the height you set coming back into play…
Last edited by JanDW (2008-12-21 16:44:04)
TXPDream – A Textpattern Tag Library for Adobe Dreamweaver. (updated for 4.2.0) | jdw_if_ajax – Only serve certain parts of a page when requested with AJAX
Offline
Re: pulling my hair off.
Ok, I’m at a loss too. I look at the CSS using chris pederick’s web developers toolbar I can find .clear {clear:both;} however if I look at the CSS with firebug I can’t find .clear
I’m not sure what happens but if I add clear: both as inline style to the clearing div (using firebug), the gradient fills the div.
Please don’t pull your hair out, it’s an insult to bald men.
Last edited by JanDW (2008-12-21 17:11:08)
TXPDream – A Textpattern Tag Library for Adobe Dreamweaver. (updated for 4.2.0) | jdw_if_ajax – Only serve certain parts of a page when requested with AJAX
Offline
#4 2008-12-21 17:41:03
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: pulling my hair off.
Yes! I found it! (though I’ve lost quite a bit of my hair too…)
It’s a typo in the css, see this line, just above your .clear {clear: both;}
:
.noscriptstyle {background-color:#FFCC33; color:#000;padding:3px;font-size:18px;text-align:center;margin-bottom:20px;"}
Just remove the "
:)
Offline
Re: pulling my hair off.
… Els!!!!!! If i didn’t have a dog I would ask to adopt yours to show my gratitude.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
#6 2008-12-21 18:37:06
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: pulling my hair off.
:) Thanks, but I had no plans anyway to put my dog up for adoption… ;)
Offline
Pages: 1