![]() |
|
|
#1 |
![]() Join Date: Jan 2010
Location: USA
Posts: 3,457 (2.79/day)
Thanks: 1,529
Thanked 1,212 Times in 1,158 Posts
|
CSS basic font commands ... help?
Code:
<div class="titles"> <div style="font-size:120px"; "font-weight:900" ;>Boheme Bourgeois</div> </div>
__________________
|| Heatware || Build: A Wooden Beast || Build: The Wooden Beast's Desk || Case Mod: Tribal Strikes Again || || Intel I7 920 @ 4.3 // ASUS Rampage III Extreme// ASUS 580 // 3x2GB Mushkin// CM Silent Pro 1200 // Water Cooled || || My Ever Changing For Sale Thread |
|
|
|
|
|
#2 |
|
Hardcore Monkey Moderator
Join Date: Feb 2007
Location: Cheeseland (Wisconsin, USA)
Posts: 12,254 (5.27/day)
Thanks: 591
Thanked 5,510 Times in 2,948 Posts
|
Your inline style properties should be inside a single pair of quotes, I think (been awhile since I did any html/css).
Code:
<div style="font-size: 120 px; font-weight: 900">Whatever</div>
__________________
Cloud (noun, singular): A dynamic arrangement of multiple potential single points of failure, with a user at one end and their data at the other. Get more tech news on a wide variety of topics at NextPowerUp
|
|
|
|
| The Following User Says Thank You to Kreij For This Useful Post: |
|
|
#3 |
![]() Join Date: Jan 2010
Location: USA
Posts: 3,457 (2.79/day)
Thanks: 1,529
Thanked 1,212 Times in 1,158 Posts
|
Ah, ok I will try that out ... thanks!
__________________
|| Heatware || Build: A Wooden Beast || Build: The Wooden Beast's Desk || Case Mod: Tribal Strikes Again || || Intel I7 920 @ 4.3 // ASUS Rampage III Extreme// ASUS 580 // 3x2GB Mushkin// CM Silent Pro 1200 // Water Cooled || || My Ever Changing For Sale Thread |
|
|
|
|
|
#4 |
![]() Join Date: May 2012
Location: Malaysia
Posts: 254 (0.66/day)
Thanks: 16
Thanked 35 Times in 31 Posts
|
why not use an external css? example .class {font-size: 120 px; font-weight: 900}
|
|
|
|
|
|
#5 | |
![]() Join Date: Nov 2010
Location: Philippines! :D
Posts: 164 (0.17/day)
Thanks: 158
Thanked 22 Times in 20 Posts
|
Quote:
^^ That is pretty much it. A piece of advice though, it is often better to have css definitions (either in the head or an external css) rather than inline ones as it makes it easier to change things around when necessary (and it also 'separates data from formatting') Best of luck!
__________________
There is no need to purchase overpriced cables because they are gold tipped, blessed by the Pope and waved over an active volcano for good luck. - Kreij Lol, trading 1 core for L3 is almost like losing your manhood so that you can have an extra large finger to please Mrs. While the extra large finger is awesome, but losing your manhood is a big price to pay. - Fourstaff |
|
|
|
|
|
|
#6 |
|
Hardcore Monkey Moderator
Join Date: Feb 2007
Location: Cheeseland (Wisconsin, USA)
Posts: 12,254 (5.27/day)
Thanks: 591
Thanked 5,510 Times in 2,948 Posts
|
Yes, definition are usually a lot easier to manage, but if you have a lot of definitions for the overall site, and you know that the single line is the only place this particular font change is needed, it comes in handy to use inline on occasion.
__________________
Cloud (noun, singular): A dynamic arrangement of multiple potential single points of failure, with a user at one end and their data at the other. Get more tech news on a wide variety of topics at NextPowerUp
|
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| CSS help | freaksavior | Programming & Webmastering | 1 | Mar 20, 2012 08:15 PM |
| Help with CSS needed | silkstone | Games | 7 | Jan 22, 2011 12:49 PM |
| Font problem. Need help ASAP! | TheMailMan78 | General Software | 2 | Oct 27, 2010 01:28 PM |
| Please help me to set my CSS server!!!! | inf3rno | Games | 3 | Jun 17, 2010 05:14 AM |
| DOS Commands In Visual Basic | PVTCaboose1337 | Programming & Webmastering | 44 | Feb 1, 2010 02:09 AM |