HTML Error w/ Document Formatting -
i'm typing document nonprofit i'm involved in, , i'm working on headers @ top of first page.
it's supposed 2 headers on same line, 1 left-aligned , other right-aligned, , both 13px bold text. it's supposed directly above title of document, centred in <h1>
text style.
everything going swimmingly except fact headers both left-aligned, , cannot life of me figure out i'm doing wrong. know it's not browser because both stackedit , wordpress fail recognise it. , asked 2 friends take @ it, , can't figure out what's wrong either.
i recognise screwed since i'm still learning html (i haven't learned css yet), has far escaped me.
this have:
<span style="text-align:left; font-size:13px"><b>project name</b></span> <span style="text-align:right; font-size:13px"><b>branch name, org name</b></span> <div style=text-align:center><h1>document name 1-pubdate</h1></div>
is trying do? use float
css property
<span style="float:left; font-size:13px"><b>project name</b></span> <span style="float:right; font-size:13px"><b>branch name, org name</b></span> <div style="text-align:center;clear:both"><h1>document name 1-pubdate</h1></div>
Comments
Post a Comment