Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

dingdongbubble

macrumors 6502a
Original poster
Jun 1, 2007
538
0
OK I have been learning HTML and CSS. I was practicing. I had a form and I applied CSS to it. I have a form on the practice page which doesnt want to comply with my CSS. I have attached a copy of the HTML and CSS. Please tell me how I can get the form to stick right next to the two boxes on top.
 
OOOPs again thats the second time I forgot attaching. GRRRR THanks for reminding me!
 

Attachments

  • Archive.zip
    1.8 KB · Views: 116
ok um my 'puter is a little stuffed right now so im just viewing the source from safari, and straight away i can tell you that your markup needs fixing before you touch the CSS.

you're closing tags inside children of themselves and putting <br>s everywhere. fix that stuff first (there may be other stuff.. run it through the validator), then see what your css does
 
OK I cleaned up quite a bit of the HTML thanks to TExtmate. But the confounded form isnt listening still.

Secondly why should I not use <br> tags? Are they bad? How do I space out when I want to?

CURSES

I forgot to attrach again!
 

Attachments

  • HTML Basics.html.zip
    1.2 KB · Views: 106
YAY

I got it. I had to add another div tag under the div tag I already had. I had put in a child div tag under another div tag so I needed to define the child div tag as wel in CSS. Now I have gotten what I wanted!:D

Thanks That marks the end of this topic.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.