Results 1 to 10 of 11
-
31st May 2011, 11:22 AM #1OPMemberWebsite's:
wrzscene.info watchfreetvseriesonline.com[SOLVED]How to add line seperators HTML
how can i align text on left and right of a line separator like the one below?
any help is appreciatedsamipk Reviewed by samipk on . How to add line seperators HTML how can i align text on left and right of a line separator like the one below? http://lulzimg.com/i22/c40e3c.png any help is appreciated Rating: 5
-
31st May 2011, 11:25 AM #2Member
I think this will help you mate.
Code:http://www.microbion.co.uk/web/vertline.htm
-
31st May 2011, 11:29 AM #3Respected Developer
here is a small example i make in quick for you.
Code:<style type="text/css"> #content{ width: 400px; } #right { float: right; } #left { float:left; } </style> <div id="content"> <div id="right"> Your right content here </div> <div id="left"> Left content here </div> </div>
you can set there margin etc in style.Bots Development | Web Development | Wordpress Customization | PSD Conversion
Life has many twists and turns in it, you have to take what you are given and use it for the best.
-
31st May 2011, 11:29 AM #4OPMemberWebsite's:
wrzscene.info watchfreetvseriesonline.comi actually read that one but the html version has borders and the css version doesnt show how to align text left and right and also doesnt work
-
31st May 2011, 11:32 AM #5OPMemberWebsite's:
wrzscene.info watchfreetvseriesonline.com
-
31st May 2011, 11:41 AM #6Respected Developer
you can add that part in your css or leave in html with style attribute.
For lines you can add borders, here is a quick way but you need to adjust your min-height according to your content. there is some other way you can check here
http://www.webtoolkit.info/css-clearfix.html
Below example will add quick dirty borders
Code:<style type="text/css"> #content{ width: 400px; border-top: 1px solid #CCC; border-bottom: 1px solid #CCC; min-height: 50px; padding: 16px; } #right { float: right; border-left: 1px solid #CCC; padding: 16px; } #left { float:left; padding: 18px; } </style> <div id="content"> <div id="right"> Your right content here </div> <div id="left"> Left content here </div> </div>
Bots Development | Web Development | Wordpress Customization | PSD Conversion
Life has many twists and turns in it, you have to take what you are given and use it for the best.
-
31st May 2011, 11:46 AM #7MemberWebsite's:
Tastro.org HDTVXviDLOL.com EpisodeSeasons.com FileBorg.org W-47.comwith float like someone already explained to you above or:
Code:<div style="text-align:center;">move text to center</div> <div style="text-align:left;">move text to left</div> <div style="text-align:right;">move text to right</div>
LE with your pr2 site? <a href="http://tastro.org/">Tastro.org</a> or link exchance with our category page: <a href="http://tastro.org/i/hdtv">HDTV</a> | <a href="http://tastro.org/i/dvdrip">DVDRip</a> | <a href="http://tastro.org/i/r5">R5</a> | <a href="http://tastro.org/i/bdrip">BDRip</a> | <a href="http://tastro.org/i/brrip">BRRip</a>
-
31st May 2011, 05:40 PM #8OPMemberWebsite's:
wrzscene.info watchfreetvseriesonline.comwell i dont need borders at all , i just need a line seperator inbetween and thats all, the reason is that there is a LOT of code that will be aligned on the left and right on that line and not just simple text so the simple it is the better it is to sort for me
please refer to the pic on top to view what i want, the above code you pasted although pretty good but doesnt show how to put a line separator
am sorry guys but am a beginner so bear with me if you get frustrated
-
31st May 2011, 05:55 PM #9ψ(`∇?)ψ
-
31st May 2011, 05:57 PM #10OPMemberWebsite's:
wrzscene.info watchfreetvseriesonline.comnever mind guys, found the solution and it was pretty simple in the end, here it is for those of you who might not know
Code:<div id="left" style="width:50%;float:left;background:green;">left</div> <div id="right" style="margin-left:50%;border-left:solid 1px black;background:red;">right</div>
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
echo this line in php
By hihotfile in forum Technical Help Desk SupportReplies: 9Last Post: 8th Oct 2012, 03:32 PM -
On line list
By Spooky in forum Feedback and SuggestionsReplies: 5Last Post: 13th Feb 2011, 12:16 PM -
(X)HTML, CSS slicing (6 years experience) | PSD to (X)HTML and CSS | Professional job
By Wamer in forum Completed TransactionsReplies: 8Last Post: 21st Jul 2010, 06:13 PM -
PRiVATE LiNE 0'Sec
By t00v in forum Completed TransactionsReplies: 0Last Post: 11th Oct 2009, 11:27 PM -
need help with this line
By nelly27 in forum vBulletinReplies: 12Last Post: 8th Oct 2008, 07:12 PM
themaLeecher - leech and manage...
Version 5.03 released. Open older version (or...