Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,208,401 members, 8,002,505 topics. Date: Thursday, 14 November 2024 at 12:17 PM

Html Help - Webmasters - Nairaland

Nairaland Forum / Science/Technology / Webmasters / Html Help (626 Views)

How To Integrate Sms To A Online Registration Form (php, Html, Aspx Etc) / How To: Create A Simple Hover Button With Html And Css / How To Create An Autoresponder In An Html Form (2) (3) (4)

(1) (Reply)

Html Help by DonSegmond(m): 6:23am On Jun 08, 2010
I'm one helluva programmer but suck at design.   I can get around my way HTML/CSS but don't have mastery thus the reason I ask for your help. smiley


<style>
span.left { position: absolute; left: 0; }
span.right {position: absolute; right: 0; }
div.line { position: relative; text-align: center; width: 100%; }
</style>

<div class="line">
<span  class="left">
Abc Foo Bar Feh
</span>

<span class="right">
Xyz Woo
</span>
</div>


When it renders
it renders like
Abc Foo Bar Feh _________________________________________ Xyz Woo

where _ is space
now this is fine, but if we shrink the width of the browser, then Xyz Woo and Bar Feh overlay each other.   

Where what I will like is something like
Abc Foo Bar Feh
______ Xyz Woo

Google does this with their menu
Web, Images, Videos, ______________________________ Search Settings, Sign In

Abeg help. :-D
Re: Html Help by DualCore1: 6:50am On Jun 08, 2010
<div id="left" style="float:left"><p>Abc Foo Bar Feh</p></div>
<div id ="right" style="float:right"><p>Xyz Woo</p></div>
Re: Html Help by DonSegmond(m): 7:20pm On Jun 08, 2010
thanks man, another friend just gave me the solution too, same exact as yours. thanks again.

(1) (Reply)

Send Free Sms Now On Www.talkdeygo.com / We Need A Joomla Expert / Website Builders

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 9
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.