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?
Positioning problems. Fixed positioned ads on either side of a webpage.
First, let me say that I am still learning CSS. I only just dove into this 3 weeks ago so please excuse me if this is a basic fix.
I am working on a site that has to have fixed positioned ads on either side of the page (the goal is to have the ads float with you as you scroll). The problem is, (other than IE not even coming close to rendering it correctly) when you resize the browser or view it from a smaller screen the ads either cover the main content or float off to the left.
css math doesn't add up
hi all, I've finally decided to get serious about css. I often have issues that cause me to pull my hair off. I have a wrapper that's 870px. inside, I have a sidebar that is 180px, then a main container that is 690px. if I do the math 180px + 690px, that's exactly 870px but when I do, the main container gets pushed to the bottom. I only solve this by removing one pixel, that is 689px for the container to line up. how do you explain that? any assistance will be appreciated. thanks.
souleye
Problem with labels and positions
Hello,
For my website, I have two labels, one for the logo and the other for the connection area.
For the moment, the area is under the logo. And I want the logo at the left, and the area at the right.
Here is my CSS code :
/*****************************************************/ /****General****/ * { margin:0px; padding:0px; } body { background:#FFFFFF; padding-left:0%; padding-right:0%; font-family:Arial, Geneva, sans-serif; } a { text-decoration:none; color:#333333; } a:hover { color:#000000; } img, table, tr, td { border:0px; } h1 {
css 3 level drop down menu
Hi
I have a problem with the 3rd level of a css drop down menu. The when the 3rd level is shown by hovering on the 2nd level list, the 2nd level list is distorted. Also I cannot get the 3rd level list to the correctly aligned vertically. See image:

Here is the code, I have tried everything I can think of, I assume it a stupid mistake I cannot see.
.topmenu { background-image: url(img/navBar.png); background-position: center; background-repeat: repeat-x;