|
![]() |
Overclock.net - Overclocking.net > Software, Programming and Coding > Coding and Programming | |
Noob HTML Question?
|
||
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) | |||||||||
|
Intel Overclocker
![]() |
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!
__________________
|
|||||||||
|
|
|
|
|
#2 (permalink) | |||||||||||
|
Audiophile
![]() |
<p style="text-align: center;">
__________________Your text here </p> or <center> text </center> lol
|
|||||||||||
|
|
|
|
|
#3 (permalink) | |||||||||||||
|
Overclocker in Training
![]() |
<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
__________________
Last edited by rmvvwls : 2 Weeks Ago at 12:21 AM |
|||||||||||||
|
|
|
|
|
#4 (permalink) | |||||||||||
|
Audiophile
![]() |
thus the "lol"
__________________I personally suggest <div align=center>
|
|||||||||||
|
|
|
|
|
#5 (permalink) | |||||||||
|
Intel Overclocker
![]() |
Thank you for the help, lol. +REP.
__________________
|
|||||||||
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|