/    Sign up×
Community /Pin to ProfileBookmark

aligning issues

I’m working on a wedding website here: [url]http://umwplacement.com/mikeandreg.html[/url]

On the bottom in the center, I’m trying to get the text centered and the button right aligned. Any help would be greatly appreciated. Thanks!

CSS:

[CODE]#centerSpan {
position:fixed;
bottom:0px;
left:210px;
right:210px;
height:40px;
color:#FFFFFF;
font-size:20px;
border: 1px solid #FFFFFF;
line-height: 50%;
}

#right {
text-align:right;
}

#centerfoot {
text-align:center;
}[/CODE]

[code=html]<span id=”centerSpan”><br /><span id=”centerfoot”><script type=”text/javascript”>
//<![CDATA[
countdown(1);
//]]>
</script></span><span id=”right”><input type=”button” value=”swith fonts” onclick=”switchFolders()” /></span></span>[/code]

to post a comment
CSS

2 Comments(s)

Copy linkTweet thisAlerts:
@dmikester1authorSep 21.2007 — Any ideas on how to do this? Basically I need to center one thing and right-align one thing that are on the same line and in the same <span>.

Thanks

Mike
Copy linkTweet thisAlerts:
@ray326Sep 21.2007 — I doubt span is what you need. (untested)
[code=html]
<div style="text-align:center">
<script type="text/javascript">countdown()</script>
<input type="button" value="swith fonts" onclick="switchFolders()" style="float:right">
</div>
[/code]
×

Success!

Help @dmikester1 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.14,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...