0

im having trouble with aligning menu divisions

<div id="dvMenu"> <div class="Menu"> home this is the home div </div> <div class="Menu" align="left" > About you can contact us </div> <div class="Menu" align="right" > Contact Us by email address also </div> </div> i want these div to be align right next to each other but its not working. CSS for it............... #dvMenu { background-color:darkolivegreen; border: 2px; } .Menu{ width:33%; float:left; } .class{ width: 33%; float:left; } can anyone correct me here

3rd Oct 2017, 5:13 PM
Noman Noor Ali Shah
Noman Noor Ali Shah - avatar
5 odpowiedzi
+ 1
Hi Noman, why don't you use the a table to align them? By the way, you use three times the same class name "Menu". This won't work correctly.
9th Oct 2017, 1:10 PM
Quentin Ladeuix
+ 1
I did code is better now thank you for your advice Quentin
10th Oct 2017, 11:04 PM
Noman Noor Ali Shah
Noman Noor Ali Shah - avatar
+ 1
Great to hear that! You're welcome!
11th Oct 2017, 8:17 AM
Quentin Ladeuix
0
yeah thanks for I should change it asap .
9th Oct 2017, 4:35 PM
Noman Noor Ali Shah
Noman Noor Ali Shah - avatar
0
Please let me know if you can figure out the issue. 😉
10th Oct 2017, 2:16 PM
Quentin Ladeuix