Wondering if I could get some help with some minor HTML edits?

Wolvenreign

Transhuman Satanist Furry Technocrat
OP
Member
Joined
Jul 7, 2008
Messages
749
Trophies
1
Age
35
Location
Indianapolis, IN
XP
1,033
Country
United States
Hey, guys, I was wondering if anyone here could help me with some small HTML edits. Changing around the location of a video and an autoresponder and having a bit of trouble making it all click right.

Thanks in advance if you can spare a few minutes.
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,404
Country
United Kingdom
I do not know why we are in the art section but hey.

Anyway the extent of the HTML in this should be the embed code and whatever div you decide to put these in. You should be using CSS to change sizes, positions and alignment, indeed newer flavours of HTML will consider some of the HTML functionality for this to be deprecated (<center> is gone in HTML5 for instance). You can put the CSS in the div itself if you really want. HTML might have supported some of it at some point but it was always clunky in my experience.
 

BurningDesire

Well-Known Member
Member
Joined
Jan 27, 2015
Messages
4,999
Trophies
1
Location
Behind a screen reading news
XP
4,885
Country
United States
I do not know why we are in the art section but hey.

Anyway the extent of the HTML in this should be the embed code and whatever div you decide to put these in. You should be using CSS to change sizes, positions and alignment, indeed newer flavours of HTML will consider some of the HTML functionality for this to be deprecated (<center> is gone in HTML5 for instance). You can put the CSS in the div itself if you really want. HTML might have supported some of it at some point but it was always clunky in my experience.
The <center> Tag still works in html 5. I use it because I am too stupid to know how to center text.
 

AzureuzZetsunai

HAHA, 20!... i punch it!
Member
Joined
Nov 16, 2011
Messages
140
Trophies
0
Age
30
Location
Chihuahua
Website
hashtiv.com
XP
617
Country
Mexico
It didn't work when i tried it.

it depends on how you use it, if the Block is at width 100%, then its not going to work. Center tag center the block not the text, to center a text you either do the following:
-Have a parent div with the desired width, in this case 100%, the child object or text should have a display: inline-block property and margin: 0 auto.
-Have a text with width 100% and the property text-align: center
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,404
Country
United Kingdom
Edit and it seems a while conversation happened in the meantime. I will leave this reply up though.

The <center> Tag still works in html 5. I use it because I am too stupid to know how to center text.

http://www.w3.org/TR/html5/obsolete.html#non-conforming-features would say it is entirely obsolete and non conforming. Your browser may break from form or something to support it (or treat the doctype as a mild suggestion) or there may be something else going on (you might still be using an old version of HTML but the browser will support certain HTML5 tags) but it is gone if you follow the standards and try to use a conformance checking tool.

The CSS is not that hard though http://www.w3.org/Style/Examples/007/center.en.html
Sure it is not quite as easy as <center> </center> but do it a few times and you will get used to it, and then used to CSS as a whole which is a good thing. Better yet define it in a class in the CSS sheet or the page header rather than the element and you can make it happen even quicker. If your experiences with CSS are more walking up to a 3 year old wordpress install with 50 plugins and a lot of work done to a custom theme and trying to figure it out then yeah it is a nightmare (protip there -- firebug http://getfirebug.com/ , saved me endless aggravation there). It may seem the W3 folks are a bit puritanical in their quest to excise all style related content from HTML and punt it into CSS but it needed to be done.
 
  • Like
Reactions: BurningDesire

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • S @ salazarcosplay:
    hunter x hunter
  • S @ salazarcosplay:
    he has not allowed anyone to continue it for him for example
  • Xdqwerty @ Xdqwerty:
    @salazarcosplay, theres a dragon ball af mod for budokai 3
  • Xdqwerty @ Xdqwerty:
    updated ship of harkinian, gonna install some hd texture pack
  • Xdqwerty @ Xdqwerty:
    I might download rayman revolution for my ps3
  • BigOnYa @ BigOnYa:
    I may try the new ram site, and download more RAM to my Switch. Not sure if ddr3 is the right ram
    for it tho. Edit- no it uses floppy Ram, just like @AncientBoi
    +1
  • Xdqwerty @ Xdqwerty:
    aeiou
  • BigOnYa @ BigOnYa:
    And sometimes Z
  • SylverReZ @ SylverReZ:
    @K3Nv2, MAGA supporters be wearing tin foil hats lol.
    +1
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, whats maga?
  • BigOnYa @ BigOnYa:
    It stands for Maniacs Against General Acceptance
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, people rejecting general consensus about stuff?
    +1
  • BigOnYa @ BigOnYa:
    Yup, nuh its really just Trump followers
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, im not american so i dont care about trump
    +1
  • Xdqwerty @ Xdqwerty:
    or us elections
  • BigOnYa @ BigOnYa:
    Me niether, us north Koreans don't care
  • Xdqwerty @ Xdqwerty:
    good night
  • BakerMan @ BakerMan:
    i don't care either, even if i'm american
  • BakerMan @ BakerMan:
    truth be told, i agree with psi, i dislike both candidates, but i'd probably vote trump simply because the economy was better during his presidency
  • AngryCinnabon @ AngryCinnabon:
    Just be careful, if trump ends up winning and using project 2025 America might really change...for the worse.
  • AngryCinnabon @ AngryCinnabon:
    I'm not american and even that sends shivers down my spine.
  • AngryCinnabon @ AngryCinnabon:
    anything that offers trump an opportunity to become an actual dictator
    is bad in my book, i could care less if it wasn't for that...
  • K3Nv2 @ K3Nv2:
    Canada: America's Russia
  • NinStar @ NinStar:
    people are so dramatic that I can't even tell if they are being serious
    NinStar @ NinStar: people are so dramatic that I can't even tell if they are being serious