Hey, I'm making a website, and have some css to put two divs next to each other. This is my css and HTML code : [CODE].class1 { float:left; border-right:2px solid #000; } .class2 { float:right; } .class3 { clear:both; }[/CODE] HTML : [CODE] <div class="class1"> Div 1 </div> <div class="class2"> Div 2 </div> <div class="class3"> <!-- I'm working in a container div. --> </div> [/CODE] At the moment it comes out like this : [CODE] Div1 | Div 2 [/CODE] but I want to make it like this : [CODE] Div 1 | Div 2 [/CODE] Any ideas how to …

Member Avatar
Member Avatar
+0 forum 8

I am trying to align some text vertically with an image next to it, as in: [http://204.10.65.195/get_involved.php](http://204.10.65.195/get_involved.php) On the bottom half of the page, you can see that I have a bunch of images, each one with some text next to it. I want the text to appear in the middle of each icon, not on the top, as it is now. I tried putting vertical-align:middle on the text, put it didnt work. What is the correct way of doing this?

Member Avatar
Member Avatar
+0 forum 2

The End.