Hello,
i am bussy with making my own portfolio e.d
only the problem is that there is an empty space between menu and content if il do absolute in content the problem is solved only then the problem is that it is align left and 100%
how can i solve this problem ?
http://www.kuiler.nl
problem with open space in layout [SOLVED]
problem with open space in layout [SOLVED]
Last edited by Meganic on Thu Dec 08, 2011 1:39 pm, edited 1 time in total.
Re: problem with open space in layout
The margins of the <h1> element collapse to the parent div.
Google "margin collapse" for a lot of information about this. setting the overflow property of the parent div to something not-default is a common fix for this.
Also, please do the internet a favour and remove the <font> tags.
Google "margin collapse" for a lot of information about this. setting the overflow property of the parent div to something not-default is a common fix for this.
Also, please do the internet a favour and remove the <font> tags.
Re: problem with open space in layout
GOT IT !
thank you very much,
and also deleted the <font> tags
how do you do the font tags in css ?
give a style to h1 ?
thank you very much,
and also deleted the <font> tags

how do you do the font tags in css ?
give a style to h1 ?
Re: problem with open space in layout [SOLVED]
Look at some of the default style sheets to see how to style h1...
h1 {
margin: 0 0 0.5em 0;
padding-bottom: 1px;
font-size: 2em;
line-height: 1em;
text-align: left;
color: #294B5F;
}
h1 {
margin: 0 0 0.5em 0;
padding-bottom: 1px;
font-size: 2em;
line-height: 1em;
text-align: left;
color: #294B5F;
}