Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 03-20-2013, 11:10 AM   PM User | #1
AcerPaws
New to the CF scene

 
Join Date: Mar 2013
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
AcerPaws is an unknown quantity at this point
I can't get the font-size to take effect.

I'm trying change the font size for my title (the WEBSIO part) but for some reason it won't take effect. Any help would be appreciated. Here is the html and css. I've also highlighted the effected area.

HTML
Code:
    <body>
		<div class="container_24">
			<header>
				<div class="grid_5" title">WEBSIO</div>
				<nav class="grid_19">
					<ul>
						<li>Home</li>
						<li>About</li>
						<li>Services</li>
						<li>Portfolio</li>
						<li>Contact</li>
					</ul>
				</nav>
			</header>
		</div>
	</body>
</html>
CSS
Code:
.title {
	font-size: 33px;
	font-family: corbel;
}
Thanks.
AcerPaws is offline   Reply With Quote
Old 03-20-2013, 11:42 AM   PM User | #2
VIPStephan
The fat guy next door


 
VIPStephan's Avatar
 
Join Date: Jan 2006
Location: Halle (Saale), Germany
Posts: 7,592
Thanks: 5
Thanked 865 Times in 842 Posts
VIPStephan is a jewel in the roughVIPStephan is a jewel in the roughVIPStephan is a jewel in the rough
There is a syntax error. The value of the class attribute is closed after “grid5” (see the double quotes). The browser thinks you have a title attribute following but it has no value, just a random double quote.
__________________
Don’t click this link!
VIPStephan is offline   Reply With Quote
Users who have thanked VIPStephan for this post:
AcerPaws (03-20-2013)
Old 03-20-2013, 11:52 AM   PM User | #3
AcerPaws
New to the CF scene

 
Join Date: Mar 2013
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
AcerPaws is an unknown quantity at this point
Ahh I see it now. I don't know why I put that there.

Thanks Stephan, that fixed it.
AcerPaws is offline   Reply With Quote
Reply

Bookmarks

Tags
css, font, size

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:33 AM.


Advertisement
Log in to turn off these ads.