Usually i'm alright with CSS, but this bit is just stumping me something rotten!
Have a look at http://beta.danstyan.co.uk/about where the blue bar with About is, it should sit above the content area with a margin on 15px from the top curve, I've no idea why it's not doing it.
If I remove float:left from one of my CSS's it works fine, but then I get another problem where the div with the 'i' inside it, will go somewhere else.
I will admit I easily get confused with floatings and clearings on CSS, when I mean I get confused I have no idea, but will keep trying and it'll work.
Question
Dan~
Usually i'm alright with CSS, but this bit is just stumping me something rotten!
Have a look at http://beta.danstyan.co.uk/about where the blue bar with About is, it should sit above the content area with a margin on 15px from the top curve, I've no idea why it's not doing it.
If I remove float:left from one of my CSS's it works fine, but then I get another problem where the div with the 'i' inside it, will go somewhere else.
I will admit I easily get confused with floatings and clearings on CSS, when I mean I get confused I have no idea, but will keep trying and it'll work.
If you go to http://danstyan.co.uk you'll see what I mean about the spacing.
Whats more annoying is I think the CSS may be right, because if you scroll down I put the same code in my footer and it looks alright there :/
Thanks! I will make sure :santa: gives you good pressies
By the way, the site is fully xhtml strict and css valid (comes up with some errors as I've used a div id more than once, but only for testing)
Link to comment
Share on other sites
10 answers to this question
Recommended Posts