Hi Caroline,
First question: Your font size issue is because some of your text is enclosed in paragraph (<p> ... </p>) tags and some of it isn't. eg on
http://www.blascanto.com/v2-music_es.html you have forgotten to add a closing </p> tag after your Flash movie embed, causing the browser to assume that the rest of your text is inside a paragraph. Since paragraph elements have a specific font size set in the CSS then this causes text inside a paragraph to have a smaller font size to non-paragraph text:
/*
Standard paragraph style
*/
p
{
color: #333;
font-size: 0.7em;
padding: 10px 0 10px 0;
}
In fact, from a semantic point of view, you probably
should have all your text in paragraphs, rather than separating them with <br> tags as you have done.
It also would be a good idea to go through your HTML and fix the errors, eg:
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.blascanto.com%2Ftest.html&charset=%28detect+automatically%29&doctype=Inline&group=0&user-agent=W3C_Validator%2F1.654http://validator.w3.org/check?uri=http%3A%2F%2Fwww.blascanto.com%2Fv2-music_es.html&charset=%28detect+automatically%29&doctype=Inline&group=0(I know it looks like there's a lot of errors but the validator often reports several "errors" for the same problem, so they shouldn't take long to fix.)
I'd recommend fixing these problems and putting all your text in paragraphs, then you should find that the pages display OK with consistent font sizes.
As a workaround, you could move the font-size property from the 'p' rule (shown above) into the content-wrapper rule:
#content-wrapper
{
width: 100%;
min-height: 200px;
font-size: 0.7em;
}
(Personally I would do this anyway as I prefer having a global font size.)
Second question: If you want to stop the image repeating horizontally then you need to change:
/* Header */
#header-wrapper
{
width: 100%;
height: 350px;
background-color: #333;
background-image: url(../images/v2-index2.png);
background-repeat: repeat-x;
}
to:
/* Header */
#header-wrapper
{
width: 100%;
height: 350px;
background-color: #333;
background-image: url(../images/v2-index2.png);
background-repeat: no-repeat;
}
Hope that helps!
Matt
--
Matt Doyle, Elated
Second Edition of my jQuery Mobile book out now! Learn to build mobile web apps. Free sample chapter: http://store.elated.com/