problem laying out forms, especially radio buttons
Hi, I'm new to HTML and CSS and am putting together a webpage about making websites as part of my first assignment for a web design course.
I'm having lots of trouble making my forum look tidy. I cannot get the radio buttons to line up side by side. I want it to look something like this:
Gender 0 Female 0 Male
My text area is also not aligning with the other input fields.
I have attached a link to my website folder if anyone cares to have a look. The files in question are formpage.html and form.css
2 pages, exact same CSS why the difference
(these pages appear fine in firefox but Chrome has issues)
They both have the exact same css file, nav.css
The troublesome CSS property is below. It's delivered to both pages but renders differently. I'm tearing my hair out here trying to figure it out!
#subnav ul {
padding: 3px 0 0 0;
background-color:#ff3333;
height: 17px;
}
Can anyone suggest that whether it's a properly nested css code or not?
NO. 1
ul {
list-style-type: circle;
}
ul li ul {
list-style-type: disc;
}
NO. 2
ol {
list-style-type: decimal;
}
ol li ol {
list-style-type: lower-roman;
}
You all have been in this field for a long time and I am sure, i'll be guided properly.
Thanks,
Smitap.
Text allign in a cell
Hi, I'm not a beginner, but I have a question that I am a bit ashamed of. :
I'm having a cell, containing multiple html tags:
<td> <h2>Personal info</h2> <p>First name:</p><?php echo $firstname; ?> <p>Last name:</p><?php echo $lastname; ?> <a href="#">Click to change your info</a>
I want everything to be aligned on top of the cell, but I want the anchor tag on the bottom of the cell. How can I do that?
Inherent CSS
Im very new to CSS so I apologize if this is a dumb question...
Is there any inherent CSS classes?
For example, I am trying to make some minor edits to my wordpress theme. All of the featured pictures on my front page are contained within a div class="wrap" and at the end of each featured picture there is a div class="clear". I have looked up both and there is no defined .wrap or .clear. I have been looking everywhere in the editor section of my wordpress site but havent found anything.