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,282
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,875
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,282
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
    AncientBoi @ AncientBoi: I'm sorry for [accidently] not using lube K3Nv2. Really I am. :evil: