Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
chriskhan2000
Aged Yak Warrior
544 Posts |
Posted - 2005-02-16 : 17:26:13
|
This is probably very easy and stupid, but I need a little help. I'm trying to have to have a left and right align using a <div></div>. I can't seem to get it in the same line. Here's the output I'm trying to get:Access Policy-------------------------------------------Copyrights.Here's the code, but it just puts one above the other:<div class=footer align=left>Access Policy</div><div class=footer align=right>Copytrights</div>Please advise. |
|
jsmith8858
Dr. Cross Join
7423 Posts |
Posted - 2005-02-16 : 17:42:59
|
I think yyou are better off with a table; something like:<TABLE width="100%" border=0><TD align=left>Access Policy</TD><TD align=right>Copyrights</td></TABLE>- Jeff |
 |
|
MichaelP
Jedi Yak
2489 Posts |
Posted - 2005-02-16 : 18:44:24
|
Table is the way to do this, but your DIV code worked on my end.Maybe there's something in the footer class that's overriding the left and right align?Michael<Yoda>Use the Search page you must. Find the answer you will.</Yoda> |
 |
|
jsmith8858
Dr. Cross Join
7423 Posts |
Posted - 2005-02-16 : 19:33:27
|
I don't think DIV works quite right, though, as he mentioned: the issue is the headings are on separate lines.Maybe a YODA tag is what he needs! - Jeff |
 |
|
DustinMichaels
Constraint Violating Yak Guru
464 Posts |
Posted - 2005-02-16 : 20:56:11
|
Try putting a float style on the div.Perhaps this will work for you.div#AccessPolicy { float: left; }div#Copyright { float: right; }You will need to assign the appropriate id's on the divs though (or access them a different way in your style sheet).Dustin Michaels |
 |
|
MichaelP
Jedi Yak
2489 Posts |
Posted - 2005-02-16 : 21:36:00
|
<Yoda>Read the full content of the post, I must. Look like @$$ I will if I dont.</Yoda>Michael<Yoda>Use the Search page you must. Find the answer you will.</Yoda> |
 |
|
|
|
|