marie b. Posted August 3, 2005 Posted August 3, 2005 I've just finished the bare bones of a three-column design on my blog, and I've noticed that the 'br' tag isn't working or won't show up. For example >my name is marie. <br /> i'm twenty-one years old. <br /> i was born in ireland, but live in dallas as of april '05. would look like this : my name is marie.i'm twenty-one years old.i was born in ireland, but live in dallas as of april '05. Everything looks cluttered and cramped without the breaks, which I really hate. This is one thing that's baffling me. I can't find anything in my CSS which could cause this, but I'm also only learning about CSS fully so it's possible that I missed something. Quote
cajunman4life Posted August 3, 2005 Posted August 3, 2005 (edited) Hmm... after a quick pass-over I really didn't see anything that would cause that. A quick run through the W3C CSS Validator did give an error though. Probably not the answer to your problem, but it could cause you problems later down the road. See the results: http://jigsaw.w3.org/css-validator/validat...&usermedium=all Edit: Basically, what that says is on line 12 you've got "margin-top: 10 0px 0px 0px;"... after that 10 you need to put a unit, such as "px" or whatever unit you're shooting for. PS: I hate CSS problems they haunt your sleep... but I love using CSS for my sites Edited August 3, 2005 by cajunman4life Quote
marie b. Posted August 3, 2005 Author Posted August 3, 2005 (edited) Thanks. : ) I've been going through the CSS bit by bit, cleaning it up in case I did make an error somewhere that wonked the breaks up. I just wish it the answer to my issue were as simple as 'px'. Edited August 3, 2005 by marie b. Quote
cajunman4life Posted August 3, 2005 Posted August 3, 2005 I just wish it the answer to my issue were as simple as 'px'. <{POST_SNAPBACK}> Heh, I hear you there. I'll take a more in-depth look at it when I get off work (provided someone hasn't come up with the answer yet). Quote
marie b. Posted August 3, 2005 Author Posted August 3, 2005 I hope someone can, as this is driving me crazy. Quote
marie b. Posted August 3, 2005 Author Posted August 3, 2005 I found the issue. The paragraph tag had been given attributes of 0px margin and 0px padding and it was paying attention to it, even though I'd specified my own attributes further down the file. I also realized that I had linebreak conversions enabled in MT, so the break tags were being recognized and the p tags weren't. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.