/    Sign up×
Community /Pin to ProfileBookmark

[newbie] Text not being sized

I’m running an ASP.NET project using mainly html; I’m not sure how to make the text a bit larger, because even when I adjust the tags within the .css file, the text seems to remain of the same size.

[CODE]
Articles.aspx
————

<asp:Content ContentPlaceHolderID=”Body” runat=”server”>
[B] <span class=”body”>[/B] This page is still under construction. </span>
</asp:Content>

[/CODE]

[CODE]
common.css
————

body{
background-position: #fff;
font: 62.5%/2.2em “Lucida Grande”, Tahoma, Verdana, Arial, Helvetica, sans-serif;
color: #4b4942;
background: #fff;
font-size: x-large;
}

[/CODE]

?

Screenshots of output at [url]http://cid-b712073b3513eb8e.skydrive.live.com/self.aspx/.Public/blog-what%20bugs%20me.docx[/url]

Source available at [url]http://cid-b712073b3513eb8e.skydrive.live.com/self.aspx/.Public/Blog.rar[/url]

to post a comment
CSS

4 Comments(s)

Copy linkTweet thisAlerts:
@FangMay 09.2009 — Class not element:[COLOR="Red"].[/COLOR]body {}
Copy linkTweet thisAlerts:
@jon80authorMay 09.2009 — This does not change the layout either:

common.css
-----------


...

.body{

background-position: #fff;

font: 62.5%/2.2em "Lucida Grande", Tahoma, Verdana, Arial, Helvetica, sans-serif;

color:Fuchsia;

background: #fff;

font-size: x-large;

}

...

?
Copy linkTweet thisAlerts:
@FangMay 09.2009 — &lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"&gt;
&lt;html lang="en"&gt;
&lt;head&gt;
&lt;title&gt;&lt;/title&gt;
&lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8"&gt;

&lt;style type="text/css"&gt;
.body{
background-position: #fff;
font: 62.5&amp;#37;/2.2em "Lucida Grande", Tahoma, Verdana, Arial, Helvetica, sans-serif;
color:Fuchsia;
background: #fff;
font-size: x-large;
}
&lt;/style&gt;

&lt;/head&gt;
&lt;body&gt;
&lt;span class="body"&gt; This page is still under construction. &lt;/span&gt;
&lt;/body&gt;
&lt;/html&gt;
Copy linkTweet thisAlerts:
@jon80authorMay 09.2009 — It does not seem valid to update these in .aspx pages using Masterpages.


Btw, I'm using

Visual Studio 2008 SP1 + .NET 3.5 SP1

Win XP SP2

IIS 5.1
×

Success!

Help @jon80 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...