CSS Problem – Code Does Not Overlap?
-
Hi,
I am having weird problems with CSS. So I’m starting my template from scratch. Eveyrthing looks great in the test HTML file I made but when I copy everything exactly into WordPress I get quirky things if I split it into an index, header and footer file.
I put my css into a plain style.css file:
#nav_menu {
position: relative;
top: -4;border-width: 1px 0px 1px 1px;
border-style: solid;
border-color: #AAAAAA;background-color: #555555;
}For example, the code above is applied like this:
(Table 1)
(Table 2: Nav Menu)
(Table 1 continues)However, when I put the code into PHP it doesn’t make the table float. Also, any other top/left movement I do with text etc does not show up. If I stick the CSS code onto the same page as the php, the aligning works for my title, subtitle etc but still no go for the table.
Is there something wrong with the purposefully overlapping code above? Or am I doing smth wrong? Thanks!
- The topic ‘CSS Problem – Code Does Not Overlap?’ is closed to new replies.