http://www.thenaturalcottage.com The main body is pushing the sidebar down below and the links are moving over 20 px but I can’t find where I have it wrong. The bug is in test.css under view source.
You haven’t floated the main body (#main) but i think it will cause some issues if you do.
It kind of depend on what it’s supposed to look like…and we haven’t seen that yet.
Offhand, I think some HTML restructuring is required.
The About US tab has what the page should look like. That page works right except for the weird thing that is now happening with the links.
There is a float left on the text on the main. Would that do it?
I must have changed one setting in the css to get this glitch. But I didn’t notice it when I did it until a few hours later. I am just a web development college student so some things I am still learning.
> There is a float left on the text on the main. Would that do it?
Yes, #main needs to float in order to have the sidebar float next to it, _unless_ you put the sidebar before #main in the html
No, it isn’t that setting in the main. Can’t seem to find what is wrong here.
@wolfcry911 is right. I think the quote just ended up going to far.
Your text alignment isn’t an issue. It’s the floating of the container (#main) that is causing the issue.
border-right: 1px solid rgb(152, 152, 152);
float: left; /* <
It also looks like it happened because you deleted the CSS file from the Home page. It’s on the about us page.
Yes that float wasn’t the issue. Still not sure what the issue was but I am switching the css file to the About Us Page stylesheet to fix the problem temporarily. Home page now works as planned.
the about us page has an additional ruleset for #main that contains a float: left;
Yes, but that works well on the page. Where do I click Solved at?
> Yes, but that works well on the page. Where do I click Solved at?
just edit the post u posted and ull get it
You must be logged in to reply to this topic.
*May or may not contain any actual "CSS" or "Tricks".