| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
Registered User
Join Date: May 2005
Posts: 5
|
CSS trouble
Hi guys, i have been getting grief from this SIMPLE css I know it is something easy that I have overlooked. Anyone be able to give a quick look ? Would be much appreciated. It's a really stripped down version of an in-progress layout.... If you look at the header on the page there is a double border... that is the bottom of the container div. Which should CONTAIN the text i.e. the border should be around the text! Anyone any ideas? fix this and i'll give a helping hand if needed in the future. cheers dave. http://www.fishtankmedia.com/research/contentPage.html Last edited by fishtankmedia : 03-06-2005 at 08:18. Reason: updated url |
|
|
|
|
|
#3 (permalink) |
|
Registered User
Join Date: May 2005
Posts: 5
|
Cheers
I've never encountered this before and the ammount of layouts i've done with this design without getting funky errors. Trying to google for info around your fix! any chance you could let me in on the reason why that works? Thank's again. |
|
|
|
#4 (permalink) |
|
vague™
Join Date: Mar 2004
Location: Glasgow
Posts: 5,484
|
actually, while seen.to's solution works, it's not the best way to do this as you're adding superflous markup it's best to handle the situation in your css file - the following link both explains why this is necessary and how to do it. http://www.positioniseverything.net/easyclearing.html |
|
|
|
#5 (permalink) |
|
Registered User
Join Date: May 2005
Posts: 5
|
Cheers, that was a really good article. -learn something every day! Currently trying to enhance the layout above with a divider between the two sections.... using #leftSection:{ border-right:1px ... } works okay, but if the right section has more elements contained, than the left.... the border does not meet with the bottom. Was considering implementing it with a positioned background image of a 1px line.... are there any better ways anyone knows of.... http://fishtankmedia.com/research/contentPage.html Last edited by fishtankmedia : 03-06-2005 at 08:18. Reason: updated url |
|
|
|
#8 (permalink) |
|
www.nakedintruder.com
|
Yeh, it looked good up until "Toggle Trouble", where he added an extra <p> tag and then added a clearing <div> anyway, so I'm a bit lost on it, I'll read it again next week. HTML Code:
|
|
![]() |