0

Using <div> tag for text on right side of screen.

How would you use <div> tag to create text on the right side of the page beside text aligned to the left. Where would I place the code to make it work?

23rd Sep 2016, 10:33 PM
Brent Mason
Brent Mason - avatar
1 Réponse
0
Your div CSS: #mydiv { float:right; display:block; } I can't imagine how your code is right now, but, if this does not work, put the text into a new div with display:block; and width:100%; Put the HTML code after your text code.
23rd Sep 2016, 11:19 PM
Scotti
Scotti - avatar