Overclock.net - Overclocking.net
     
 
Home Gallery Reviews Blogs Register Today's Posts Mark Forums Read Members List


Go Back   Overclock.net - Overclocking.net > Software, Programming and Coding > Coding and Programming

Reply
 
LinkBack Thread Tools
Old 2 Weeks Ago   #1 (permalink)
AMG
Intel Overclocker
 
AMG's Avatar
 
intel nvidia

Join Date: Aug 2009
Posts: 829

Rep: 51 AMG is acknowledged by some
Unique Rep: 45
Trader Rating: 0
Default Noob HTML Question?

Sorry guys, I'm just learning how to program from a site a OCNer linked a few days ago. I'm using this as an example:

<html>
<body>

<h1 style ="font-family:verdana;color:red>AMG's Computers</h1>

<html>
<body>

How would I go about making it in the center of the page? Thanks! And sorry for the noob question!
__________________

System: Lan Rig
CPU
Intel Celeron D 325 @ 3.15GHz
Motherboard
Bisotar P4M900-M4
Memory
2GB DDR2 Crucial RAM
Graphics Card
ASUS 9600GSO 512MB
Hard Drive
Western Digital 80GB
Power Supply
CoolerMaster 460w
Case
CoolerMaster Elite 335
CPU cooling
CoolerMaster HSF
AMG is offline   Reply With Quote
Old 2 Weeks Ago   #2 (permalink)
Audiophile
 
Zensou's Avatar
 
intel ati

Join Date: Dec 2007
Location: Pennsylvania
Posts: 916

Rep: 38 Zensou is acknowledged by some
Unique Rep: 35
Trader Rating: 0
Default

<p style="text-align: center;">
Your text here

</p>

or <center> text </center>

lol
__________________
System: Stutter
CPU
i7 920 3939B078
Motherboard
ASUS Rampage II Extreme
Memory
3x2 Mushkin DDR3 1600
Graphics Card
ASUS EAH5770
Hard Drive
Cav.Blue320, CavBlack750, Barracuda160
Power Supply
TT W0116RU 750W
Case
TT Armor
CPU cooling
Megatron 88cfm yates push/pull
OS
Win7 Ult x64
Monitor
Chimei 22"
Zensou is online now   Reply With Quote
Old 2 Weeks Ago   #3 (permalink)
Overclocker in Training
 
rmvvwls's Avatar
 
intel ati

Join Date: Aug 2008
Location: NSW, Australia
Posts: 519

Rep: 50 rmvvwls is acknowledged by some
Unique Rep: 44
Trader Rating: 1
Default

<center> tags are now deprecated. You should really use inline styles, which are the first example Zensou posted.
So in yours, the tag would be:
<h1 style ="text-align:center; font-family:verdana; color:red>AMG's Computers</h1>

Edit: Just realised the preview text on the OCN homepage evaluates the HTML

System: Bradsbomp
CPU
Intel e7200 2.53GHz @ 3.8GHz (400 x 9.5, 1.36V)
Motherboard
Gigabyte GA-EP45-UD3P
Memory
4 GB OCZ 800MHz (4-4-4-12)
Graphics Card
Sapphire 4870x2
Hard Drive
WD320+Samsung 160&500
Sound Card
Onboard
Power Supply
Corsair TX650W
Case
Thermaltake Armor+ MX w/ Custom Paintjob
CPU cooling
Zalman CNPS9700LED
GPU cooling
Stock
OS
Windows 7 RC (7100)
Monitor
TH32LZD800A + E2200HD

Last edited by rmvvwls : 2 Weeks Ago at 12:21 AM
rmvvwls is offline rmvvwls's Gallery   Reply With Quote
Old 2 Weeks Ago   #4 (permalink)
Audiophile
 
Zensou's Avatar
 
intel ati

Join Date: Dec 2007
Location: Pennsylvania
Posts: 916

Rep: 38 Zensou is acknowledged by some
Unique Rep: 35
Trader Rating: 0
Default

Quote:
Originally Posted by rmvvwls View Post
<center> tags are now deprecated.
thus the "lol"

I personally suggest <div align=center>
__________________
System: Stutter
CPU
i7 920 3939B078
Motherboard
ASUS Rampage II Extreme
Memory
3x2 Mushkin DDR3 1600
Graphics Card
ASUS EAH5770
Hard Drive
Cav.Blue320, CavBlack750, Barracuda160
Power Supply
TT W0116RU 750W
Case
TT Armor
CPU cooling
Megatron 88cfm yates push/pull
OS
Win7 Ult x64
Monitor
Chimei 22"
Zensou is online now   Reply With Quote
Old 2 Weeks Ago   #5 (permalink)
AMG
Intel Overclocker
 
AMG's Avatar
 
intel nvidia

Join Date: Aug 2009
Posts: 829

Rep: 51 AMG is acknowledged by some
Unique Rep: 45
Trader Rating: 0
Default

Thank you for the help, lol. +REP.
__________________

System: Lan Rig
CPU
Intel Celeron D 325 @ 3.15GHz
Motherboard
Bisotar P4M900-M4
Memory
2GB DDR2 Crucial RAM
Graphics Card
ASUS 9600GSO 512MB
Hard Drive
Western Digital 80GB
Power Supply
CoolerMaster 460w
Case
CoolerMaster Elite 335
CPU cooling
CoolerMaster HSF
AMG is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools



All times are GMT -5. The time now is 03:41 PM.


Overclock.net is a Carbon Neutral Site Creative Commons License

Terms of Service / Forum Rules | Privacy Policy | DMCA Info | Advertising | Become an Official Vendor
Copyright © 2009 Shogun Interactive Development. Most rights reserved.
Page generated in 0.11706 seconds with 8 queries