After. PHP is server side, i.e. gets done on the server, CSS is client side (provided it's passed as css).
Well… the title says everything: Does CSS load after PHP (I think so)?
because: My problem is that I want to create a site, which is build by seperate modules (like header, content and footer). The index-site loads (with php) the seperate modules. (I think WP makes it too) And it also includes the css file. Now my problem ist, that I can only edit the content of the index-site with this css-file, but nothing else (footer, content, header).
Is it my failure or is it just impossible and if not what did I wrong?
the site I want to style: Schulphysik
My Homepage: http://nicoeinsidler.bplaced.net/ (under construction)
once Skitch addicted, now TinyGrab addicted!
After. PHP is server side, i.e. gets done on the server, CSS is client side (provided it's passed as css).
I'm not 100% sure what you want to do, but your CSS isn't working as you have used ul#navi which in your case isn't valis as navi isn't mentioned anywhere.
Remove the references to navi in your CSS file: e.g.
ul {
padding:0px;
margin:0px;
}
ul li {
display:inline;
}
thank you! it works!
…but when do I can write ehingsl like ul#navi ?
My Homepage: http://nicoeinsidler.bplaced.net/ (under construction)
once Skitch addicted, now TinyGrab addicted!
To write ul#navi you would need to have the corresponding <ul id="navi">
Have a look at point 3 here - 20 Useful CSS Tips For Beginners | How-To
My Homepage: http://nicoeinsidler.bplaced.net/ (under construction)
once Skitch addicted, now TinyGrab addicted!
Check the forum often for the latest design announcements. Everything from graphic design and web design, to films and music. Estetica is a great place for people to get together and help each other out.
Bookmarks